Changeset 32306 in osm for applications/editors/josm/plugins/build-common.xml
- Timestamp:
- 2016-06-18T03:37:43+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/build-common.xml
r32188 r32306 430 430 </sequential> 431 431 </macrodef> 432 <target name="test-init"> 432 <target name="check-test"> 433 <available file="${plugin.test.dir}" type="dir" property="test.present"/> 434 </target> 435 <target name="test-init" depends="check-test" if="test.present"> 433 436 <mkdir dir="${plugin.test.dir}/build"/> 434 437 <mkdir dir="${plugin.test.dir}/build/unit"/> … … 443 446 <delete dir="${plugin.test.dir}/config/unit-josm.home/cache" failonerror="false"/> 444 447 </target> 445 <target name="test-compile" depends="test-init,dist" >448 <target name="test-compile" depends="test-init,dist" if="test.present"> 446 449 <taskdef name="groovyc" classname="org.codehaus.groovy.ant.Groovyc" classpath="${groovy.jar}"/> 447 450 <sequential> … … 458 461 </sequential> 459 462 </target> 460 <target name="test" depends="dist, test-clean, test-compile" 463 <target name="test" depends="dist, test-clean, test-compile" if="test.present" 461 464 description="Run unit tests. OSM API (TEST) account shall be set with -Dosm.username and -Dosm.password"> 462 465 <taskdef uri="antlib:org.jacoco.ant" resource="org/jacoco/ant/antlib.xml" classpath="../00_core_tools/jacocoant.jar" />
Note:
See TracChangeset
for help on using the changeset viewer.