To give the same level of sophisticated control as Ant's startup
scripts on other platforms, it was decided to make the main ant
startup on NetWare be via a Perl Script, "runant.pl". This is found in
the bin directory (for instance - bootstrapbin
or dist
bin).
One important item of note is that you need to set up the following to run ant:
It is suggested that you create up an ant.ncf that sets up these parameters, and calls perl ANT_HOME/dist/bin/runant.pl
The following is an example of such an NCF file(assuming ant is installed in 'sys:/apache-ant/'):
envset CLASSPATH=SYS:/apache-ant/bootstrap/lib/ant.jar envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/lib/xercesImpl.jar envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/lib/xml-apis.jar envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/lib/optional/junit.jar envset CLASSPATH=$CLASSPATH;SYS:/apache-ant/bootstrap/lib/optional.jar setenv ANT_OPTS=-envCWD=sys:/apache-ant envset ANT_OPTS=-envCWD=sys:/apache-ant setenv ANT_HOME=sys:/apache-ant/dist/lib envset ANT_HOME=sys:/apache-ant/dist/lib perl sys:/apache-ant/dist/bin/runant.pl
Ant works on JVM version 1.3 or higher. You may have some luck running it on JVM 1.2, but serious problems have been found running Ant on JVM 1.1.7B. These problems are caused by JVM bugs that will not be fixed.
JVM 1.3 is supported on Novell NetWare versions 5.1 and higher.