holtdl 02/03/13 09:02:35
Modified: xdocs faq.xml
docs faq.html
docs/manual install.html
Log:
Clarify the shell-script-running stuff a bit. (faq.{xml,html})
Add needed jars for <junitreport> to lib deps table. (install.html)
Revision Changes Path
1.15 +8 -4 jakarta-ant/xdocs/faq.xml
Index: faq.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/xdocs/faq.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- faq.xml 12 Mar 2002 21:23:13 -0000 1.14
+++ faq.xml 13 Mar 2002 17:02:35 -0000 1.15
@@ -330,14 +330,18 @@
<question>How do I execute a batch file or shell script from
Ant?</question>
<answer>
- <p>Execute the command shell instead, then pass the batch file or
- shell script as a single command, using the <code>/c</code> or
+ <p>On native Unix systems, you should be able to run shell scripts
+ directly. On systems running a Unix-type shell (for example,
Cygwin
+ on Windows) execute the (command) shell instead - <code>cmd</code>
+ for batch files, <code>sh</code> for shell scripts - then pass the
+ batch file or shell script (plus any arguments to the script)
+ as a single command, using the <code>/c</code> or
<code>-c</code> switch, respectively. See
<a href="#shell-redirect-2">the above section</a>
for example <code><exec></code> tasks
- executing <code>sh</code>. On Windows, use something like:</p>
+ executing <code>sh</code>. For batch files, use something
like:</p>
<source><![CDATA[
-<exec dir="." executable="cmd.exe" os="Windows NT">
+<exec dir="." executable="cmd" os="Windows NT">
<arg line="/c test.bat"/>
</exec>
]]></source>
1.23 +8 -4 jakarta-ant/docs/faq.html
Index: faq.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/faq.html,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- faq.html 12 Mar 2002 21:23:13 -0000 1.22
+++ faq.html 13 Mar 2002 17:02:35 -0000 1.23
@@ -895,12 +895,16 @@
</td></tr>
<tr><td>
<blockquote>
- <p>Execute the command shell instead, then
pass the batch file or
- shell script as a single command, using the <code>/c</code> or
+ <p>On native Unix systems, you should be able
to run shell scripts
+ directly. On systems running a Unix-type shell (for example,
Cygwin
+ on Windows) execute the (command) shell instead - <code>cmd</code>
+ for batch files, <code>sh</code> for shell scripts - then pass the
+ batch file or shell script (plus any arguments to the script)
+ as a single command, using the <code>/c</code> or
<code>-c</code> switch, respectively. See
<a href="#shell-redirect-2">the above section</a>
for example <code><exec></code> tasks
- executing <code>sh</code>. On Windows, use something like:</p>
+ executing <code>sh</code>. For batch files, use something
like:</p>
<div align="left">
<table cellspacing="4" cellpadding="0" border="0">
<tr>
@@ -911,7 +915,7 @@
<tr>
<td bgcolor="#023264" width="1"><img src="/images/void.gif"
width="1" height="1" vspace="0" hspace="0" border="0"/></td>
<td bgcolor="#ffffff"><pre>
-<exec dir="." executable="cmd.exe" os="Windows
NT">
+<exec dir="." executable="cmd" os="Windows
NT">
<arg line="/c test.bat"/>
</exec>
</pre></td>
1.27 +5 -0 jakarta-ant/docs/manual/install.html
Index: install.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/install.html,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- install.html 7 Mar 2002 03:13:04 -0000 1.26
+++ install.html 13 Mar 2002 17:02:35 -0000 1.27
@@ -288,6 +288,11 @@
<td><a href="http://www.junit.org/" target="_top">www.junit.org</a></td>
</tr>
<tr>
+ <td>xerces.jar and xalan.jar</td>
+ <td>junitreport task</td>
+ <td><a href="http://xml.apache.org/"
target="_top">xml.apache.org</a></td>
+ </tr>
+ <tr>
<td>stylebook.jar</td>
<td>stylebook task</td>
<td>CVS repository of <a href="http://xml.apache.org"
target="_top">xml.apache.org</a></td>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>