ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks exec.html
Date Sat, 01 Feb 2003 14:27:35 GMT
conor       2003/02/01 06:27:35

  Modified:    docs/manual Tag: ANT_15_BRANCH install.html running.html
               docs/manual/CoreTasks Tag: ANT_15_BRANCH exec.html
  Merge from Head
  Revision  Changes    Path
  No                   revision
  No                   revision +19 -6     jakarta-ant/docs/manual/install.html
  Index: install.html
  RCS file: /home/cvs/jakarta-ant/docs/manual/install.html,v
  retrieving revision
  retrieving revision
  diff -u -w -u -r1.29.2.14 -r1.29.2.15
  --- install.html	28 Jan 2003 08:56:13 -0000
  +++ install.html	1 Feb 2003 14:27:34 -0000
  @@ -95,21 +95,34 @@
   <table width="80%">
     <td colspan="2">
  -    <b>Windows 95 and Windows 98 Note:</b>
  +    <b>Windows 95, Windows 98 &amp; Windows ME Note:</b> 
     <td width="5%">&nbsp;</td>
   On these systems, the script used to launch Ant will have
  -problems if ANT_HOME is a long filename. This is due to
  +problems if ANT_HOME is a long filename (i.e. a filename which is not
  +of the format known as &quot;8.3&quot;). This is due to 
   limitations in the OS's handling of the <code>&quot;for&quot;</code>
   batch-file statement. It is recommended, therefore, that Ant be
  -installed in a <b>short</b> path, such as C:\Ant.</i>
  +installed in a <b>short</b>, 8.3 path, such as C:\Ant. </i>
  +  </td>
  +  <td width="5%">&nbsp;</td>
  +  <td>
  +    <p>On these systems you will also need to configure more environment
  +       space to cater for the environment variables used in the Ant lauch script.
  +       To do this, you will need to add or update the following line in 
  +       the <code>config.sys</code> file
  +    </p>
  +    <p><code>shell=c:\ c:\ /p /e:32768</code></p>
   Before you can run ant there is some additional set up you
   will need to do:</p>
   +12 -0     jakarta-ant/docs/manual/running.html
  Index: running.html
  RCS file: /home/cvs/jakarta-ant/docs/manual/running.html,v
  retrieving revision
  retrieving revision
  diff -u -w -u -r1.13.2.4 -r1.13.2.5
  --- running.html	3 Sep 2002 15:27:58 -0000
  +++ running.html	1 Feb 2003 14:27:35 -0000
  @@ -160,6 +160,18 @@
     to find, even if the file is called <code>build.xml</code>.
  +<h2><a name="cygwin">Cygwin Users</a></h2>
  +<p>The Unix launch script that come with Ant works correctly with Cygwin. You 
  +should not have any problems launching Ant form the Cygwin shell. It is important 
  +to note however, that once Ant is runing it is part of the JDK which operates as
  +a native Windows application. The JDK is not a Cygwin executable, and it therefore 
  +has no knowledge of the Cygwin paths, etc. In particular when using the &lt;exec&gt;
  +task, executable names such as &quot;/bin/sh&quot; will not work, even though these

  +work from the Cygwin shell from which Ant was launched. You can use an executable 
  +name such as &quot;sh&quot; and rely on that command being available in the Windows
   <h2><a name="viajava">Running Ant via Java</a></h2>
   <p>If you have installed Ant in the do-it-yourself way, Ant can be started
    +1 -0      jakarta-ant/docs/manual/runninglist.html
  Index: runninglist.html
  RCS file: /home/cvs/jakarta-ant/docs/manual/runninglist.html,v
  retrieving revision 1.2
  retrieving revision
  diff -u -w -u -r1.2 -r1.2.2.1
  --- runninglist.html	20 Feb 2002 01:16:20 -0000	1.2
  +++ runninglist.html	1 Feb 2003 14:27:35 -0000
  @@ -15,6 +15,7 @@
   &nbsp;&nbsp;<a href="running.html#options">Options</a><br>
   &nbsp;&nbsp;<a href="running.html#files">Files</a><br>
   &nbsp;&nbsp;<a href="running.html#envvars">Environment Variables</a><br>
  +&nbsp;&nbsp;<a href="running.html#cygwin">Cygwin Users</a><br>
   <a href="running.html#viajava">Running Ant via Java</a><br>
  No                   revision
  No                   revision  +7 -0      jakarta-ant/docs/manual/CoreTasks/exec.html
  Index: exec.html
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/exec.html,v
  retrieving revision
  retrieving revision
  diff -u -w -u -r1.15.2.3 -r1.15.2.4
  --- exec.html	4 Sep 2002 11:21:12 -0000
  +++ exec.html	1 Feb 2003 14:27:35 -0000
  @@ -12,6 +12,13 @@
   <p>Executes a system command. When the <i>os</i> attribute is specified,
   the command is only executed when Ant is run on one of the specified operating
  +<h4>Cygwin Users</h4>
  +<p>In general the &lt;exec&gt; task will not userstand paths such as /bin/sh
  +the executable parameter. This is because the Java VM in which Ant is running is a 
  +Windows executable and is not aware of Cygwin conventions.
   <table border="1" cellpadding="2" cellspacing="0">

View raw message