Created
December 17, 2011 21:56
-
-
Save fredgrott/1491527 to your computer and use it in GitHub Desktop.
path jar.libs.ref android builds
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- create a path with all the jar files, from the main project and the | |
libraries --> | |
<if> | |
<condition> | |
<isreference refid="project.libraries"/> | |
</condition> | |
<then> | |
<path id="jar.libs.ref"> | |
<fileset dir="${jar.libs.absolute.dir}" includes="*.jar" /> | |
<path refid="project.libraries.jars" /> | |
</path> | |
</then> | |
<else> | |
<path id="jar.libs.ref"> | |
<fileset dir="${jar.libs.absolute.dir}" includes="*.jar" /> | |
</path> | |
</else> | |
</if> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
cannot embed if statements in ant path stuff so reversed the order and logic to make it work