set LIBDIR=lib
set LOCALCLASSPATH=%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\classes.zip
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant-1.5.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.0.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\ant-1.5.1.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\bsf.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
-set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
set ANT_HOME=%LIBDIR%
LOCALCLASSPATH=$LOCALCLASSPATH:$JAVA_HOME/lib/classes.zip
LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/ant-1.5.1.jar
LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xml-apis.jar
-LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.0.jar
+LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xercesImpl-2.2.1.jar
LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/xalan-2.4.1.jar
-LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/batik.jar
-LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/avalon-framework-cvs-20020806.jar
-LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/bsf.jar
-LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jimi-1.0.jar
-LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jai_core.jar
-LOCALCLASSPATH=$LOCALCLASSPATH:$LIBDIR/jai_codec.jar
# antRun must be executable (can't do this in build.xml because Ant uses antRun
# to do the chmod)
</fileset>
<fileset dir="${basedir}" id="dist.bin.lib">
- <include name="lib/xercesImpl-2.0.1.jar"/>
+ <include name="lib/xerces*.jar"/>
<include name="lib/xerces.LICENSE.txt"/>
<include name="lib/xml-apis.jar"/>
<include name="lib/xml-apis.README.txt"/>
- <include name="lib/xalan-2.3.1.jar"/>
+ <include name="lib/xalan*.jar"/>
<include name="lib/xalan.LICENSE.txt"/>
<include name="lib/batik.jar"/>
<include name="lib/batik.LICENSE.txt"/>
- <include name="lib/avalon-framework-cvs-20020806.jar"/>
+ <include name="lib/avalon-framework*.jar"/>
<include name="lib/avalon.LICENSE.txt"/>
<include name="lib/readme"/>
</fileset>
<!--include name="stylebook*.jar"/-->
<include name="xalan*.jar"/>
<include name="xerces*.jar"/>
- <include name="xml-apis*.jar"/>
+ <include name="xml-apis.jar"/>
+ <include name="avalon-framework*.jar"/>
+ <include name="batik*.jar"/>
+ <include name="jimi*.jar"/>
+ <include name="jai*.jar"/>
</fileset>
</path>
</target>
<target name="init-avail">
- <available property="jimi.present" classname="com.sun.jimi.core.Jimi"/>
- <available property="jai.present" classname="javax.media.jai.JAI"/>
+ <available property="jimi.present" classname="com.sun.jimi.core.Jimi" classpathref="libs-build-classpath"/>
+ <available property="jai.present" classname="javax.media.jai.JAI" classpathref="libs-build-classpath"/>
- <available property="trax.present" classname="javax.xml.transform.Transformer"/>
+ <available property="trax.present" classname="javax.xml.transform.Transformer" classpathref="libs-build-classpath"/>
<available property="jdk14.present" classname="java.lang.CharSequence"/>
</target>
debug="${debug}"
deprecation="${deprecation}"
optimize="${optimize}"
- excludes="**/*${ignore_this},${jimi}"/>
+ excludes="**/*${ignore_this},${jimi}">
+ <classpath refid="libs-build-classpath"/>
+ </javac>
</target>
<!-- =================================================================== -->
</path>
<taskdef name="serHyph" classname="org.apache.fop.tools.anttasks.SerializeHyphPattern" classpathref="hyph-classpath"/>
<serHyph includes="*.xml"
- sourceDir="./hyph"
+ sourceDir="${hyph.dir}"
targetDir="${build.dest}/hyph" />
</target>
-java -cp build\fop.jar;lib\batik.jar;lib\xalan-2.4.1.jar;lib\xercesImpl-2.2.0.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020806.jar;lib\logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
\ No newline at end of file
+@ECHO OFF
+
+set LIBDIR=lib
+set LOCALCLASSPATH=build/fop.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xml-apis.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xercesImpl-2.2.1.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\xalan-2.4.1.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\batik.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\avalon-framework-cvs-20020806.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\bsf.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jimi-1.0.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_core.jar
+set LOCALCLASSPATH=%LOCALCLASSPATH%;%LIBDIR%\jai_codec.jar
+java -cp %LOCALCLASSPATH% org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
\ No newline at end of file