You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2001/06/13 17:29:48 UTC
cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSSGET.java
bodewig 01/06/13 08:29:48
Modified: docs/manual coretasklist.html install.html running.html
docs/manual/CoreTasks delete.html javac.html javadoc.html
style.html
src/main/org/apache/tools/ant/taskdefs Mkdir.java
src/main/org/apache/tools/ant/taskdefs/optional/vss
MSVSSGET.java
Log:
Various typos and documentation fixes.
PR: 1464, 1483, 1523, 1873, 1621, 1839, 1840, 2011
Submitted by: Daniel.Barclay@digitalfocus.com
colin@bspark.com (Colin Sampaleanu)
daveg@permabit.com
arosen@silverstream.com (Alex Rosen)
rxh@gers.com (Rey Hernandez)
Revision Changes Path
1.10 +2 -1 jakarta-ant/docs/manual/coretasklist.html
Index: coretasklist.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/coretasklist.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- coretasklist.html 2001/06/07 11:42:02 1.9
+++ coretasklist.html 2001/06/13 15:29:39 1.10
@@ -18,6 +18,7 @@
<a href="CoreTypes/mapper.html">File Mappers</a><br>
<h3>Core Tasks</h3>
+<a href="CoreTasks/common.html">Common Attributes</a><br>
<a href="CoreTasks/ant.html">Ant</a><br>
<a href="CoreTasks/antcall.html">AntCall</a><br>
<a href="CoreTasks/antstructure.html">AntStructure</a><br>
@@ -31,6 +32,7 @@
<a href="CoreTasks/cvspass.html">CVSPass</a><br>
<a href="CoreTasks/delete.html">Delete</a><br>
<a href="CoreTasks/deltree.html"><i>Deltree</i></a><br>
+<a href="CoreTasks/ear.html">Ear</a><br>
<a href="CoreTasks/echo.html">Echo</a><br>
<a href="CoreTasks/exec.html">Exec</a><br>
<a href="CoreTasks/execon.html">ExecOn</a><br>
@@ -71,4 +73,3 @@
<a href="CoreTasks/zip.html">Zip</a><br>
</body>
</html>
-
1.7 +12 -2 jakarta-ant/docs/manual/install.html
Index: install.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/install.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- install.html 2001/04/10 07:06:37 1.6
+++ install.html 2001/06/13 15:29:40 1.7
@@ -73,8 +73,10 @@
will need to do:</p>
<ul>
<li>Add the <code>bin</code> directory to your path.</li>
-<li>Set the <code>ANT_HOME</code> environment variable to
-the directory where you installed Ant.</li>
+<li>Set the <code>ANT_HOME</code> environment variable to the
+directory where you installed Ant. On some operating systems the ant
+wrapper scripts can guess <code>ANT_HOME</code> (Unix dialects and
+Windows NT/2000) - but it is better to not rely on this behavior.</li>
<li>Optionally, set the <code>JAVA_HOME</code> environment variable
(see the <a href="#advanced">Advanced</a> section below).
This should be set to the directory where your JDK is installed.</li>
@@ -208,6 +210,14 @@
<td><b>Jar Name</b></td>
<td><b>Needed For</b></td>
<td><b>Available At</b></td>
+ </tr>
+ <tr>
+ <td>An XSL transformer like Xalan or XSL:P</td>
+ <td>style task</td>
+ <td><a href="http://xml.apache.org/xalan-j/index.html"
+ target="_top">http://xml.apache.org/xalan-j/index.html</a> or <a
+ href="http://www.clc-marketing.com/xslp/"
+ target="_top">http://www.clc-marketing.com/xslp/</a></td>
</tr>
<tr>
<td>jakarta-regexp-1.2.jar</td>
1.2 +24 -1 jakarta-ant/docs/manual/running.html
Index: running.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/running.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- running.html 2001/04/10 07:06:37 1.1
+++ running.html 2001/06/13 15:29:40 1.2
@@ -90,7 +90,30 @@
target called <code>dist</code>, setting the <code>build</code> property to the
value <code>build/classes</code>.</p>
-<h3>Running Ant by Hand</h3>
+<h3>Files</h3>
+
+<p>The Ant wrapper script for Unix will source (read and evaluate) the
+file <code>~/.antrc</code> before it does anything - the Windows batch
+file invokes <code>%HOME%\antrc_pre.bat</code> at the start and
+<code>%HOME%\antrc_post.bat</code> at the end. You can use these
+files to set/unset environment variables that should only be visible
+during the execution of Ant. See the next section for example.</p>
+
+<h3>Environment Variables</h3>
+
+<p>The wrapper scripts use the following environment variables (if
+set):</p>
+
+<ul>
+ <li><code>JAVACMD</code> full path of the Java executable. Use this
+ to invoke a different JVM than <code>JAVA_HOME/bin/java(.exe)</code>.</li>
+
+ <li><code>ANT_OPTS</code> command line arguments that should be
+ passed to the JVM - for example, you can define properties or set
+ the maximum Java heap size here.</li>
+</ul>
+
+<h2>Running Ant by Hand</h2>
<p>If you have installed Ant in the do-it-yourself way, Ant can be started
with:</p>
<blockquote>
1.3 +2 -1 jakarta-ant/docs/manual/CoreTasks/delete.html
Index: delete.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/delete.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- delete.html 2001/02/13 12:31:50 1.2
+++ delete.html 2001/06/13 15:29:42 1.3
@@ -38,7 +38,8 @@
<tr>
<td valign="top">quiet</td>
<td valign="top">If the file does not exist, do not display a diagnostic
- message or modify the exit status to reflect an error.
+ message or modify the exit status to reflect an error (unless Ant
+ has been invoked with the -verbose or -debug switches).
This means that if a file or directory cannot be deleted,
then no error is reported. This setting emulates the
-f option to the Unix "rm" command.
1.6 +2 -0 jakarta-ant/docs/manual/CoreTasks/javac.html
Index: javac.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/javac.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- javac.html 2001/04/26 23:31:43 1.5
+++ javac.html 2001/06/13 15:29:42 1.6
@@ -45,6 +45,8 @@
(package org.apache.tools.ant.taskdefs.compilers). Supply the full
classname in the "build.compiler" property.
</p>
+<p>This task will drop all entries that point to non-existant
+files/directories from the CLASSPATH it passes to the compiler.</p>
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
1.10 +1 -1 jakarta-ant/docs/manual/CoreTasks/javadoc.html
Index: javadoc.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/javadoc.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- javadoc.html 2001/05/23 16:43:58 1.9
+++ javadoc.html 2001/06/13 15:29:42 1.10
@@ -248,7 +248,7 @@
<tr>
<td valign="top">linkoffline</td>
<td valign="top">Link to docs at <url> using package list at
- <url2></td>
+ <url2> - separate the URLs by using a space character.</td>
<td align="center" valign="top">1.2</td>
<td align="center" valign="top">No</td>
</tr>
1.7 +1 -0 jakarta-ant/docs/manual/CoreTasks/style.html
Index: style.html
===================================================================
RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/style.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- style.html 2001/03/19 12:27:23 1.6
+++ style.html 2001/06/13 15:29:42 1.7
@@ -27,6 +27,7 @@
and <code><patternset></code> elements.</p>
<p>Style supports the use of a <param> element which is used to pass values
to an <xsl:param> declaration.</p>
+<p>If you want to use Xalan-J 1 or XSL:P, you also need Ant's optional.jar</p>
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
1.7 +1 -1 jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Mkdir.java
Index: Mkdir.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Mkdir.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- Mkdir.java 2001/01/03 14:18:30 1.6
+++ Mkdir.java 2001/06/13 15:29:45 1.7
@@ -81,7 +81,7 @@
boolean result = dir.mkdirs();
if (result == false) {
String msg = "Directory " + dir.getAbsolutePath() + " creation was not " +
- "succesful for an unknown reason";
+ "succesfull for an unknown reason";
throw new BuildException(msg, location);
}
log("Created dir: " + dir.getAbsolutePath());
1.8 +1 -1 jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java
Index: MSVSSGET.java
===================================================================
RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- MSVSSGET.java 2001/01/26 08:32:59 1.7
+++ MSVSSGET.java 2001/06/13 15:29:47 1.8
@@ -194,7 +194,7 @@
boolean done = dir.mkdirs();
if (done == false) {
String msg = "Directory " + m_LocalPath + " creation was not " +
- "succesful for an unknown reason";
+ "succesfull for an unknown reason";
throw new BuildException(msg, location);
}
project.log("Created dir: " + dir.getAbsolutePath());
Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss MSVSSGET.java
Posted by Stefan Bodewig <bo...@apache.org>.
Jesse Glick <Je...@netbeans.com> wrote:
> Uh, best make that "successful". :-)
Thanks, should run a spell checker when correcting spelling mistakes 8-)
Stefan
Re: cvs commit:
jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss
MSVSSGET.java
Posted by Jesse Glick <Je...@netbeans.com>.
bodewig@apache.org wrote:
> Various typos and documentation fixes.
> RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java,v
> retrieving revision 1.7
> retrieving revision 1.8
> - "succesful for an unknown reason";
> + "succesfull for an unknown reason";
Uh, best make that "successful". :-)
-Jesse
--
Jesse Glick <ma...@netbeans.com>
NetBeans, Open APIs <http://www.netbeans.org/>
tel (+4202) 3300-9161 Sun Micro x49161 Praha CR