Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

build.bat 3.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. @echo off
  2. echo Fop Build System
  3. echo ----------------
  4. if "%JAVA_HOME%" == "" goto error
  5. set LIBDIR=lib
  6. set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip
  7. set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant.jar
  8. set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
  9. set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
  10. set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
  11. set ANT_HOME=%LIBDIR%
  12. echo Building with classpath %LOCALCLASSPATH%
  13. echo Starting Ant...
  14. %JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
  15. goto end
  16. :error
  17. echo ERROR: JAVA_HOME not found in your environment.
  18. echo Please, set the JAVA_HOME variable in your environment to match the
  19. echo location of the Java Virtual Machine you want to use.
  20. :end
  21. rem set LOCALCLASSPATH=
  22. pause;
  23. rem $Id$
  24. rem ============================================================================
  25. rem The Apache Software License, Version 1.1
  26. rem ============================================================================
  27. rem
  28. rem Copyright (C) 1999-2003 The Apache Software Foundation. All rights reserved.
  29. rem
  30. rem Redistribution and use in source and binary forms, with or without modifica-
  31. rem tion, are permitted provided that the following conditions are met:
  32. rem
  33. rem 1. Redistributions of source code must retain the above copyright notice,
  34. rem this list of conditions and the following disclaimer.
  35. rem
  36. rem 2. Redistributions in binary form must reproduce the above copyright notice,
  37. rem this list of conditions and the following disclaimer in the documentation
  38. rem and/or other materials provided with the distribution.
  39. rem
  40. rem 3. The end-user documentation included with the redistribution, if any, must
  41. rem include the following acknowledgment: "This product includes software
  42. rem developed by the Apache Software Foundation (http://www.apache.org/)."
  43. rem Alternately, this acknowledgment may appear in the software itself, if
  44. rem and wherever such third-party acknowledgments normally appear.
  45. rem
  46. rem 4. The names "FOP" and "Apache Software Foundation" must not be used to
  47. rem endorse or promote products derived from this software without prior
  48. rem written permission. For written permission, please contact
  49. rem apache@apache.org.
  50. rem
  51. rem 5. Products derived from this software may not be called "Apache", nor may
  52. rem "Apache" appear in their name, without prior written permission of the
  53. rem Apache Software Foundation.
  54. rem
  55. rem THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
  56. rem INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
  57. rem FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
  58. rem APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
  59. rem INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
  60. rem DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
  61. rem OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  62. rem ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  63. rem (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  64. rem THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  65. rem ============================================================================
  66. rem
  67. rem This software consists of voluntary contributions made by many individuals
  68. rem on behalf of the Apache Software Foundation and was originally created by
  69. rem James Tauber <jtauber@jtauber.com>. For more information on the Apache
  70. rem Software Foundation, please see <http://www.apache.org/>.