Changeset 275 for trunk/JavaCommons/build.xml
- Timestamp:
- 12/05/11 16:04:47 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaCommons/build.xml
r272 r275 96 96 <path id="JFCMonitor.classpath" /> 97 97 98 <!-- JUnit Test General Properties --> 99 100 <property name="test.location.results" value="test-results" /> 101 <path id="JUnit.classpath"> 102 <pathelement location="lib-test/junit-4.10.jar" /> 103 <pathelement location="lib-test/junit-addons-1.4.jar" /> 104 </path> 105 106 <!-- JUnit Test EventBenchCore Properties --> 107 <property name="test.location.eventbenchcore" value="${build.location}/eventbenchcore-test" /> 108 <property name="EventBenchCoreTest.location" value="../EventBenchCoreTest" /> 109 <property name="test.eventbenchcore.main-class" value="de.ugoe.cs.eventbench.TestAll" /> 110 <property name="test.eventbenchcore.results" value="${test.location.results}/eventbenchcore" /> 111 <path id="EventBenchCoreTest.classpath"> 112 <pathelement location="${test.location.eventbenchcore}" /> 113 <path refid="EventBenchCore.classpath" /> 114 <path refid="JUnit.classpath" /> 115 </path> 116 117 <!-- JUnit Test JavaHelperLib Properties --> 118 <property name="test.location.javahelperlib" value="${build.location}/javahelperlib-test" /> 119 <property name="JavaHelperLibTest.location" value="../JavaHelperLibTest" /> 120 <property name="test.javahelperlib.main-class" value="de.ugoe.cs.util.TestAll" /> 121 <property name="test.javahelperlib.results" value="${test.location.results}/javahelperlib" /> 122 <path id="JavaHelperLibTest.classpath"> 123 <pathelement location="${test.location.javahelperlib}" /> 124 <path refid="JavaHelperLib.classpath" /> 125 <path refid="JUnit.classpath" /> 126 </path> 127 98 128 <!-- Initialization Targets --> 99 129 <target name="init.build"> … … 164 194 </javac> 165 195 </target> 166 196 167 197 <!-- Distribution Targets --> 168 198 <target depends="build,init.dist,javadoc" name="dist"> … … 229 259 </copy> 230 260 </target> 231 261 232 262 <!-- Javadoc Targets --> 233 263 <target name="javadoc" description="o Create Javadocs (Requires Javadoc 1.4+)"> … … 264 294 </javadoc> 265 295 </target> 296 297 <!-- JUnit Targets --> 298 <target depends="init.build" name="init.junit"> 299 <mkdir dir="${test.location.results}" /> 300 </target> 301 <target depends="init.junit" name="init.eventbenchcore-test"> 302 <mkdir dir="${test.location.eventbenchcore}" /> 303 </target> 304 <target depends="init.junit" name="init.javahelperlib-test"> 305 <mkdir dir="${test.location.javahelperlib}" /> 306 </target> 307 308 <target depends="init.eventbenchcore-test" name="build.eventbenchcore-test"> 309 <javac debug="true" debuglevel="${debuglevel}" destdir="${test.location.eventbenchcore}" 310 source="${source}" target="${target}" includeantruntime="false"> 311 <src path="${EventBenchCoreTest.location}/src" /> 312 <classpath refid="EventBenchCoreTest.classpath" /> 313 </javac> 314 </target> 315 <target depends="init.javahelperlib-test" name="build.javahelperlib-test"> 316 <javac debug="true" debuglevel="${debuglevel}" destdir="${test.location.javahelperlib}" 317 source="${source}" target="${target}" includeantruntime="false"> 318 <src path="${JavaHelperLibTest.location}/src" /> 319 <classpath refid="JavaHelperLibTest.classpath" /> 320 </javac> 321 </target> 322 323 <target depends="build.eventbenchcore,build.eventbenchcore-test" 324 name="junit.eventbenchcore"> 325 <junit fork="on" printsummary="yes" haltonfailure="no"> 326 <classpath refid="EventBenchCoreTest.classpath" /> 327 <test name="${test.eventbenchcore.main-class}" haltonfailure="no" 328 outfile="${test.eventbenchcore.results}"> 329 <formatter type="xml" /> 330 </test> 331 </junit> 332 </target> 333 <target depends="build.javahelperlib,build.javahelperlib-test" 334 name="junit.javahelperlib"> 335 <junit fork="on" printsummary="yes" haltonfailure="no"> 336 <classpath refid="JavaHelperLibTest.classpath" /> 337 <test name="${test.javahelperlib.main-class}" haltonfailure="no" 338 outfile="${test.javahelperlib.results}"> 339 <formatter type="xml" /> 340 </test> 341 </junit> 342 </target> 343 344 <target depends="junit.eventbenchcore,junit.javahelperlib" name="junit" /> 345 346 <target depends="dist,junit" name="distAndTest" /> 266 347 </project>
Note: See TracChangeset
for help on using the changeset viewer.