Fixes run-xx targets.

This commit is contained in:
paweldomas 2014-02-13 08:51:31 +00:00
parent 9eb8f7ec0a
commit 2483f4dec8

View File

@ -46,7 +46,7 @@
<compilerarg value="-Xlint"/> <compilerarg value="-Xlint"/>
</javac> </javac>
</target> </target>
<target name="compile-test" depends="init"> <target name="compile-test">
<javac classpathref="test.class.path" <javac classpathref="test.class.path"
debug="true" debug="true"
deprecation="true" deprecation="true"
@ -113,7 +113,7 @@
</target> </target>
<!-- make everything --> <!-- make everything -->
<target name="make" depends="compile,resource,jar"/> <target name="make" depends="compile,resource,jar,compile-test"/>
<!-- clean and make everything --> <!-- clean and make everything -->
<target name="rebuild" depends="clean,make" /> <target name="rebuild" depends="clean,make" />
@ -153,7 +153,7 @@
</target> </target>
<!-- Run the tests--> <!-- Run the tests-->
<target name="test" depends="compile-test"> <target name="test">
<junit haltonfailure="true" fork="true" forkmode="once"> <junit haltonfailure="true" fork="true" forkmode="once">
<formatter type="xml"/> <formatter type="xml"/>
<formatter type="brief" usefile="false"/> <formatter type="brief" usefile="false"/>
@ -180,7 +180,7 @@
<target name="run-sample"> <target name="run-sample">
<java fork="true" <java fork="true"
classname="test.Ice" classname="test.Ice"
classpathref="project.class.path"> classpathref="test.class.path">
<!-- Tell java.util.logging about our logging preferences --> <!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file" <sysproperty key="java.util.logging.config.file"
@ -189,10 +189,10 @@
</target> </target>
<!-- Run pseudotcp sample application --> <!-- Run pseudotcp sample application -->
<target name="run-pseudotcp" depends="compile"> <target name="run-pseudotcp">
<java fork="true" <java fork="true"
classname="test.IcePseudoTcp" classname="test.IcePseudoTcp"
classpathref="project.class.path"> classpathref="test.class.path">
<!-- Tell java.util.logging about our logging preferences --> <!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file" <sysproperty key="java.util.logging.config.file"
@ -200,10 +200,10 @@
</java> </java>
</target> </target>
<!-- Debug pseudotcp example on port 5005 --> <!-- Debug pseudotcp example on port 5005 -->
<target name="debug-pseudotcp" depends="compile"> <target name="debug-pseudotcp">
<java fork="true" <java fork="true"
classname="test.IcePseudoTcp" classname="test.IcePseudoTcp"
classpathref="project.class.path"> classpathref="test.class.path">
<!-- Tell java.util.logging about our logging preferences --> <!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file" <sysproperty key="java.util.logging.config.file"
@ -214,9 +214,9 @@
</target> </target>
<!-- Debug pseudotcp example with netbeans --> <!-- Debug pseudotcp example with netbeans -->
<target name="nb-debug-pseudotcp" depends="compile"> <target name="nb-debug-pseudotcp">
<nbjpdastart addressproperty="jpda.address" name="ice4j" transport="dt_socket"> <nbjpdastart addressproperty="jpda.address" name="ice4j" transport="dt_socket">
<classpath refid="project.class.path"/> <classpath refid="test.class.path"/>
</nbjpdastart> </nbjpdastart>
<java classname="test.IcePseudoTcp" fork="true"> <java classname="test.IcePseudoTcp" fork="true">
<classpath refid="project.class.path"/> <classpath refid="project.class.path"/>
@ -234,7 +234,7 @@
<target name="run-dist"> <target name="run-dist">
<java fork="true" <java fork="true"
classname="test.IceDistributed" classname="test.IceDistributed"
classpathref="project.class.path"> classpathref="test.class.path">
<!-- Tell java.util.logging about our logging preferences --> <!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file" <sysproperty key="java.util.logging.config.file"
@ -246,7 +246,7 @@
<target name="run-trickle"> <target name="run-trickle">
<java fork="true" <java fork="true"
classname="test.TrickleIce" classname="test.TrickleIce"
classpathref="project.class.path"> classpathref="test.class.path">
<!-- Tell java.util.logging about our logging preferences --> <!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file" <sysproperty key="java.util.logging.config.file"
@ -258,7 +258,7 @@
<target name="run-lite"> <target name="run-lite">
<java fork="true" <java fork="true"
classname="test.IceLite" classname="test.IceLite"
classpathref="project.class.path"> classpathref="test.class.path">
<!-- Tell java.util.logging about our logging preferences --> <!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file" <sysproperty key="java.util.logging.config.file"