Author: peterreilly Date: Fri Sep 29 15:49:08 2006 New Revision: 451487 URL: http://svn.apache.org/viewvc?view=rev&rev=451487 Log: add a comment about /etc/ant.conf and about quotes and / in ANT_HOME,CLASSPATH and JAVA_HOME
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?view=diff&rev=451487&r1=451486&r2=451487 ============================================================================== --- ant/core/trunk/docs/manual/install.html (original) +++ ant/core/trunk/docs/manual/install.html Fri Sep 29 15:49:08 2006 @@ -211,6 +211,50 @@ directory is intended for JDK extensions. In particular there are security restrictions on the classes which may be loaded by an extension.</p> +<table width="80%"> +<tr> + <td colspan="2"> + <b>Windows Note:</b> + </td> +</tr> +<tr> + <td width="5%"> </td> + <td> + The ant.bat script makes use of three environment variables - + ANT_HOME, CLASSPATH and JAVA_HOME. <b>Ensure</b> that if + these variables are set, they do <b><u>not</u></b> have quotes (either + ' or ") and they do <b><u>not</u></b> end with \ or with /. + </td> +</tr> +</table> +<table width="80%"> +<tr> + <td colspan="2"> + <b>Linux Note:</b> + </td> +</tr> +<tr> + <td width="5%"> </td> + <td> + A jpackage rpm version of ant may be installed on your machine, + say as part of install of Fedora Core 3. If another version + of ant is installed, the rpm version <b><u>will</u></b> take + priority. This is due to the fact that ant bash script file + dot includes the /etc/ant.conf file from the jpackage distribution. + The current version of this file (sept 2006) overwrites the + ANT_HOME environment variable. If this happens, ant will + issue a warning. To fix this, modify the line in /etc/ant.conf + <br/> + <code>ANT_HOME=/usr/share/ant</code> + <br/> + to be + <br/> + <code>ANT_HOME=${ANT_HOME:-/usr/share/ant}</code>. + </td> +</tr> +</table> + + <h3><a name="optionalTasks">Optional Tasks</a></h3> <p>Ant supports a number of optional tasks. An optional task is a task which typically requires an external library to function. The optional tasks are --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]