Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
./build.sh -Ddist.dir=/usr/local/ant dist fails

./build.sh -Ddist.dir=/usr/local/ant dist fails

2003-02-26       - By Barry C. Hawkins
Reply:     1     2     3  

Everyone,
  I am trying to install Ant 1.5.1 from source on OS X 10.2.4 with the
Developer Preview 10 version of Java installed.  Attempting to execute
the build command specified in the Ant manual "./build.sh
-Ddist.dir=/usr/local/ant dist" ends with the following message:

  BUILD FAILED
  file:/Users/barryh/jakarta-ant-1.5.1/build.xml:773: chmod returned: -1

  I have tried this with and without sudo.  I created the /usr/local/ant
prior to the build, and set the following environment variables:

ANT_HOME=/usr/local/ant
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home

Regards,
--
Barry C. Hawkins
Systems Consultant
All Things Computed
404-795-9147 voice/fax
barry.hawkins@(protected)



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.