<conditionelse=""property="jar.usage.message"value="To run this application from the command line without Ant, try:${line.separator}${platform.java}${jar.usage.message.module.path}${jar.usage.message.class.path}${jar.usage.message.main.class}">
<targetdepends="profile-init,compile"description="Profile a project in the IDE."if="profiler.info.jvmargs.agent"name="-profile-pre72">
<failunless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<nbprofiledirect>
<classpath>
<pathpath="${run.classpath}"/>
</classpath>
</nbprofiledirect>
<profile/>
</target>
<targetdepends="profile-init,compile-single"description="Profile a selected class in the IDE."if="profiler.info.jvmargs.agent"name="-profile-single-pre72">
<failunless="profile.class">Must select one file in the IDE or set profile.class</fail>
<failunless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>
<targetdepends="-profile-check,-profile-pre72"description="Profile a project in the IDE."if="profiler.configured"name="profile"unless="profiler.info.jvmargs.agent">
<startprofiler/>
<antcalltarget="run"/>
</target>
<targetdepends="-profile-check,-profile-single-pre72"description="Profile a selected class in the IDE."if="profiler.configured"name="profile-single"unless="profiler.info.jvmargs.agent">
<failunless="run.class">Must select one file in the IDE or set run.class</fail>
<startprofiler/>
<antcalltarget="run-single"/>
</target>
<targetdepends="-profile-test-single-pre72"description="Profile a selected test in the IDE."name="profile-test-single"/>
<targetdepends="-profile-check"description="Profile a selected test in the IDE."if="profiler.configured"name="profile-test"unless="profiler.info.jvmargs">
<failunless="test.includes">Must select some files in the IDE or set test.includes</fail>
<startprofiler/>
<antcalltarget="test-single"/>
</target>
<targetdepends="-profile-check"description="Profile a selected class in the IDE."if="profiler.configured"name="profile-test-with-main">
<failunless="run.class">Must select one file in the IDE or set run.class</fail>
<failif="tests.failed"unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<targetdepends="init,compile-test-single,-init-test-run-module-properties,-pre-test-run-single,-do-test-run-single,-post-test-run-single"description="Run single unit test."name="test-single"/>
<failif="tests.failed"unless="ignore.failing.tests">Some tests failed; see details above.</fail>
</target>
<targetdepends="init,compile-test-single,-init-test-run-module-properties,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method"description="Run single unit test."name="test-single-method"/>