ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jack J. Woehr" <jwo...@absolute-performance.com>
Subject Re: Install doesn't?
Date Fri, 19 Jan 2007 19:17:30 GMT

On Jan 19, 2007, at 11:49 AM, Peter Reilly wrote:

> You need to set the ant.install property
>
> ./build.sh -Dant.install=/a/b/c

Thank you, as always, most helpful Mr. Reilly. May I suggest a diff?

Index: build.xml
===================================================================
--- build.xml   (revision 497472)
+++ build.xml   (working copy)
@@ -1439,7 +1439,8 @@
           Installs Apache Ant
          
===================================================================
    -->
-  <target name="install" if="ant.install">
+  <target name="install">
+    <fail message="You must set the property ant.install=/some/ 
install/path" unless="ant.install"/>
      <antcall inheritAll="false" target="internal_dist">
        <param name="dist.dir" value="${ant.install}"/>
      </antcall>

-- 
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
jwoehr@absolute-performance.com
303-443-7000 ext. 527



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message