ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r805369 - /ant/core/trunk/docs/manual/install.html
Date Tue, 18 Aug 2009 11:35:12 GMT
Author: bodewig
Date: Tue Aug 18 11:35:11 2009
New Revision: 805369

URL: http://svn.apache.org/viewvc?rev=805369&view=rev
Log:
document chmod.fail property.  PR 22500

Modified:
    ant/core/trunk/docs/manual/install.html

Modified: ant/core/trunk/docs/manual/install.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/install.html?rev=805369&r1=805368&r2=805369&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/install.html (original)
+++ ant/core/trunk/docs/manual/install.html Tue Aug 18 11:35:11 2009
@@ -679,6 +679,17 @@
 <code>install-lite</code> targets will overwrite
 the current Ant version in <code>ANT_HOME</code>.</p>
 
+<p>Ant's build script will try to set executable flags for its shell
+  scripts on Unix-like systems.  There are various reasons why the
+  chmod-task might fail (like when you are running the build script as
+  a different user than the one who installed Ant initially).  In this
+  case you can set the Ant property <code>chmod.fail</code> to false
+  when starting the build like in
+<blockquote>
+  <p><code>sh build.sh install -Dchmod.fail=false</code></p>
+</blockquote>
+and any error to change permission will not result in a build failure.</p>
+
 <hr>
 <h2><a name="librarydependencies">Library Dependencies</a></h2>
 <p>The following libraries are needed in Ant's classpath



Mime
View raw message