Based on the issue you have to patch ant or used javascript:
<target name="test">
<script language="javascript">
project.setNewProperty("current_target", self.getOwningTarget());
</script>
<echo>${current_target}</echo>
</target>
More Related Contents:
- Ant to Maven – multiple build targets
- How in ant use "<" in text?
- how to publish 3rdparty artifacts with ivy and nexus
- Create cross platform Java SWT Application
- good ivy tutorial for local repository? [closed]
- comparing databases and generating sql script using liquibase
- How do I use Nant/Ant naming patterns?
- Ivy, what is the master configuration and why is it not pulling jvyaml?
- Generate manifest class-path from in Ant
- Make ant quiet without the -q flag?
- integrating JaCoCo in sonar using Ant
- Ant – how to get all files’ name in a specific folder
- How to include ant-contrib.jar dynamically in Ant
- Ant, download fileset from remote machine
- Using ant to detect os and set property
- CreateProcess error=206, The filename or extension is too long
- How to pull out a substring in Ant
- How to load an optional task into ant without -lib or global installation?
- How to create a signed APK file using Cordova command line interface?
- Can I create links with ‘target=”_blank”‘ in Markdown?
- Creating a bundle jar with ant
- Custom JUnit Report?
- error: option -Xbootclasspath/p: not allowed with target 12 (Netbeans 11.0)
- Ivy fails to resolve a dependency, unable to find cause
- Error executing command ‘ant’ on Mac OS X 10.9 Mavericks when building for Android with PhoneGap/Cordova
- Add preprocessor macro to a target in xcode 6
- How do I reference external jar files in a common directory (not libs) to build android project using ant?
- how to create a bundled runnable jar using Ant
- Create jfreechart-1.5.3 JAR from source code
- Why is Ant giving me a Unsupported major.minor version error