ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r498554 - /ant/core/trunk/build.xml
Date Mon, 22 Jan 2007 07:37:54 GMT
Author: jhm
Date: Sun Jan 21 23:37:54 2007
New Revision: 498554

URL: http://svn.apache.org/viewvc?view=rev&rev=498554
Log:
Fail with a meaningful message.
Discussed on User-List: http://marc.theaimsgroup.com/?l=ant-user&m=116923425428838&w=2

Modified:
    ant/core/trunk/build.xml

Modified: ant/core/trunk/build.xml
URL: http://svn.apache.org/viewvc/ant/core/trunk/build.xml?view=diff&rev=498554&r1=498553&r2=498554
==============================================================================
--- ant/core/trunk/build.xml (original)
+++ ant/core/trunk/build.xml Sun Jan 21 23:37:54 2007
@@ -1439,13 +1439,15 @@
          Installs Apache Ant
        ===================================================================
   -->
-  <target name="install" if="ant.install">
+  <target name="install">
+    <fail message="You must set the property ant.install=/where/to/install" unless="ant.install"/>
     <antcall inheritAll="false" target="internal_dist">
       <param name="dist.dir" value="${ant.install}"/>
     </antcall>
   </target>
 
-  <target name="install-lite" if="ant.install">
+  <target name="install-lite">
+    <fail message="You must set the property ant.install=/where/to/install" unless="ant.install"/>
     <antcall inheritAll="false" target="dist-lite">
       <param name="dist.dir" value="${ant.install}"/>
     </antcall>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message