Skip to content

Commit

Permalink
Stops the ant-contrib library being downloaded to invalid locations
Browse files Browse the repository at this point in the history
* On occasion the ant-contrib library can get downloaded to
  ${ant.library.dir} when this property has no value. Avoid this by
  just checking on the value of this property prior to downloading
  • Loading branch information
Paul Richardson authored and blafond committed Oct 24, 2014
1 parent 004a6b9 commit f637587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-common.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
of the eclipse installation,
eg. /opt/eclipse/plugins/org.apache.ant_1.8.4.v201303080030/lib/
-->
<target name="download-ant-contrib" unless="ant-contrib-exists">
<target name="download-ant-contrib" if="ant.library.dir" unless="ant-contrib-exists">
<echo message="Downloading ant-contrib library"/>

<!-- Create the ant lib directory if not already exists -->
Expand Down

0 comments on commit f637587

Please sign in to comment.