Return-Path:
ant.jar
and any jars/classes
needed for your chosen JAXP-compliant XML parser.tools.jar
+(such as for the javac task or the
+rmic task), then tools.jar
must be added. The scripts supplied with Ant,
in the bin
directory, will add
the required JDK classes automatically, if the JAVA_HOME
environment variable is set.ant.home
+exec task or the
+cvs task, the property ant.home
must be set to the directory containing where you installed Ant. Again
this is set by the Ant scripts to the value of the ANT_HOME environment
variable.${key}
to value
at runtime.
There are many tasks that can set properties, the most common one - is the property task. In + is the property task. In addition properties can be defined via command line arguments or similar mechanisms from outside of Ant.
@@ -40,14 +40,14 @@ defined they are available for any task or target invoked subsequently - it is not possible to set a property in a child build process created via - the ant, antcall or subant tasks + the ant, antcall or subant tasks and make it available to the calling build process, though.Starting with Ant 1.8.0 - the local task can be used to + the local task can be used to create properties that are locally scoped to a target or - a sequential element like - the one of the macrodef + a sequential element like + the one of the macrodef task.
org.apache.tools.ant.property.LocalProperties
which implements storage
- for local properties.
+ for local properties.
Another reason to implement this interface is if you wanted
to provide your own "property protocol" like
@@ -157,7 +157,7 @@ ant.library.dir the directory that h
would
be org.apache.tools.ant.property.LocalProperties
which implements storage
- for local properties.
- The setproxy task can be used to + The setproxy task can be used to explicitly set a proxy in a build file. This manipulates the many proxy configuration properties of a JVM, and controls the proxy settings for all network operations in the same JVM from that moment. @@ -243,7 +243,7 @@ command line.
If you wish to have a forked process pick up the Ant's settings, use the -<syspropertyset>
+ <syspropertyset>
element to propagate the normal proxy settings. The following propertyset
is a datatype which can be referenced in a <java>
task to
pass down the current values.
Modified: ant/core/trunk/docs/manual/running.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/running.html?rev=948574&r1=948573&r2=948574&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/running.html (original)
+++ ant/core/trunk/docs/manual/running.html Wed May 26 20:33:51 2010
@@ -56,7 +56,7 @@ the -Dproperty=val
where property is the name of the property,
and value is the value for that property. If you specify a
property that is also set in the build file
-(see the property task),
+(see the property task),
the value specified on the
command line will override the value specified in the
build file.
@@ -67,7 +67,7 @@ the value of environment variables; just
to Ant. You can then access
these variables inside your build file as ${MYVAR}
.
You can also access environment variables using the
- property task's
+ property task's
environment
attribute.
@@ -296,7 +296,7 @@ org.apache.tools.ant.Executor implementa
ant.file
read only: full filename of the build file
This is set to the name of the build file. In
-
+
<import>-ed files, this is set to the containing build file.
@@ -306,7 +306,7 @@ org.apache.tools.ant.Executor implementa
read only: full filename of the build file of Ant projects
This is set to the name of a file by project;
- this lets you determine the location of
+ this lets you determine the location of
<import>-ed files,
@@ -329,7 +329,7 @@ org.apache.tools.ant.Executor implementa
ant.netrexxc.*
several formats
- Use specified values as defaults for netrexxc.
+ Use specified values as defaults for netrexxc.
@@ -344,7 +344,7 @@ org.apache.tools.ant.Executor implementa
ant.regexp.regexpimpl
classname
classname for a RegExp implementation; if not set Ant uses JDK 1.4's implementation;
- RegExp-Mapper
+ RegExp-Mapper
"Choice of regular expression implementation"
@@ -366,49 +366,49 @@ org.apache.tools.ant.Executor implementa
build.compiler
name
Specify the default compiler to use.
- see javac,
- EJB Tasks
+ see javac,
+ EJB Tasks
(compiler attribute),
- javah
+ javah
build.compiler.emacs
boolean (default false)
Enable emacs-compatible error messages.
- see javac "Jikes Notes"
+ see javac "Jikes Notes"
build.compiler.fulldepend
boolean (default false)
Enable full dependency checking
- see javac "Jikes Notes"
+ see javac "Jikes Notes"
build.compiler.jvc.extensions
boolean (default true)
enable Microsoft extensions of their java compiler
- see javac "Jvc Notes"
+ see javac "Jvc Notes"
build.compiler.pedantic
boolean (default false)
Enable pedantic warnings.
- see javac "Jikes Notes"
+ see javac "Jikes Notes"
build.compiler.warnings
Deprecated flag
- see javac "Jikes Notes"
+ see javac "Jikes Notes"
build.rmic
name
- control the rmic compiler
+ control the rmic compiler
build.sysclasspath
@@ -420,7 +420,7 @@ org.apache.tools.ant.Executor implementa
file.encoding
name of a supported character set (e.g. UTF-8, ISO-8859-1, US-ASCII)
use as default character set of email messages; use as default for source-, dest- and bundleencoding
- in translate
+ in translate
see JavaDoc of java.nio.charset.Charset
for more information about character sets (not used in Ant, but has nice docs).
@@ -450,14 +450,14 @@ org.apache.tools.ant.Executor implementa
p4.port, p4.client, p4.user
several formats
Specify defaults for port-, client- and user-setting of the
- perforce tasks.
+ perforce tasks.
websphere.home
path
Points to home directory of websphere.
- see EJB Tasks
+ see EJB Tasks
Modified: ant/core/trunk/docs/manual/targets.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/targets.html?rev=948574&r1=948573&r2=948574&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/targets.html (original)
+++ ant/core/trunk/docs/manual/targets.html Wed May 26 20:33:51 2010
@@ -131,7 +131,7 @@
option is used.
It is a good practice to place
- your tstamp tasks in a
+ your tstamp tasks in a
so-called initialization target, on which all other targets
depend. Make sure that target is always the first one in the
depends list of the other targets. In this manual, most
@@ -245,7 +245,7 @@
The main purpose of an extension-point is to act as an extension
point for build files designed to
- be imported. In the imported
+ be imported. In the imported
file an extension-point defines a state that must be reached and
targets from other build files can join the depends list of said
extension-point in order to contribute to that state.
Copied: ant/core/trunk/docs/manual/tasklist.html (from r948529, ant/core/trunk/docs/manual/coretasklist.html)
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/tasklist.html?p2=ant/core/trunk/docs/manual/tasklist.html&p1=ant/core/trunk/docs/manual/coretasklist.html&r1=948529&r2=948574&rev=948574&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/coretasklist.html (original)
+++ ant/core/trunk/docs/manual/tasklist.html Wed May 26 20:33:51 2010
@@ -28,115 +28,166 @@
Table of Contents
-Core Tasks
+Tasks
-- Ant
-- AntCall
-- AntStructure
-- AntVersion
-- Apply/ExecOn
-- Apt
-- Augment
-- Available
-- Basename
-- BuildNumber
-- BUnzip2
-- BZip2
-- Checksum
-- Chmod
-- Concat
-- Condition
+- Ant
+- AntCall
+- ANTLR
+- AntStructure
+- AntVersion
+- Apply/ExecOn
+- Apt
+- Attrib
+- Augment
+- Available
+- Basename
+- BuildNumber
+- Cab
+- Continuus/Synergy Tasks
+- CvsChangeLog
+- Checksum
+- Chgrp
+- Chmod
+- Chown
+- Clearcase Tasks
+- Componentdef
+- Concat
+- Condition
-- Copy
-- Copydir
-- Copyfile
-- Componentdef
-- Cvs
-- CvsChangeLog
-- CvsVersion
-- CVSPass
-- CvsTagDiff
-- Defaultexcludes
-- Delete
-- Deltree
-- Dependset
-- Diagnostics
-- Dirname
-- Ear
-- Echo
-- EchoXML
-- Exec
-- Fail
-- Filter
-- FixCRLF
-- GenKey
-- Get
-- Hostinfo
-- GUnzip
-- GZip
-- Import
-- Include
-- Input
-- Jar
-- Java
-- Javac
-- Javadoc/Javadoc2
-- Length
-- LoadFile
-- LoadProperties
-- LoadResource
-- Local
-- MakeURL
-- Mail
-- MacroDef
-- Manifest
-- ManifestClassPath
-- Mkdir
-- Move
-- Nice
-- Parallel
-- Patch
-- PathConvert
-- PreSetDef
-- Property
-- PropertyHelper
-- Record
-- Rename
-- Replace
-- ResourceCount
-- Retry
-- Rmic
-- Sequential
-- SignJar
-- Sleep
-- Sql
-- Subant
-- Sync
-- Tar
-- Taskdef
-- Tempfile
-- Touch
-- Truncate
-- TStamp
-- Typedef
-- Unjar
-- Untar
-- Unwar
-- Unzip
-- Uptodate
-- Waitfor
-- WhichResource
-- War
-- XmlProperty
-- XSLT/Style
-- Zip
+- Copy
+- Copydir
+- Copyfile
+- Cvs
+- CVSPass
+- CvsTagDiff
+- CvsVersion
+- Defaultexcludes
+- Delete
+- Deltree
+- Depend
+- Dependset
+- Diagnostics
+- Dirname
+- Ear
+- Echo
+- Echoproperties
+- EchoXML
+- EJB Tasks
+- Exec
+- Fail
+- Filter
+- FixCRLF
+- FTP
+- GenKey
+- Get
+- Hostinfo
+- Image
+- Import
+- Include
+- Input
+- Jar
+- Jarlib-available
+- Jarlib-display
+- Jarlib-manifest
+- Jarlib-resolve
+- Java
+- Javac
+- JavaCC
+- Javadoc/Javadoc2
+- Javah
+- JDepend
+- JJDoc
+- JJTree
+- Jlink
+- JspC
+- JUnit
+- JUnitReport
+- Length
+- LoadFile
+- LoadProperties
+- LoadResource
+- Local
+- MacroDef
+- Mail
+- MakeURL
+- Manifest
+- ManifestClassPath
+- MimeMail
+- Mkdir
+- Move
+- Native2Ascii
+- NetRexxC
+- Nice
+- BZip2
+- GZip
+- Parallel
+- Patch
+- PathConvert
+- Perforce Tasks
+- PreSetDef
+- Property
+- PropertyFile
+- PropertyHelper
+- Pvcs
+- Record
+- Rename
+- RenameExtensions
+- Replace
+- ReplaceRegExp
+- ResourceCount
+- Retry
+- RExec
+- Rmic
+- Rpm
+- SchemaValidate
+- Scp
+- Script
+- Scriptdef
+- Sequential
+- ServerDeploy
+- Setproxy
+- SignJar
+- Sleep
+- SourceOffSite
+- Sound
+- Splash
+- Sql
+- Sshexec
+- Sshsession
+- XSLT/Style
+- Subant
+- Symlink
+- Sync
+- Tar
+- Taskdef
+- Telnet
+- Tempfile
+- Touch
+- Translate
+- Truncate
+- TStamp
+- Typedef
+- BUnzip2
+- GUnzip
+- Unjar
+- Untar
+- Unwar
+- Unzip
+- Uptodate
+- Microsoft Visual SourceSafe Tasks
+- Waitfor
+- War
+- WhichResource
+- Weblogic JSP Compiler
+- XmlProperty
+- XmlValidate
+- Zip