source: trunk/Distribution/SW/FOP/examples/embedding/build.bat

Last change on this file was 2, checked in by jkacer, 18 years ago

Added all DocBook Framework stuff:

  • DocBook DTD
  • Transformation software FOP 0.20.5 and Saxon 6
  • XSL styles
  • Rexx scripts

Also added some WarpIN-related stuff for creation of WarpIN installation packages.
This state corresponds to version 1.0.0 from November 2005, just slightly modified to carry versioning information (Rexx scripts).

File size: 876 bytes
Line 
1@echo off
2
3echo Fop Build System
4echo ----------------
5
6if "%JAVA_HOME%" == "" goto error
7
8set LIBDIR=../../lib
9set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip
10set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant-1.5.1.jar
11set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
12set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
13set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
14
15set ANT_HOME=%LIBDIR%
16
17echo Building with classpath %LOCALCLASSPATH%
18
19echo Starting Ant...
20
21%JAVA_HOME%\bin\java.exe -Dant.home=%ANT_HOME% -classpath "%LOCALCLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
22
23goto end
24
25:error
26
27echo ERROR: JAVA_HOME not found in your environment.
28echo Please, set the JAVA_HOME variable in your environment to match the
29echo location of the Java Virtual Machine you want to use.
30
31:end
32
33rem set LOCALCLASSPATH=
34
Note: See TracBrowser for help on using the repository browser.