- Timestamp:
- 2018-07-28T23:28:43+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r14052 r14065 457 457 <delete file="${test.dir}/config/performance-josm.home" failonerror="false"/> 458 458 </target> 459 <macrodef name="call- groovyc">459 <macrodef name="call-javac"> 460 460 <attribute name="testfamily"/> 461 461 <element name="cp-elements"/> 462 462 <sequential> 463 <groovyc srcdir="${test.dir}/@{testfamily}" destdir="${test.dir}/build/@{testfamily}" encoding="UTF-8"> 463 <javac srcdir="${test.dir}/@{testfamily}" destdir="${test.dir}/build/@{testfamily}" 464 target="${java.lang.version}" source="${java.lang.version}" debug="on" 465 includeantruntime="false" createMissingPackageInfoClass="false" encoding="UTF-8"> 466 <compilerarg value="-Xlint:all"/> 467 <compilerarg value="-Xlint:-serial"/> 464 468 <classpath> 465 469 <cp-elements/> 466 470 </classpath> 467 <javac target="${java.lang.version}" source="${java.lang.version}" debug="on" encoding="UTF-8"> 468 <compilerarg value="-Xlint:all"/> 469 <compilerarg value="-Xlint:-serial"/> 470 </javac> 471 </groovyc> 471 </javac> 472 472 </sequential> 473 473 </macrodef> 474 474 <target name="test-compile" depends="test-init,dist"> 475 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpath="${toString:groovy.classpath}"/> 476 <call-groovyc testfamily="unit"> 475 <call-javac testfamily="unit"> 477 476 <cp-elements> 478 477 <path refid="test.classpath"/> 479 478 </cp-elements> 480 </call- groovyc>481 <call- groovyc testfamily="functional">479 </call-javac> 480 <call-javac testfamily="functional"> 482 481 <cp-elements> 483 482 <path refid="test.classpath"/> 484 483 <pathelement path="${test.dir}/build/unit"/> 485 484 </cp-elements> 486 </call- groovyc>487 <call- groovyc testfamily="performance">485 </call-javac> 486 <call-javac testfamily="performance"> 488 487 <cp-elements> 489 488 <path refid="test.classpath"/> 490 489 <pathelement path="${test.dir}/build/unit"/> 491 490 </cp-elements> 492 </call- groovyc>491 </call-javac> 493 492 </target> 494 493 <macrodef name="call-junit">
Note:
See TracChangeset
for help on using the changeset viewer.