On 1/19/07, Jack J. Woehr <[EMAIL PROTECTED]> wrote:

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>

Yes,
That should go into the build.xml
no other targets depend on "install" or "install-lite"
so the change should be ok.
Peter

--
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
[EMAIL PROTECTED]
303-443-7000 ext. 527





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to