From a8912559283684c24c7796d4b08f3a7a816b955b Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Wed, 13 Jun 2001 15:29:47 +0000 Subject: [PATCH] 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) git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269169 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/CoreTasks/delete.html | 3 ++- docs/manual/CoreTasks/javac.html | 2 ++ docs/manual/CoreTasks/javadoc.html | 2 +- docs/manual/CoreTasks/style.html | 1 + docs/manual/coretasklist.html | 3 ++- docs/manual/install.html | 14 +++++++++-- docs/manual/running.html | 25 ++++++++++++++++++- .../org/apache/tools/ant/taskdefs/Mkdir.java | 2 +- .../ant/taskdefs/optional/vss/MSVSSGET.java | 2 +- 9 files changed, 46 insertions(+), 8 deletions(-) diff --git a/docs/manual/CoreTasks/delete.html b/docs/manual/CoreTasks/delete.html index 563325173..c2f9e214b 100644 --- a/docs/manual/CoreTasks/delete.html +++ b/docs/manual/CoreTasks/delete.html @@ -38,7 +38,8 @@ To remove empty directories, use the includeEmptyDirs atribute.

quiet 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. diff --git a/docs/manual/CoreTasks/javac.html b/docs/manual/CoreTasks/javac.html index 0b627af2b..4ed276f1a 100644 --- a/docs/manual/CoreTasks/javac.html +++ b/docs/manual/CoreTasks/javac.html @@ -45,6 +45,8 @@ supplied, write a class that implements the CompilerAdapter interface (package org.apache.tools.ant.taskdefs.compilers). Supply the full classname in the "build.compiler" property.

+

This task will drop all entries that point to non-existant +files/directories from the CLASSPATH it passes to the compiler.

Parameters

diff --git a/docs/manual/CoreTasks/javadoc.html b/docs/manual/CoreTasks/javadoc.html index 6e077093d..c4a3b30bc 100644 --- a/docs/manual/CoreTasks/javadoc.html +++ b/docs/manual/CoreTasks/javadoc.html @@ -248,7 +248,7 @@ instead.

+ <url2> - separate the URLs by using a space character. diff --git a/docs/manual/CoreTasks/style.html b/docs/manual/CoreTasks/style.html index ae5bf3e70..464d8ab90 100644 --- a/docs/manual/CoreTasks/style.html +++ b/docs/manual/CoreTasks/style.html @@ -27,6 +27,7 @@ inclusion/exclusion of files works, and how to write patterns.

and <patternset> elements.

Style supports the use of a <param> element which is used to pass values to an <xsl:param> declaration.

+

If you want to use Xalan-J 1 or XSL:P, you also need Ant's optional.jar

Parameters

linkoffline Link to docs at <url> using package list at - <url2> 1.2 No
diff --git a/docs/manual/coretasklist.html b/docs/manual/coretasklist.html index ace42fa78..210ba48cf 100644 --- a/docs/manual/coretasklist.html +++ b/docs/manual/coretasklist.html @@ -18,6 +18,7 @@ File Mappers

Core Tasks

+Common Attributes
Ant
AntCall
AntStructure
@@ -31,6 +32,7 @@ CVSPass
Delete
Deltree
+Ear
Echo
Exec
ExecOn
@@ -71,4 +73,3 @@ Zip
- diff --git a/docs/manual/install.html b/docs/manual/install.html index 80a48678d..c6b0e5f6b 100644 --- a/docs/manual/install.html +++ b/docs/manual/install.html @@ -73,8 +73,10 @@ Before you can run ant there is some additional set up you will need to do:

+ + + + + diff --git a/docs/manual/running.html b/docs/manual/running.html index 57eb35cbd..8cdc11761 100644 --- a/docs/manual/running.html +++ b/docs/manual/running.html @@ -90,7 +90,30 @@ target called dist.

target called dist, setting the build property to the value build/classes.

-

Running Ant by Hand

+

Files

+ +

The Ant wrapper script for Unix will source (read and evaluate) the +file ~/.antrc before it does anything - the Windows batch +file invokes %HOME%\antrc_pre.bat at the start and +%HOME%\antrc_post.bat 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.

+ +

Environment Variables

+ +

The wrapper scripts use the following environment variables (if +set):

+ + + +

Running Ant by Hand

If you have installed Ant in the do-it-yourself way, Ant can be started with:

diff --git a/src/main/org/apache/tools/ant/taskdefs/Mkdir.java b/src/main/org/apache/tools/ant/taskdefs/Mkdir.java index cfb690375..db2325cb6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Mkdir.java +++ b/src/main/org/apache/tools/ant/taskdefs/Mkdir.java @@ -81,7 +81,7 @@ public class Mkdir extends Task { 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()); diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java b/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java index fba717af5..e4f4eb961 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/vss/MSVSSGET.java @@ -194,7 +194,7 @@ public class MSVSSGET extends MSVSS { 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());
Needed For Available At
An XSL transformer like Xalan or XSL:Pstyle taskhttp://xml.apache.org/xalan-j/index.html or http://www.clc-marketing.com/xslp/
jakarta-regexp-1.2.jar regexp type with mappers