--- /dev/null
+set CLASSPATH=%CLASSPATH%;%1
+
set ANT_HOME=tools\ant
set OLD_CLASSPATH=%CLASSPATH%
-set CLASSPATH=tools\centipede\lib\xml-apis.jar;tools\centipede\lib\xerces.jar;tools\centipede\lib\xalan.jar;tools\centipede\lib\junit.jar;tools\centipede\lib\jIzPress.jar;tools\centipede\lib\jtidy.jar
+for %%i in (.\lib\endorsed\*.jar) do call appendcp.bat %%i
+for %%i in (.\tools\centipede\lib\*.jar) do call appendcp.bat %%i
call %ANT_HOME%\bin\ant -listener org.apache.tools.ant.XmlLogger %1 %2 %3 %4 %5 %6 %7 %8 %9
set ANT_HOME=%OLD_ANT_HOME%
-set CLASSPATH=%OLD_CLASSPATH%
-
+set CLASSPATH=%OLD_CLASSPATH%
\ No newline at end of file
#!/bin/sh
+# ----- Verify and Set Required Environment Variables -------------------------
+
+if [ "$JAVA_HOME" = "" ] ; then
+ echo You must set JAVA_HOME to point at your Java Development Kit installation
+ exit 1
+fi
chmod u+x ./tools/ant/bin/antRun
chmod u+x ./tools/ant/bin/ant
+# ----- Verify and Set Required Environment Variables -------------------------
+
+if [ "$TERM" = "cygwin" ] ; then
+ S=';'
+else
+ S=':'
+fi
+
+# ----- Set Up The Runtime Classpath ------------------------------------------
OLD_ANT_HOME=$ANT_HOME
unset ANT_HOME
export CP
unset CLASSPATH
-CLASSPATH="./tools/centipede/lib/xml-apis.jar:./tools/centipede/lib/xerces.jar:./tools/centipede/lib/xalan.jar:./tools/centipede/lib/junit.jar:./tools/centipede/lib/jIzPress.jar:./tools/centipede/lib/jtidy.jar"
+CLASSPATH="`echo ./lib/endorsed/*.jar | tr ' ' $S``echo ./tools/centipede/lib/*.jar | tr ' ' $S`"
export CLASSPATH
$PWD/./tools/ant/bin/ant -listener org.apache.tools.ant.XmlLogger $@
<!-- =================================================================== -->
<!-- ================== Krysalis Centipede targets =================== -->
-<!ENTITY preinit-target SYSTEM "./tools/centipede/targets/preinit.xtarget">
-<!ENTITY init-target SYSTEM "./tools/centipede/targets/init.xtarget">
-<!ENTITY compile-target SYSTEM "./tools/centipede/targets/compile.xtarget">
-<!ENTITY util-target SYSTEM "./tools/centipede/targets/util.xtarget">
-<!ENTITY dev-target SYSTEM "./tools/centipede/targets/dev.xtarget">
-<!ENTITY test-target SYSTEM "./tools/centipede/targets/test.xtarget">
-<!ENTITY robot-target SYSTEM "./tools/centipede/targets/robot.xtarget">
-<!ENTITY docs-target SYSTEM "./tools/centipede/targets/docs.xtarget">
+<!ENTITY preinit-target SYSTEM "./tools/centipede/targets/preinit.xtarget">
+<!ENTITY init-target SYSTEM "./tools/centipede/targets/init.xtarget">
+<!ENTITY compile-target SYSTEM "./tools/centipede/targets/compile.xtarget">
+<!ENTITY util-target SYSTEM "./tools/centipede/targets/util.xtarget">
+<!ENTITY dev-target SYSTEM "./tools/centipede/targets/dev.xtarget">
+<!ENTITY test-target SYSTEM "./tools/centipede/targets/test.xtarget">
+<!ENTITY robot-target SYSTEM "./tools/centipede/targets/robot.xtarget">
+<!ENTITY docs-target SYSTEM "./tools/centipede/targets/docs.xtarget">
<!-- =================================================================== -->
]>
<!-- =================================================================== -->
<!-- Documentation targets --> &docs-target;
<!-- =================================================================== -->
-
+
</project>
<!-- End of file -->
+++ /dev/null
-xalan-2.2.0.jar
-xerces-2.0.0.jar
-junit-3.7.jar
\ No newline at end of file
<!-- Indentify Classpath -->
<!-- =================================================================== -->
<path id="centipede.classpath">
+ <fileset dir="./lib/endorsed">
+ <include name="*.jar"/>
+ </fileset>
<fileset dir="./tools/centipede/lib">
<include name="*.jar"/>
</fileset>
</path>
<path id="classpath">
+ <fileset dir="./lib/endorsed">
+ <include name="*.jar"/>
+ </fileset>
<fileset dir="./lib/core">
<include name="*.jar"/>
</fileset>
</path>
<path id="examples.classpath">
+ <fileset dir="./lib/endorsed">
+ <include name="*.jar"/>
+ </fileset>
<!-- FIXME : how to build a path that references a property set in 'init' target ? -->
<pathelement path="./build/jakarta-poi/classes"/>
</path>
<path id="scratchpad.classpath">
+ <fileset dir="./lib/endorsed">
+ <include name="*.jar"/>
+ </fileset>
<fileset dir="./lib/core">
<include name="*.jar"/>
</fileset>
</path>
<path id="contrib.classpath">
+ <fileset dir="./lib/endorsed">
+ <include name="*.jar"/>
+ </fileset>
<fileset dir="./lib/core">
<include name="*.jar"/>
</fileset>