Where is the complete list of system properties?
I'm looking for a system property that contains the ant.lib path? I'm
tryting to test with junit and I need to include optional.jar in
my classpath without having to hard code it. Seems like it should
already be somewhere since the javac task found it ok:
<target name="test" depends="dist">
<junit printsummary="yes" fork="yes" >
<classpath>
<pathelement location="${jarfile}"/>
</classpath>
<formatter type="plain"/>
<test name="com.mypackage.server.UDPListenerTestSuite"
outfile="src\com\mypackage\server\test_results"
/>
</junit>
</target>
----------------
test:
[junit] Running com.michaelstarkie.server.UDPListenerTestSuite
[junit] java.lang.NoClassDefFoundError:
org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner
[junit] TEST com.michaelstarkie.server.UDPListenerTestSuite FAILED
BUILD SUCCESSFUL
------------------------------------------------------------
--== Sent via Deja.com ==--
http://www.deja.com/