remove some stray CRs fix some typos Submitted by: Larry Shatzer <Larry.Shatzer@Spirent.com> git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273291 13f79535-47bb-0310-9956-ffa450edef68master
@@ -172,10 +172,10 @@ details:</p> | |||
<pre> | |||
<path id="path1"> | |||
... | |||
</> | |||
</path> | |||
<path id="path2"> | |||
... | |||
</> | |||
</path> | |||
</pre> | |||
<p>and the called build file (<code>subbuild.xml</code>) also defines | |||
@@ -183,7 +183,7 @@ a <code><path></code> with the id <code>path1</code>, but | |||
<code>path2</code> is not defined:</p> | |||
<pre> | |||
<ant antfile="subbuild.xml" inheritrefs="true" /> | |||
<ant antfile="subbuild.xml" inheritrefs="true"/> | |||
</pre> | |||
<p>will not override <code>subbuild</code>'s definition of | |||
@@ -191,21 +191,21 @@ a <code><path></code> with the id <code>path1</code>, but | |||
<code>path2</code> available in the subbuild.</p> | |||
<pre> | |||
<ant antfile="subbuild.xml" /> | |||
<ant antfile="subbuild.xml"/> | |||
</pre> | |||
<p>as well as</p> | |||
<pre> | |||
<ant antfile="subbuild.xml" inheritrefs="false" /> | |||
<ant antfile="subbuild.xml" inheritrefs="false"/> | |||
</pre> | |||
<p>will neither override <code>path1</code> nor copy | |||
<code>path2</code>.</p> | |||
<pre> | |||
<ant antfile="subbuild.xml" inheritrefs="false" > | |||
<reference refid="path1" /> | |||
<ant antfile="subbuild.xml" inheritrefs="false"> | |||
<reference refid="path1"/> | |||
</ant> | |||
</pre> | |||
@@ -213,8 +213,8 @@ a <code><path></code> with the id <code>path1</code>, but | |||
<code>path1</code>.</p> | |||
<pre> | |||
<ant antfile="subbuild.xml" inheritrefs="false" > | |||
<reference refid="path1" torefid="path2" /> | |||
<ant antfile="subbuild.xml" inheritrefs="false"> | |||
<reference refid="path1" torefid="path2"/> | |||
</ant> | |||
</pre> | |||
@@ -105,7 +105,7 @@ optionally changing their id.</p> | |||
<pre> | |||
<antcall ... > | |||
<reference refid="path1" torefid="path2" /> | |||
<reference refid="path1" torefid="path2"/> | |||
</antcall> | |||
</pre> | |||
@@ -157,7 +157,7 @@ system command via nested <code><env></code> elements. See the | |||
description in the section about <a href="exec.html#env">exec</a></p> | |||
<h3>Examples</h3> | |||
<blockquote><pre> | |||
<apply executable="ls" > | |||
<apply executable="ls"> | |||
<arg value="-l"/> | |||
<fileset dir="/tmp"> | |||
<patternset> | |||
@@ -172,7 +172,7 @@ files below <code>/tmp</code> not ending in <code>.txt</code> and all | |||
files of the FileSet with <code>id</code> <code>other.files</code> to | |||
the command line.</p> | |||
<blockquote><pre> | |||
<apply executable="somecommand" parallel="false" > | |||
<apply executable="somecommand" parallel="false"> | |||
<arg value="arg1"/> | |||
<srcfile/> | |||
<arg value="arg2"/> | |||
@@ -103,7 +103,7 @@ | |||
<pre> | |||
<concat> | |||
<fileset dir="messages" includes="*important*" /> | |||
<fileset dir="messages" includes="*important*"/> | |||
</concat> | |||
</pre> | |||
@@ -111,7 +111,7 @@ | |||
<pre> | |||
<concat destfile="NOTES" append="true"> | |||
<filelist dir="notes" files="note.txt" /> | |||
<filelist dir="notes" files="note.txt"/> | |||
</concat> | |||
</pre> | |||
@@ -121,10 +121,10 @@ | |||
<pre> | |||
<concat destfile="${docbook.dir}/all-sections.xml"> | |||
<filelist dir="${docbook.dir}/sections" | |||
files="introduction.xml,overview.xml" /> | |||
files="introduction.xml,overview.xml"/> | |||
<fileset dir="${docbook.dir}" | |||
includes="sections/*.xml" | |||
excludes="introduction.xml,overview.xml" /> | |||
excludes="introduction.xml,overview.xml"/> | |||
</concat> | |||
</pre> | |||
@@ -45,8 +45,8 @@ complete list see <a href="conditions.html">here</a>.</p> | |||
<pre> | |||
<condition property="javamail.complete"> | |||
<and> | |||
<available classname="javax.activation.DataHandler" /> | |||
<available classname="javax.mail.Transport" /> | |||
<available classname="javax.activation.DataHandler"/> | |||
<available classname="javax.mail.Transport"/> | |||
</and> | |||
</condition> | |||
</pre> | |||
@@ -57,9 +57,11 @@ classpath.</p> | |||
<pre> | |||
<condition property="isMacOsButNotMacOsX"> | |||
<and> | |||
<os family="mac" /> | |||
<os family="mac"/> | |||
<not> | |||
<os family="unix" /> | |||
<os family="unix"/> | |||
</not> | |||
</and> | |||
</condition> | |||
@@ -70,7 +72,8 @@ in the Unix family as well.</p> | |||
<pre> | |||
<condition property="isSunOSonSparc"> | |||
<os name="SunOS" arch="sparc" /> | |||
<os name="SunOS" arch="sparc"/> | |||
</condition> | |||
</pre> | |||
<p>sets the property <code>isSunOSonSparc</code> if the current | |||
@@ -82,4 +85,3 @@ Foundation. All rights Reserved.</p> | |||
</body> | |||
</html> | |||
@@ -268,8 +268,8 @@ that is "true","yes", or "on"</p> | |||
</tr> | |||
</table> | |||
<pre> | |||
<istrue value="${someproperty}" /> | |||
<istrue value="false" /> | |||
<istrue value="${someproperty}"/> | |||
<istrue value="false"/> | |||
</pre> | |||
<h4>isfalse</h4> | |||
@@ -288,8 +288,8 @@ that is "true","yes", or "on"</p> | |||
</tr> | |||
</table> | |||
<pre> | |||
<isfalse value="${someproperty}" /> | |||
<isfalse value="false" /> | |||
<isfalse value="${someproperty}"/> | |||
<isfalse value="false"/> | |||
</pre> | |||
<hr> | |||
@@ -140,21 +140,21 @@ followed by <filterset> elements. | |||
</pre> | |||
<p><b>Copy a set of files to a directory</b></p> | |||
<pre> | |||
<copy todir="../dest/dir" > | |||
<fileset dir="src_dir" > | |||
<copy todir="../dest/dir"> | |||
<fileset dir="src_dir"> | |||
<exclude name="**/*.java"/> | |||
</fileset> | |||
</copy> | |||
<copy todir="../dest/dir" > | |||
<copy todir="../dest/dir"> | |||
<fileset dir="src_dir" excludes="**/*.java"/> | |||
</copy> | |||
</pre> | |||
<p><b>Copy a set of files to a directory, appending | |||
<code>.bak</code> to the file name on the fly</b></p> | |||
<pre> | |||
<copy todir="../backup/dir" > | |||
<fileset dir="src_dir" /> | |||
<copy todir="../backup/dir"> | |||
<fileset dir="src_dir"/> | |||
<mapper type="glob" from="*" to="*.bak"/> | |||
</copy> | |||
</pre> | |||
@@ -163,10 +163,10 @@ followed by <filterset> elements. | |||
<p><b>Copy a set of files to a directory, replacing @TITLE@ with Foo Bar | |||
in all files.</b></p> | |||
<pre> | |||
<copy todir="../backup/dir" > | |||
<fileset dir="src_dir" /> | |||
<copy todir="../backup/dir"> | |||
<fileset dir="src_dir"/> | |||
<filterset> | |||
<filter token="TITLE" value="Foo Bar" /> | |||
<filter token="TITLE" value="Foo Bar"/> | |||
</filterset> | |||
</copy> | |||
</pre> | |||
@@ -46,12 +46,10 @@ does not exist.</p> | |||
</table> | |||
<h3>Examples</h3> | |||
<blockquote> | |||
<p><code><copyfile src="test.java" dest="subdir/test.java" | |||
/></code></p> | |||
<p><code><copyfile src="${src}/index.html" dest="${dist}/help/index.html" | |||
/></code></p> | |||
<p><code><copyfile src="test.java" dest="subdir/test.java"/></code></p> | |||
<p><code><copyfile src="${src}/index.html" dest="${dist}/help/index.html"/></code></p> | |||
</blockquote> | |||
<hr><p align="center">Copyright © 2000-2001 Apache Software Foundation. All rights | |||
<hr><p align="center">Copyright © 2000-2002 Apache Software Foundation. All rights | |||
Reserved.</p> | |||
</body> | |||
@@ -1,12 +1,9 @@ | |||
<html> | |||
<head> | |||
<meta http-equiv="Content-Language" content="en-us"> | |||
<title>CvsTagDiff Task</title> | |||
</head> | |||
<body> | |||
<h2><a name="cvstagdiff">CvsTagDiff</a></h2> | |||
<h3>Description</h3> | |||
<p>Generates an XML-formatted report file of the changes between two tags or dates recorded in a | |||
@@ -143,8 +143,8 @@ and subdirectories of <code>lib</code>.</p> | |||
</pre> | |||
<p>deletes all files with the extension <code>.bak</code> from the current directory | |||
and any subdirectories.</p> | |||
<pre> <delete includeEmptyDirs="true" > | |||
<fileset dir="build" /> | |||
<pre> <delete includeEmptyDirs="true"> | |||
<fileset dir="build"/> | |||
</delete> | |||
</pre> | |||
<p>deletes all files and subdirectories of <code>build</code>, including | |||
@@ -66,16 +66,16 @@ three lines; the first line is a blank | |||
As XML parsers are wont to do, the first newline in the text element | |||
has been included in the text. | |||
<pre><echo message="Deleting drive C:" level="debug" /></pre> | |||
<pre><echo message="Deleting drive C:" level="debug"/></pre> | |||
A message which only appears in <tt>-debug</tt> mode. | |||
<pre><echo level="error" > | |||
<pre><echo level="error"> | |||
Imminent failure in the antimatter containment facility. | |||
Please withdraw to safe location at least 50km away. | |||
</echo> | |||
</pre> | |||
A message which appears even in <tt>-quiet</tt> mode. | |||
<pre><echo file="runner.csh" append="false" >#\!/bin/tcsh | |||
<pre><echo file="runner.csh" append="false">#\!/bin/tcsh | |||
java-1.3.1 -mx1024m ${project.entrypoint} $$* | |||
</echo></pre> | |||
Generate a shell script by echoing to a file. | |||
@@ -83,7 +83,7 @@ Note the use of a double $ symbol to stop Ant | |||
filtering out the single $ during variable expansion | |||
<hr> | |||
<p align="center">Copyright © 2000-2001 Apache Software Foundation. All rights | |||
<p align="center">Copyright © 2000-2002 Apache Software Foundation. All rights | |||
Reserved.</p> | |||
</body> | |||
@@ -170,7 +170,7 @@ but some configuration problem on your machine. | |||
<h3>Examples</h3> | |||
<blockquote><pre> | |||
<exec executable="emacs" > | |||
<exec executable="emacs"> | |||
<env key="DISPLAY" value=":1.0"/> | |||
</exec> | |||
</pre></blockquote> | |||
@@ -93,7 +93,7 @@ for progress information. | |||
<pre> <get src="https://insecure-bank.org/statement/user=1214" | |||
dest="statement.html" | |||
username="1214"; | |||
password="secret" /></pre> | |||
password="secret"/></pre> | |||
<p> | |||
Fetches some file from a server with access control. Because https is being used the | |||
fact that basic auth sends passwords in plaintext is moot. | |||
@@ -80,7 +80,7 @@ continue..." and pause the build run until return key is pressed | |||
addproperty="do.delete" | |||
/> | |||
<condition property="do.abort"> | |||
<equals arg1="n" arg2="${do.delete}" /> | |||
<equals arg1="n" arg2="${do.delete}"/> | |||
</condition> | |||
<fail if="do.abort">Build aborted by user.</fail> | |||
</pre> | |||
@@ -138,7 +138,7 @@ section about <a href="exec.html#env">exec</a></p> | |||
<p>Settings will be ignored if fork is disabled.</p> | |||
<h3>Examples</h3> | |||
<pre> | |||
<java classname="test.Main" > | |||
<java classname="test.Main"> | |||
<arg value="-h"/> | |||
<classpath> | |||
<pathelement location="dist/test.jar"/> | |||
@@ -579,7 +579,7 @@ therefore, if they can be interpreted by the doclet in use.</p> | |||
element. These paramaters are restricted to simple strings. An example usage | |||
of the doclet element is shown below:</p> | |||
<pre> <javadoc ...> | |||
<pre> <javadoc ... > | |||
<doclet name="theDoclet" | |||
path="path/to/theDoclet"> | |||
<param name="-foo" value="foovalue"/> | |||
@@ -688,7 +688,7 @@ respectively.</p> | |||
<packageset dir="src" defaultexcludes="yes"> | |||
<include name="com/dummy/test/**" /> | |||
<exclude name="com/dummy/test/doc-files/**" /> | |||
<exclude name="com/dummy/test/doc-files/**"/> | |||
</packageset> | |||
<doctitle><![CDATA[<h1>Test</h1>]]></doctitle> | |||
@@ -711,7 +711,7 @@ respectively.</p> | |||
<fileset dir="src" defaultexcludes="yes"> | |||
<include name="com/dummy/test/**" /> | |||
<exclude name="com/dummy/test/doc-files/**" /> | |||
<exclude name="com/dummy/test/doc-files/**"/> | |||
</fileset> | |||
<doctitle><![CDATA[<h1>Test</h1>]]></doctitle> | |||
@@ -48,21 +48,21 @@ FilterChain</a>s. | |||
<h3>Examples</h3> | |||
<pre> <loadfile property="message" | |||
srcFile="message.txt" /> | |||
srcFile="message.txt"/> | |||
</pre> | |||
Load file message.txt into property "message"; an <tt><echo></tt> | |||
can print this. | |||
<pre> <loadfile property="encoded-file" | |||
srcFile="loadfile.xml" | |||
encoding="ISO-8859-1" /> | |||
encoding="ISO-8859-1"/> | |||
</pre> | |||
Load a file using the latin-1 encoding | |||
<pre> <loadfile | |||
property="optional.value" | |||
srcFile="optional.txt" | |||
failonerror="false" /> | |||
failonerror="false"/> | |||
</pre> | |||
Load a file, don't fail if it is missing (a message is printed, though) | |||
@@ -39,7 +39,7 @@ The LoadProperties task supports nested <a href="../CoreTypes/filterchain.html"> | |||
FilterChain</a>s. | |||
<h3>Examples</h3> | |||
<pre> <loadproperties srcFile="file.properties" /> | |||
<pre> <loadproperties srcFile="file.properties"/> | |||
</pre> | |||
Load contents of file.properties as Ant properties. | |||
@@ -164,7 +164,7 @@ the <code><message></code> element.</p> | |||
<mail from="me" | |||
tolist="you" | |||
subject="Results of nightly build" | |||
files="build.log" /> | |||
files="build.log"/> | |||
</pre></blockquote> | |||
<p>Sends an email from <i>me</i> to <i>you</i> with a subject of | |||
@@ -88,12 +88,12 @@ href="#attribute">attribute</a> elements into sections.</p> | |||
<manifest file="MANIFEST.MF"> | |||
<attribute name="Built-By" value="${user.name}"/> | |||
<section name="common"> | |||
<attribute name="Specification-Title" value="Example" /> | |||
<attribute name="Specification-Version" value="${version}" /> | |||
<attribute name="Specification-Vendor" value="Example Organization" /> | |||
<attribute name="Implementation-Title" value="common" /> | |||
<attribute name="Implementation-Version" value="${version} ${TODAY}" /> | |||
<attribute name="Implementation-Vendor" value="Example Corp." /> | |||
<attribute name="Specification-Title" value="Example"/> | |||
<attribute name="Specification-Version" value="${version}"/> | |||
<attribute name="Specification-Vendor" value="Example Organization"/> | |||
<attribute name="Implementation-Title" value="common"/> | |||
<attribute name="Implementation-Version" value="${version} ${TODAY}"/> | |||
<attribute name="Implementation-Vendor" value="Example Corp."/> | |||
</section> | |||
<section name="common/class1.class"> | |||
<attribute name="Sealed" value="false"/> | |||
@@ -103,8 +103,8 @@ followed by <filterset> elements. | |||
</pre> | |||
<p><b>Move a set of files to a new directory</b></p> | |||
<pre> | |||
<move todir="some/new/dir" > | |||
<fileset dir="my/src/dir" > | |||
<move todir="some/new/dir"> | |||
<fileset dir="my/src/dir"> | |||
<include name="**/*.jar"/> | |||
<exclude name="**/ant.jar"/> | |||
</fileset> | |||
@@ -113,8 +113,8 @@ followed by <filterset> elements. | |||
<p><b>Append <code>".bak"</code> to the names of all files | |||
in a directory.</b></p> | |||
<pre> | |||
<move todir="my/src/dir" > | |||
<fileset dir="my/src/dir" > | |||
<move todir="my/src/dir"> | |||
<fileset dir="my/src/dir"> | |||
<exclude name="**/*.bak"/> | |||
</fileset> | |||
<mapper type="glob" from="*" to="*.bak"/> | |||
@@ -32,12 +32,10 @@ file is newer.</p> | |||
</table> | |||
<h3>Examples</h3> | |||
<blockquote> | |||
<p><code><gzip src="test.tar" zipfile="test.tar.gz" | |||
/></code></p> | |||
<p><code><gzip src="test.tar" zipfile="test.tar.gz"/></code></p> | |||
</blockquote> | |||
<blockquote> | |||
<p><code><bzip2 src="test.tar" zipfile="test.tar.bz2" | |||
/></code></p> | |||
<p><code><bzip2 src="test.tar" zipfile="test.tar.bz2"/></code></p> | |||
</blockquote> | |||
<hr> | |||
<p align="center">Copyright © 2000-2002 Apache Software Foundation. All rights | |||
@@ -44,10 +44,10 @@ within the parallel block</p> | |||
<h3>Examples</h3> | |||
<pre> | |||
<parallel> | |||
<wlrun ...> | |||
<wlrun ... > | |||
<sequential> | |||
<sleep seconds="30"/> | |||
<junit ...> | |||
<junit ... > | |||
<wlstop/> | |||
</sequential> | |||
</parallel> | |||
@@ -76,7 +76,7 @@ noted above, you need to be careful that the two tasks are independent, both in | |||
terms of their dependencies and in terms of their potential interactions in | |||
Ant's external environment.</p> | |||
<hr> | |||
<p align="center">Copyright © 2001 Apache Software Foundation. All rights | |||
<p align="center">Copyright © 2001-2002 Apache Software Foundation. All rights | |||
Reserved.</p> | |||
</body> | |||
</html> | |||
@@ -77,9 +77,9 @@ to record just the <code><javac></code> task:</p> | |||
<pre> | |||
... | |||
<compile > | |||
<record name="log.txt" action="start" /> | |||
<record name="log.txt" action="start"/> | |||
<javac ... | |||
<record name="log.txt" action="stop" /> | |||
<record name="log.txt" action="stop"/> | |||
<compile/> | |||
... | |||
</pre> | |||
@@ -90,8 +90,8 @@ recorders: one to file "records-simple.log" at logging level <code>inf | |||
<code>verbose</code>.</p> | |||
<pre> | |||
... | |||
<record name="records-simple.log" /> | |||
<record name="ISO.log" loglevel="verbose" /> | |||
<record name="records-simple.log"/> | |||
<record name="ISO.log" loglevel="verbose"/> | |||
... | |||
</pre> | |||
@@ -162,9 +162,9 @@ token]]></replacevalue> | |||
<replace | |||
file="configure.sh" | |||
value="defaultvalue" | |||
propertyFile="source/name.properties" > | |||
propertyFile="source/name.properties"> | |||
<replacefilter | |||
token="@token1@" /> | |||
token="@token1@"/> | |||
<replacefilter | |||
token="@token2@" | |||
value="value2"/> | |||
@@ -21,10 +21,10 @@ sequential task.</p> | |||
<h3>Example</h3> | |||
<pre> | |||
<parallel> | |||
<wlrun ...> | |||
<wlrun ... > | |||
<sequential> | |||
<sleep seconds="30"/> | |||
<junit ...> | |||
<junit ... > | |||
<wlstop/> | |||
</sequential> | |||
</parallel> | |||
@@ -33,7 +33,7 @@ sequential task.</p> | |||
sequence, while another task is being executed in a separate thread. </p> | |||
<hr> | |||
<p align="center">Copyright © 2001 Apache Software Foundation. All rights | |||
<p align="center">Copyright © 2001-2002 Apache Software Foundation. All rights | |||
Reserved.</p> | |||
</body> | |||
</html> | |||
@@ -59,11 +59,11 @@ Sleep for about 10 mS. | |||
Sleep for about 2 seconds. | |||
<pre> <sleep hours="1" minutes="-59" seconds="-58"/></pre> | |||
<p>Sleep for one hour less 59:58, or two seconds again </p> | |||
<pre> <sleep /></pre> | |||
<pre> <sleep/></pre> | |||
Sleep for no time at all. This may yield the CPU time to another thread or process. | |||
<hr> | |||
<p align="center">Copyright © 2001 Apache Software Foundation. All rights | |||
<p align="center">Copyright © 2001-2002 Apache Software Foundation. All rights | |||
Reserved.</p> | |||
</body> | |||
@@ -218,9 +218,9 @@ operation on <i>some_other_table</i>.</p> | |||
url="jdbc:database-url" | |||
userid="sa" | |||
password="pass" > | |||
<transaction src="data1.sql" /> | |||
<transaction src="data2.sql" /> | |||
<transaction src="data3.sql" /> | |||
<transaction src="data1.sql"/> | |||
<transaction src="data2.sql"/> | |||
<transaction src="data3.sql"/> | |||
<transaction> | |||
truncate table some_other_table; | |||
</transaction> | |||
@@ -236,9 +236,9 @@ run before <code>data2.sql</code>.</p> | |||
driver="org.database.jdbcDriver" | |||
url="jdbc:database-url" | |||
userid="sa" | |||
password="pass" > | |||
password="pass"> | |||
<fileset dir="."> | |||
<include name="data*.sql" /> | |||
<include name="data*.sql"/> | |||
</fileset> | |||
<transaction> | |||
truncate table some_other_table; | |||
@@ -55,8 +55,7 @@ to perform unarchival upon. | |||
</table> | |||
<h3>Examples</h3> | |||
<blockquote> | |||
<p><code><unzip src="${tomcat_src}/tools-src.zip" dest="${tools.home}" | |||
/></code></p> | |||
<p><code><unzip src="${tomcat_src}/tools-src.zip" dest="${tools.home}"/></code></p> | |||
</blockquote> | |||
<blockquote> | |||
<p><code> | |||
@@ -72,7 +72,7 @@ file's element and attribute names.</p> | |||
<p>These are the properties loaded by this task from the previous example file.</p> | |||
<pre> <xmlproperty file="somefile.xml" collapseAttributes="true" /></pre> | |||
<pre> <xmlproperty file="somefile.xml" collapseAttributes="true"/></pre> | |||
<p>Load contents of somefile.xml as Ant properties collapsing attributes as nodes.</p> | |||
@@ -93,7 +93,7 @@ that have the text <code>Test</code> in their name.</p> | |||
a PatternSet that can be referenced in other | |||
<code><dirset></code> elements, rooted at a different directory.</p> | |||
<blockquote><pre> | |||
<dirset dir="${debug_build.dir}" > | |||
<dirset dir="${debug_build.dir}"> | |||
<patternset refid="non.test.classes"/> | |||
</dirset> | |||
</pre></blockquote> | |||
@@ -84,7 +84,7 @@ platforms.</p> | |||
<h4>Examples</h4> | |||
<blockquote><pre> | |||
<fileset dir="${server.src}" casesensitive="yes" > | |||
<fileset dir="${server.src}" casesensitive="yes"> | |||
<include name="**/*.java"/> | |||
<exclude name="**/*Test*"/> | |||
</fileset> | |||
@@ -93,8 +93,8 @@ platforms.</p> | |||
source files and don't have the text <code>Test</code> in their | |||
name.</p> | |||
<blockquote><pre> | |||
<fileset dir="${server.src}" casesensitive="yes" > | |||
<patternset id="non.test.sources" > | |||
<fileset dir="${server.src}" casesensitive="yes"> | |||
<patternset id="non.test.sources"> | |||
<include name="**/*.java"/> | |||
<exclude name="**/*Test*"/> | |||
</patternset> | |||
@@ -106,7 +106,7 @@ but wish to replace the token <code>%DATE*</code> with today's date.</p> | |||
<p>Copy all the docs but change all dates and appropriate notices as stored in a file.</p> | |||
<BLOCKQUOTE><PRE> | |||
<copy toDir="${dist.dir}/docs" > | |||
<copy toDir="${dist.dir}/docs"> | |||
<fileset dir="${build.dir}/docs"> | |||
<include name="**/*.html"> | |||
</fileset> | |||
@@ -111,7 +111,7 @@ you can use to test the existance of a property.</p> | |||
patterns to the parent patternset.</p> | |||
<h3>Examples</h3> | |||
<blockquote><pre> | |||
<patternset id="non.test.sources" > | |||
<patternset id="non.test.sources"> | |||
<include name="**/*.java"/> | |||
<exclude name="**/*Test*"/> | |||
</patternset> | |||
@@ -131,7 +131,7 @@ specify that the element should only be used if a property is set, or | |||
that it should be used only if a property is not set.</p> | |||
<p>For example</p> | |||
<blockquote><pre> | |||
<patternset id="sources" > | |||
<patternset id="sources"> | |||
<include name="std/**/*.java"/> | |||
<include name="prof/**/*.java" if="professional"/> | |||
<exclude name="**/*Test*"/> | |||
@@ -141,19 +141,19 @@ that it should be used only if a property is not set.</p> | |||
<em>professional</em> is set to some value.</p> | |||
<p>The two sets</p> | |||
<blockquote><pre> | |||
<patternset includesfile="some-file" /> | |||
<patternset includesfile="some-file"/> | |||
</pre></blockquote> | |||
<p>and</p> | |||
<blockquote><pre> | |||
<patternset> | |||
<includesfile name="some-file" /> | |||
<includesfile name="some-file"/> | |||
<patternset/> | |||
</pre></blockquote> | |||
<p>are identical. The include patterns will be read from the file | |||
<code>some-file</code>, one pattern per line.</p> | |||
<blockquote><pre> | |||
<patternset> | |||
<includesfile name="some-file" /> | |||
<includesfile name="some-file"/> | |||
<includesfile name="${some-other-file}" | |||
if="some-other-file" | |||
/> | |||
@@ -22,16 +22,16 @@ Version 1.2 - 2001/06/14<br> | |||
<li><A href="#introduction">Introduction</A> | |||
<li><A href="#tasks">The Tasks</A><A href="#introduction"></A> | |||
<ul> | |||
<li><A href="#vajload">VAJLoad</A>> | |||
<li><A href="#vajexport">VAJExport</A>> | |||
<li><A href="#vajimport">VAJImport</A>></LI></UL> | |||
<li><A href="#vajload">VAJLoad</A> | |||
<li><A href="#vajexport">VAJExport</A> | |||
<li><A href="#vajimport">VAJImport</A></LI></UL> | |||
<li><A href="#sample_buildfile">A sample build file</A><br> | |||
<li><A href="#plugin">The Plugin</A> | |||
<ul> | |||
<li><A href="#installation">Installation</A>> | |||
<li><A href="#installation">Installation</A> | |||
<li><A href="#usage">Usage</A> </LI></UL> | |||
<li><A href="#faq">Frequently Asked Questions</A>> | |||
<li><A href="#va_versions">Visual Age Versions</A>> | |||
<li><A href="#faq">Frequently Asked Questions</A> | |||
<li><A href="#va_versions">Visual Age Versions</A> | |||
<li><A href="#history">History</A><A href="#history"></A> </LI></UL> | |||
<hr> | |||
@@ -130,7 +130,7 @@ workspace.</P> | |||
<h3>Example</H3> | |||
<pre><vajload remote="localhost:32767"> | |||
<vajproject name="My Testcases" version="1.7beta"/> | |||
<vajproject name="JUnit" version="3.2" /> | |||
<vajproject name="JUnit" version="3.2"/> | |||
</vajload> | |||
</PRE> | |||
@@ -94,9 +94,9 @@ | |||
<h3>Examples</h3> | |||
<p>The following build.xml snippet is an example of how to use Borland element | |||
into the ejbjar task</p> | |||
<pre> <ejbjar srcdir="${build.classes}" basejarname="vsmp" descriptordir="${rsc.dir}/hrmanager"> | |||
<pre> <ejbjar srcdir="${build.classes}" basejarname="vsmp" descriptordir="${rsc.dir}/hrmanager"> | |||
<borland destdir="lib" verify="on" generateclient="on" version="5"> | |||
<classpath refid="classpath" /> | |||
<classpath refid="classpath"/> | |||
</borland> | |||
<include name="**\ejb-jar.xml"/> | |||
<support dir="${build.classes}"> | |||
@@ -146,7 +146,7 @@ ANTLR jar in the normal Ant lib repository will be enough.</p> | |||
VM via nested <code><jvmarg></code> attributes, for example:</p> | |||
<pre> | |||
<antlr target=...> | |||
<antlr target="..."> | |||
<jvmarg value="-Djava.compiler=NONE"/> | |||
... | |||
</antlr> | |||
@@ -53,7 +53,7 @@ Task to checkin a file | |||
<h3>Examples</h3> | |||
<blockquote> | |||
<pre><ccmcheckin file="c:/wa/com/foo/MyFile.java" | |||
comment="mycomment" /> | |||
comment="mycomment"/> | |||
</pre> | |||
</blockquote> | |||
<p>Checks in the file <i>c:/wa/com/foo/MyFile.java</i>. | |||
@@ -69,9 +69,9 @@ Task to perform a Checkin command to ClearCase. | |||
<blockquote> | |||
<pre> | |||
<cccheckin viewpath="c:/views/viewdir/afile" | |||
commentfile="acomment.txt"/> | |||
commentfile="acomment.txt" | |||
nowarn="true" | |||
identical="true" | |||
identical="true"/> | |||
</pre> | |||
</blockquote> | |||
<p>Does a ClearCase <i>checkin</i> on the file <i>c:/views/viewdir/afile</i>. | |||
@@ -254,7 +254,7 @@ A graphical dialog will be displayed. The output will be logged to | |||
time will be set to the current time.</p> | |||
<hr> | |||
<p align="center">Copyright © 2000-2001 Apache Software Foundation. All rights | |||
<p align="center">Copyright © 2000-2002 Apache Software Foundation. All rights | |||
Reserved.</p> | |||
</body> | |||
@@ -54,11 +54,11 @@ but is really for debugging build files.</p> | |||
</table> | |||
<h3>Examples</h3> | |||
<blockquote><pre> | |||
<echoproperties /> | |||
<echoproperties/> | |||
</pre></blockquote> | |||
<p>Report the current properties to the log.</p> | |||
<blockquote><pre> | |||
<echoproperties destfile="my.properties" /> | |||
<echoproperties destfile="my.properties"/> | |||
</pre></blockquote> | |||
<p>Report the current properties to the file "my.properties", and will | |||
fail the build if the file could not be created or written to.</p> | |||
@@ -111,7 +111,7 @@ is based on the standard Ant include and exclude selection mechanisms. | |||
<pre><ddcreator descriptors="${dd.dir}" | |||
dest="${gen.classes}" | |||
classpath="${descriptorbuild.classpath}"> | |||
<include name="*.txt" /> | |||
<include name="*.txt"/> | |||
</ddcreator> | |||
</pre> | |||
@@ -183,7 +183,7 @@ or are out of date, the ejbc tool is run to generate new versions.</p> | |||
dest="${gen.classes}" | |||
manifest="${build.manifest}" | |||
classpath="${descriptorbuild.classpath}"> | |||
<include name="*.ser" /> | |||
<include name="*.ser"/> | |||
</ejbc> | |||
</pre> | |||
@@ -295,20 +295,22 @@ Examples</h3> | |||
<pre><iplanet-ejbc ejbdescriptor="ejb-jar.xml" | |||
iasdescriptor="ias-ejb-jar.xml" | |||
dest="${build.classesdir}" | |||
classpath="${ias.ejbc.cpath}" /> | |||
classpath="${ias.ejbc.cpath}"/> | |||
<iplanet-ejbc ejbdescriptor="ejb-jar.xml" | |||
iasdescriptor="ias-ejb-jar.xml" | |||
dest="${build.classesdir}" | |||
keepgenerated="yes" | |||
debug="yes" | |||
iashome="${ias.home}" > | |||
iashome="${ias.home}"> | |||
<classpath> | |||
<pathelement path="." /> | |||
<pathelement path="${build.classpath}" /> | |||
<pathelement path="."/> | |||
<pathelement path="${build.classpath}"/> | |||
</classpath> | |||
</iplanet-ejbc> | |||
</pre> | |||
<hr> | |||
@@ -1347,7 +1349,7 @@ in the descriptor dir:</p> | |||
<websphere dbvendor="DB2UDBOS390_V6" | |||
ejbdeploy="true" | |||
oldCMP="false" | |||
tempdir="/tmp" | |||
tempdir="/tmp" | |||
destdir="${dist.server}"> | |||
<wasclasspath> | |||
<pathelement location="${was4.home}/deploytool/itp/plugins/org.eclipse.core.boot/boot.jar"/> | |||
@@ -1368,7 +1370,8 @@ in the descriptor dir:</p> | |||
<h3><a name="ejbjar_iplanet">iPlanet Application Server (iAS) element</a></h3> | |||
The <iplanet> nested element is used to build iAS-specific stubs and | |||
The <iplanet< nested element is used to build iAS-specific stubs and | |||
skeletons and construct a JAR file which may be deployed to the iPlanet | |||
Application Server 6.0. The build process will always determine if | |||
the EJB stubs/skeletons and the EJB-JAR file are up to date, and it will | |||
@@ -1471,35 +1474,40 @@ It will name each EJB-JAR using the "basename" prepended to each standard | |||
EJB descriptor. For example, if the descriptor named "Account-ejb-jar.xml" | |||
is processed, the EJB-JAR will be named "Account.jar" | |||
<pre> <ejbjar srcdir="${build.classesdir}" | |||
descriptordir="${src}" > | |||
descriptordir="${src}"> | |||
<iplanet destdir="${assemble.ejbjar}" | |||
classpath="${ias.ejbc.cpath}" /> | |||
classpath="${ias.ejbc.cpath}"/> | |||
<include name="**/*-ejb-jar.xml"/> | |||
<exclude name="**/*ias-*.xml"/> | |||
</ejbjar></pre> | |||
This example demonstrates the use of a nested classpath element as well | |||
as some of the other optional attributes. | |||
<pre> <ejbjar srcdir="${build.classesdir}" | |||
descriptordir="${src}" > | |||
descriptordir="${src}"> | |||
<iplanet destdir="${assemble.ejbjar}" | |||
iashome="${ias.home}" | |||
debug="yes" | |||
keepgenerated="yes" > | |||
keepgenerated="yes"> | |||
<classpath> | |||
<pathelement path="." /> | |||
<pathelement path="${build.classpath}" /> | |||
<pathelement path="."/> | |||
<pathelement path="${build.classpath}"/> | |||
</classpath> | |||
</iplanet> | |||
<include name="**/*-ejb-jar.xml"/> | |||
<exclude name="**/*ias-*.xml"/> | |||
</ejbjar></pre> | |||
This example demonstrates the use of basejarname attribute. In this | |||
case, the completed EJB-JAR will be named "HelloWorld.jar" If multiple | |||
EJB descriptors might be found, care must be taken to ensure that the completed | |||
JAR files don't overwrite each other. | |||
<pre> <ejbjar srcdir="${build.classesdir}" | |||
descriptordir="${src}" | |||
basejarname="HelloWorld" > | |||
basejarname="HelloWorld"> | |||
<iplanet destdir="${assemble.ejbjar}" | |||
classpath="${ias.ejbc.cpath}"/> | |||
<include name="**/*-ejb-jar.xml"/> | |||
@@ -1513,9 +1521,10 @@ local DTDs are found in the [iAS-install-directory]/dtd directory. | |||
<pre> <ejbjar srcdir="${build.classesdir}" | |||
descriptordir="${src}"> | |||
<iplanet destdir="${assemble.ejbjar}"> | |||
classpath="${ias.ejbc.cpath}" /> | |||
classpath="${ias.ejbc.cpath}"/> | |||
<include name="**/*-ejb-jar.xml"/> | |||
<exclude name="**/*ias-*.xml"/> | |||
<dtd publicId="-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" | |||
location="${ias.home}/APPS/ejb-jar_1_1.dtd"/> | |||
<dtd publicId="-//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN" | |||
@@ -1686,7 +1695,7 @@ directory. </p> | |||
descriptordir="${descriptor.dir}"> | |||
<jonas destdir="${deploymentjars.dir}" | |||
jonasroot="${jonas.root}" | |||
orb="RMI" /> | |||
orb="RMI"/> | |||
<include name="**/*.xml"/> | |||
<exclude name="**/jonas-*.xml"/> | |||
<support dir="${build.classes}"> | |||
@@ -1707,7 +1716,7 @@ descriptors to use the naming standard. This will create only one ejb jar file - | |||
<jonas destdir="${deploymentjars.dir}" | |||
jonasroot="${jonas.root}" | |||
suffix=".jar" | |||
classpath="${descriptorbuild.classpath}" /> | |||
classpath="${descriptorbuild.classpath}"/> | |||
<include name="**/ejb-jar.xml"/> | |||
<exclude name="**/jonas-ejb-jar.xml"/> | |||
</ejbjar> | |||
@@ -1721,4 +1730,3 @@ Reserved.</p> | |||
</body> | |||
</html> | |||
@@ -205,7 +205,7 @@ into. The file structure from the FTP site is preserved on the local machine.</ | |||
server="ftp.apache.org" | |||
userid="anonymous" | |||
password="me@myorg.com"> | |||
<fileset dir="htdocs/manual" > | |||
<fileset dir="htdocs/manual"> | |||
<include name="**/*.html"/> | |||
</fileset> | |||
</ftp> | |||
@@ -224,7 +224,7 @@ fact, the dir attribute of the fileset is ignored completely. | |||
<ftp action="del" | |||
server="ftp.apache.org" | |||
userid="anonymous" | |||
password="me@myorg.com" > | |||
password="me@myorg.com"> | |||
<fileset> | |||
<include name="**/*.tmp"/> | |||
</fileset> | |||
@@ -239,7 +239,7 @@ If you don't have permission to delete a file, a BuildException is thrown.</p> | |||
server="ftp.apache.org" | |||
userid="anonymous" | |||
password="me@myorg.com" | |||
listing="data/ftp.listing" > | |||
listing="data/ftp.listing"> | |||
<fileset> | |||
<include name="**"/> | |||
</fileset> | |||
@@ -257,7 +257,7 @@ remotedir attribute.</p> | |||
server="ftp.apache.org" | |||
userid="anonymous" | |||
password="me@myorg.com" | |||
remotedir="some/remote/dir" /> | |||
remotedir="some/remote/dir"/> | |||
</pre> | |||
<p>This creates the directory <code>some/remote/dir</code> beneath the default root | |||
directory. As with all other actions, the directory separator character must be correct | |||
@@ -77,7 +77,7 @@ systems are used.</p> | |||
</table> | |||
<p>Either outputFile or destdir must be supplied, but not both. </p> | |||
<h3>Examples</h3> | |||
<pre> <javah destdir="c" class="org.foo.bar.Wibble" /></pre> | |||
<pre> <javah destdir="c" class="org.foo.bar.Wibble"/></pre> | |||
<p>makes a JNI header of the named class, using the JDK1.2 JNI model. Assuming | |||
the directory 'c' already exists, the file <tt>org_foo_bar_Wibble.h</tt> | |||
is created there. If this file already exists, it is left unchanged.</p> | |||
@@ -112,7 +112,7 @@ describe its progress.</p> | |||
<hr> | |||
<hr> | |||
<p align="center">Copyright © 2001 Apache Software Foundation. All rights | |||
<p align="center">Copyright © 2001-2002 Apache Software Foundation. All rights | |||
Reserved.</p> | |||
</body> | |||
@@ -90,9 +90,10 @@ that represent <a href="../using.html#path">PATH like structures</a>.</p> | |||
<pre> | |||
<jdepend classpathref="base.path"> | |||
<sourcespath> | |||
<pathelement location="src" /> | |||
<pathelement location="src"/> | |||
</sourcespath> | |||
</jdepend> | |||
</pre> | |||
</blockquote> | |||
@@ -103,13 +104,14 @@ The classpath is defined using a classpath reference. | |||
<pre> | |||
<jdepend outputfile="docs/jdepend.xml" fork="yes" format="xml"> | |||
<sourcespath> | |||
<pathelement location="src" /> | |||
<pathelement location="src"/> | |||
</sourcespath> | |||
<classpath> | |||
<pathelement location="classes" /> | |||
<pathelement location="lib/jdepend.jar" /> | |||
<pathelement location="classes"/> | |||
<pathelement location="lib/jdepend.jar"/> | |||
</classpath> | |||
</jdepend> | |||
</pre> | |||
</blockquote> | |||
@@ -123,4 +125,3 @@ Reserved.</p> | |||
</html> | |||
@@ -219,7 +219,7 @@ package heirarchy beginning with com.i3sp.jsp. | |||
srcdir="interim" | |||
destdir="build" | |||
classpath="lib/taglibs.jar" | |||
debug="on" /> | |||
debug="on"/> | |||
</pre> | |||
Generate jsp pages then javac them down to | |||
bytecodes. Include lib/taglib jar in the java compilation. | |||
@@ -425,7 +425,7 @@ generates a test class name for each file that ends in | |||
<pre> | |||
<junit> | |||
<test name="my.test.TestCase" /> | |||
<test name="my.test.TestCase"/> | |||
</junit> | |||
</pre> | |||
@@ -434,8 +434,8 @@ VM. No output will be generated unless the test fails.</p> | |||
<pre> | |||
<junit printsummary="yes" fork="yes" haltonfailure="yes"> | |||
<formatter type="plain" /> | |||
<test name="my.test.TestCase" /> | |||
<formatter type="plain"/> | |||
<test name="my.test.TestCase"/> | |||
</junit> | |||
</pre> | |||
@@ -448,20 +448,20 @@ stopped if the test fails.</p> | |||
<pre> | |||
<junit printsummary="yes" haltonfailure="yes"> | |||
<classpath> | |||
<pathelement location="${build.tests}" /> | |||
<pathelement path="${java.class.path}" /> | |||
<pathelement location="${build.tests}"/> | |||
<pathelement path="${java.class.path}"/> | |||
</classpath> | |||
<formatter type="plain" /> | |||
<formatter type="plain"/> | |||
<test name="my.test.TestCase" haltonfailure="no" outfile="result" > | |||
<formatter type="xml" /> | |||
<test name="my.test.TestCase" haltonfailure="no" outfile="result"> | |||
<formatter type="xml"/> | |||
</test> | |||
<batchtest fork="yes" todir="${reports.tests}"> | |||
<fileset dir="${src.tests}"> | |||
<include name="**/*Test*.java" /> | |||
<exclude name="**/AllTests.java" /> | |||
<include name="**/*Test*.java"/> | |||
<exclude name="**/AllTests.java"/> | |||
</fileset> | |||
</batchtest> | |||
</junit> | |||
@@ -112,7 +112,7 @@ The stylesheet takes an <i>output.dir</i> parameter (otherwise it will be genera | |||
in the current directory), it can be run in Ant as follows: | |||
<pre> | |||
<style in=java "${metrics.xml}" style="mmetrics-frames.xsl" out="null.tmp"> | |||
<param name="output.dir" expression="${report.dir}quot;/> | |||
<param name="output.dir" expression="${report.dir}"/> | |||
</style> | |||
</pre> | |||
<hr> | |||
@@ -111,7 +111,7 @@ | |||
<pre> | |||
<native2ascii encoding="EUCJIS" src="srcdir" dest="srcdir" | |||
includes="**/*.eucjis" ext=".java" /> | |||
includes="**/*.eucjis" ext=".java"/> | |||
</pre> | |||
<p> | |||
@@ -121,8 +121,8 @@ | |||
</p> | |||
<pre> | |||
<native2ascii encoding='EUCJIS" src="native/japanese" dest="src" | |||
includes="**/*.java /> | |||
<native2ascii encoding="EUCJIS" src="native/japanese" dest="src" | |||
includes="**/*.java"/> | |||
</pre> | |||
<p> | |||
@@ -175,16 +175,16 @@ available from the <a href="http://www.perforce.com/" target="_top">Perforce web | |||
<h3>Taskdefs</h3> | |||
<p>Standard taskdefs (for you to copy'n'paste) -- normally this is done automatically if you install this optional task.</p> | |||
<pre> | |||
<taskdef name="p4sync" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync" /> | |||
<taskdef name="p4change" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Change" /> | |||
<taskdef name="p4edit" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Edit" /> | |||
<taskdef name="p4submit" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Submit" /> | |||
<taskdef name="p4have" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Have" /> | |||
<taskdef name="p4label" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Label" /> | |||
<taskdef name="p4counter" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Counter" /> | |||
<taskdef name="p4reopen" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen" /> | |||
<taskdef name="p4revert" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Revert" /> | |||
<taskdef name="p4add" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Add" /> | |||
<taskdef name="p4sync" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Sync"/> | |||
<taskdef name="p4change" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Change"/> | |||
<taskdef name="p4edit" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Edit"/> | |||
<taskdef name="p4submit" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Submit"/> | |||
<taskdef name="p4have" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Have"/> | |||
<taskdef name="p4label" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Label"/> | |||
<taskdef name="p4counter" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Counter"/> | |||
<taskdef name="p4reopen" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Reopen"/> | |||
<taskdef name="p4revert" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Revert"/> | |||
<taskdef name="p4add" classname="org.apache.tools.ant.taskdefs.optional.perforce.P4Add"/> | |||
</pre> | |||
<hr> | |||
@@ -215,8 +215,8 @@ available from the <a href="http://www.perforce.com/" target="_top">Perforce web | |||
</table> | |||
<h3>Examples</h3> | |||
<pre><p4sync label="nightlybuild-0.0123" force="foo" /> | |||
<p4sync view="//depot/projects/projectfoo/main/src/..." /> | |||
<pre><p4sync label="nightlybuild-0.0123" force="foo"/> | |||
<p4sync view="//depot/projects/projectfoo/main/src/..."/> | |||
</pre> | |||
<hr> | |||
@@ -280,7 +280,7 @@ although P4Edit can open files to the default change, P4Submit cannot yet submi | |||
<pre> | |||
<p4edit | |||
view="//depot/projects/projectfoo/main/src/Blah.java..." | |||
change="${p4.change}" /> | |||
change="${p4.change}"/> | |||
</pre> | |||
<hr> | |||
@@ -306,7 +306,7 @@ although P4Edit can open files to the default change, P4Submit cannot yet submi | |||
</table> | |||
<h3>Examples</h3> | |||
<pre><p4submit change="${p4.change}" /> | |||
<pre><p4submit change="${p4.change}"/> | |||
</pre> | |||
<hr> | |||
@@ -332,7 +332,7 @@ although P4Edit can open files to the default change, P4Submit cannot yet submi | |||
</table> | |||
<h3>Examples</h3> | |||
<pre><p4have /> | |||
<pre><p4have/> | |||
</pre> | |||
<hr> | |||
@@ -426,16 +426,16 @@ as defined by Perforce protections in order for this task to succeed. | |||
<h3>Examples</h3> | |||
Print the value of the counter named "last-clean-build" to the output stream: | |||
<pre> | |||
<p4counter name="last-clean-build" /> | |||
<p4counter name="last-clean-build"/> | |||
</PRE> | |||
Set the value of the counter based on the value of the "TSTAMP" property: | |||
<PRE> | |||
<p4counter name="last-clean-build" value="${TSTAMP}" /> | |||
<p4counter name="last-clean-build" value="${TSTAMP}"/> | |||
</PRE> | |||
Set the value of the "p4.last.clean.build" property to the current | |||
value of the "last-clean-build" counter: | |||
<PRE> | |||
<p4counter name="last-clean-build" property="${p4.last.clean.build}" /> | |||
<p4counter name="last-clean-build" property="${p4.last.clean.build}"/> | |||
</pre> | |||
<hr> | |||
@@ -464,12 +464,12 @@ Move (or reopen in Perforce speak) checkout files between changelists. | |||
<h3>Examples</h3> | |||
Move all open files to the default changelist | |||
<pre> | |||
<p4reopen view="//..." tochange="default" /> | |||
<p4reopen view="//..." tochange="default"/> | |||
</PRE> | |||
Create a new changelist then reopen into it, any files from the view //projects/foo/main/... | |||
<PRE> | |||
<p4change description="Move files out of the way" /> | |||
<p4reopen view="//projects/foo/main/..." tochange="${p4.change}" /> | |||
<p4change description="Move files out of the way"/> | |||
<p4reopen view="//projects/foo/main/..." tochange="${p4.change}"/> | |||
</pre> | |||
<hr> | |||
@@ -503,11 +503,11 @@ Reverts files. | |||
<h3>Examples</h3> | |||
Revert everything! | |||
<pre> | |||
<p4revert view="//..." /> | |||
<p4revert view="//..."/> | |||
</PRE> | |||
Revert any unchanged files in the default change | |||
<PRE> | |||
<p4revert change="default" revertonlyunchanged="true" /> | |||
<p4revert change="default" revertonlyunchanged="true"/> | |||
</pre> | |||
<hr> | |||
@@ -152,8 +152,8 @@ The slashes conform to the expectations of the Properties class. The file will | |||
<blockquote><pre><propertyfile | |||
file="my.properties" | |||
comment"My properties" > | |||
<entry key="akey" value="avalue" /> | |||
comment"My properties"> | |||
<entry key="akey" value="avalue"/> | |||
<entry key="adate" type="date" value="now"/> | |||
<entry key="anint" type="int" operation="+"/> | |||
<entry key="formated.int" type="int" default="0013" operation="+" pattern="0000"/> | |||
@@ -164,7 +164,7 @@ The slashes conform to the expectations of the Properties class. The file will | |||
To produce dates relative from today :</p> | |||
<blockquote><pre><propertyfile | |||
file="my.properties" | |||
comment="My properties" > | |||
comment="My properties"> | |||
<entry key="formated.date-1" | |||
type="date" default="now" pattern="DDD" | |||
operation="-" value="1"/> | |||
@@ -178,7 +178,7 @@ To produce dates relative from today :</p> | |||
Concatenation of strings :</p> | |||
<blockquote><pre><propertyfile | |||
file="my.properties" | |||
comment="My properties" > | |||
comment="My properties"> | |||
<entry key="progress" default="" operation="+" value="."/> | |||
</propertyfile> | |||
</pre></blockquote> | |||
@@ -86,7 +86,7 @@ We <b>strongly</b> recommend that you use Jakarta Oro. | |||
<pre> <replaceregexp file="${src}/build.properties" | |||
match="OldProperty=(.*)" | |||
replace="NewProperty=\1" | |||
byline="true" /> | |||
byline="true"/> | |||
</pre> | |||
<p>replaces occurrences of the property name "OldProperty" | |||
with "NewProperty" in a properties file, preserving the existing | |||
@@ -98,24 +98,24 @@ value, in the file <code>${src}/build.properties</code></p> | |||
the regular expression. You can use this element to refer to a previously | |||
defined regular expression datatype instance.</p> | |||
<blockquote> | |||
<regexp id="id" pattern="expression" /><br /> | |||
<regexp refid="id" /> | |||
<regexp id="id" pattern="expression"/><br /> | |||
<regexp refid="id"/> | |||
</blockquote> | |||
<p>This task supports a nested <i>Substitution</i> element to specify | |||
the substitution pattern. You can use this element to refer to a previously | |||
defined substitution pattern datatype instance.</p> | |||
<blockquote> | |||
<substitution id="id" pattern="expression" /><br /> | |||
<substitution refid="id" /> | |||
<substitution id="id" pattern="expression"/><br /> | |||
<substitution refid="id"/> | |||
</blockquote> | |||
<h3>Examples</h3> | |||
<blockquote> | |||
<pre> | |||
<replaceregexp byline="true"> | |||
<regexp expression="OldProperty=(.*)" /> | |||
<substitution expression="NewProperty=\1" /> | |||
<regexp expression="OldProperty=(.*)"/> | |||
<substitution expression="NewProperty=\1"/> | |||
<fileset dir="."> | |||
<includes="*.properties" /> | |||
<includes="*.properties"/> | |||
</fileset> | |||
</replaceregexp> | |||
</pre></blockquote> | |||
@@ -288,10 +288,11 @@ task. | |||
<pre> | |||
<serverdeploy action="deploy" source="${lib.dir}/ejb_myApp.jar"> | |||
<jonas server="MyJOnAS" jonasroot="${jonas.root}" > | |||
<jonas server="MyJOnAS" jonasroot="${jonas.root}"> | |||
<classpath> | |||
<pathelement path="${jonas.root}/lib/RMI_jonas.jar" /> | |||
<pathelement path="${jonas.root}/config/" /> | |||
<pathelement path="${jonas.root}/lib/RMI_jonas.jar"/> | |||
<pathelement path="${jonas.root}/config/"/> | |||
</classpath> | |||
</jonas> | |||
</serverdeploy> | |||
@@ -301,8 +302,8 @@ task. | |||
JOnAS server and a WebLogic server:</p> | |||
<pre> | |||
<serverdeploy action="list" /> | |||
<jonas jonasroot="${jonas.root}" orb="JEREMIE" /> | |||
<serverdeploy action="list"/> | |||
<jonas jonasroot="${jonas.root}" orb="JEREMIE"/> | |||
<weblogic application="myapp" | |||
server="t3://myserver:7001" | |||
classpath="${weblogic.home}/lib/weblogic.jar" | |||
@@ -315,4 +316,4 @@ JOnAS server and a WebLogic server:</p> | |||
<hr> | |||
<p align="center">Copyright © 2002 Apache Software Foundation. All rights Reserved.</p> | |||
</body> | |||
</html> | |||
</html> |
@@ -172,23 +172,17 @@ have been tested with Linux, Solaris & Windows2000.</p> | |||
</table> | |||
<h3>Example</h3> | |||
| |||
<small><sosget verbose="true"<br> | |||
| |||
recursive="true"<br> | |||
| |||
username="build"<br> | |||
| |||
password="build"<br> | |||
| |||
localpath="tmp"<br> | |||
| |||
projectpath="/SourceRoot/project1"<br> | |||
| |||
sosserverpath="192.168.10.6:8888"<br> | |||
| |||
vssserverpath="d:\vss\srcsafe.ini"/></small><br><br> | |||
<pre> | |||
<sosget verbose="true" | |||
recursive="true" | |||
username="build" | |||
password="build" | |||
localpath="tmp" | |||
projectpath="/SourceRoot/project1" | |||
sosserverpath="192.168.10.6:8888" | |||
vssserverpath="d:\vss\srcsafe.ini"/> | |||
</pre> | |||
<small>Connects to a SourceOffsite server on 192.168.10.6:8888 with | |||
build,build as the username & password. The SourceSafe database resides | |||
on the same box as the SOS server & the VSS database is at | |||
@@ -259,23 +253,14 @@ using tmp as the working directory. </small><br> | |||
</table> | |||
<h3>Example</h3> | |||
| |||
<small><soslabel username="build"<br> | |||
| |||
| |||
password="build"<br> | |||
| |||
| |||
label="test label"<br> | |||
| |||
| |||
projectpath="/SourceRoot/project1<br> | |||
| |||
| |||
sosserverpath="192.168.10.6:8888"<br> | |||
| |||
| |||
vssserverpath="d:\vss\srcsafe.ini"/></small><br><br> | |||
<pre> | |||
<soslabel username="build" | |||
password="build" | |||
label="test label" | |||
projectpath="/SourceRoot/project1 | |||
sosserverpath="192.168.10.6:8888" | |||
vssserverpath="d:\vss\srcsafe.ini"/> | |||
</pre> | |||
<small>Connects to a SourceOffsite server on 192.168.10.6:8888 with | |||
build,build as the username & password. The SourceSafe database resides | |||
@@ -372,30 +357,16 @@ on the same box as the SOS server & the VSS database is at | |||
</table> | |||
<h3>Example</h3> | |||
| |||
<small><soscheckin username="build"<br> | |||
| |||
| |||
password="build"<br> | |||
| |||
| |||
file="foobar.txt"<br> | |||
| |||
| |||
verbose="true"<br> | |||
| |||
| |||
comment="comment abc"<br> | |||
| |||
| |||
projectpath="/SourceRoot/project1"<br> | |||
| |||
| |||
sosserverpath="server1:8888"<br> | |||
| |||
| |||
vssserverpath="\\server2\vss\srcsafe.ini"/> | |||
</small><br><br> | |||
<pre> | |||
<soscheckin username="build" | |||
password="build" | |||
file="foobar.txt" | |||
verbose="true" | |||
comment="comment abc" | |||
projectpath="/SourceRoot/project1" | |||
sosserverpath="server1:8888" | |||
vssserverpath="\\server2\vss\srcsafe.ini"/> | |||
</pre> | |||
<small>Connects to a SourceOffsite server on server1:8888 with build,build as | |||
the username & password. The SourceSafe database resides on a different | |||
@@ -490,27 +461,15 @@ messages will be displayed on screen.</small><br> | |||
<br> | |||
<h3>Example</h3> | |||
| |||
<small><soscheckout soscmd="/usr/local/bin"<br> | |||
| |||
| |||
verbose="true"<br> | |||
| |||
| |||
username="build"<br> | |||
| |||
| |||
password="build"<br> | |||
| |||
| |||
projectpath="/SourceRoot/project1"<br> | |||
| |||
| |||
sosserverpath="192.168.10.6:8888"<br> | |||
| |||
| |||
vssserverpath="\\server2\vss\srcsafe.ini"/> | |||
</small><br><br> | |||
<pre> | |||
<soscheckout soscmd="/usr/local/bin" | |||
verbose="true" | |||
username="build" | |||
password="build" | |||
projectpath="/SourceRoot/project1" | |||
sosserverpath="192.168.10.6:8888" | |||
vssserverpath="\\server2\vss\srcsafe.ini"/> | |||
</pre> | |||
<small>Connects to a SourceOffsite server on server1:8888 with build,build as | |||
the username & password. The SourceSafe database resides on a different | |||
@@ -164,13 +164,13 @@ If false (default) has no effect. | |||
<pre> | |||
<stcheckout servername="STARTEAM" | |||
serverport="49201" | |||
projectname="AProject" | |||
viewname="AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
force="true" | |||
serverport="49201" | |||
projectname="AProject" | |||
viewname="AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
force="true" | |||
/> | |||
</pre> | |||
@@ -181,23 +181,23 @@ created for them and any non-StarTeam files found in the tree will be deleted. | |||
<pre> | |||
<stcheckout URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
/> | |||
</pre> | |||
And this is a simpler way of accomplishing the same thing as the previous example, using the URL attribute. | |||
<br></br> | |||
<pre> | |||
<stcheckout URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="\Dev" | |||
excludes="*.bak *.old" | |||
label="v2.6.001" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="\Dev" | |||
excludes="*.bak *.old" | |||
label="v2.6.001" | |||
forced="true" | |||
/> | |||
</pre> | |||
@@ -206,12 +206,12 @@ end in <i>.bak</i> or <i>.old</i> with the label <i>v2.6.001</i>. | |||
<pre> | |||
<stcheckout URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
/> | |||
</pre> | |||
@@ -222,13 +222,13 @@ not be checked out by this command. | |||
<pre> | |||
<stcheckout URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
recursive="false" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
recursive="false" | |||
/> | |||
</pre> | |||
This example is like the previous one, but will only check out files in | |||
@@ -236,29 +236,29 @@ C:\dev\buildtest\co, because of the turning off of the recursive attribute. | |||
<pre> | |||
<stcheckout URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
/> | |||
</pre> | |||
<br></br> | |||
<pre> | |||
<stcheckout URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
/> | |||
</pre> | |||
<br></br> | |||
<pre> | |||
<stcheckout URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co\src\java" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co\src\java" | |||
forced="true" | |||
/> | |||
</pre> | |||
@@ -345,13 +345,13 @@ change it. If false (default) lock status will not change. | |||
<pre> | |||
<stcheckin servername="STARTEAM" | |||
serverport="49201" | |||
projectname="AProject" | |||
viewname="AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
serverport="49201" | |||
projectname="AProject" | |||
viewname="AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
/> | |||
</pre> | |||
@@ -362,22 +362,22 @@ For files and folders in the local tree but not in starteam, nothing will be don | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
/> | |||
</pre> | |||
And this is a simpler way of giving the same commands as the command above using the URL shortcut. | |||
<br></br> | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="\Dev" | |||
excludes="*.bak *.old" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="\Dev" | |||
excludes="*.bak *.old" | |||
forced="true" | |||
/> | |||
</pre> | |||
@@ -386,12 +386,12 @@ end in <i>.bak</i> or <i>.old</i> from the tree rooted at"C:\dev\buildtest\co" . | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
/> | |||
</pre> | |||
@@ -402,14 +402,14 @@ not be checked in by this command. | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="src/java" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
recursive="false" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="src/java" | |||
includes="*.htm,*.html" | |||
excludes="index.*" | |||
forced="true" | |||
recursive="false" | |||
/> | |||
</pre> | |||
This example is like the previous one, but will only check in files from | |||
@@ -417,57 +417,57 @@ C:\dev\buildtest\co, because of the turning off of the recursive attribute. | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="src/java" | |||
includes="version.txt" | |||
forced="true" | |||
recursive="false" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="src/java" | |||
includes="version.txt" | |||
forced="true" | |||
recursive="false" | |||
/> | |||
</pre> | |||
This example is like the previous one, but will only check only in one file, C:\dev\buildtest\co\version.txt to the StarTeam folder src/java. | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="src/java" | |||
includes="version.java" | |||
forced="true" | |||
recursive="false" | |||
addUncontrolled="true" | |||
comment="Fix Bug #667" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
rootstarteamfolder="src/java" | |||
includes="version.java" | |||
forced="true" | |||
recursive="false" | |||
addUncontrolled="true" | |||
comment="Fix Bug #667" | |||
/> | |||
</pre> | |||
This example is like the previous one, but will only check only in one file, C:\dev\buildtest\co\version.java to the StarTeam folder src/java. Because the <i>addUncontrolled</i> attribute has been set, if StarTeam does not already control this file in this location, it will be added to the repository. Also, it will write a comment to the repository for this version of the file. | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co" | |||
forced="true" | |||
/> | |||
</pre> | |||
<br></br> | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
/> | |||
</pre> | |||
<br></br> | |||
<pre> | |||
<stcheckin URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co\src\java" | |||
forced="true" | |||
username="auser" | |||
password="secret" | |||
rootstarteamfolder="src/java" | |||
rootlocalfolder="C:\dev\buildtest\co\src\java" | |||
forced="true" | |||
/> | |||
</pre> | |||
@@ -520,11 +520,11 @@ This example shows the use of this tag. It will create a label named <i>Version | |||
<format property="nowstamp" pattern="yyyyMMddHHmmss" locale="en"/> | |||
</tstamp> | |||
<stlabel URL="STARTEAM:49201/Aproject/AView" | |||
username="auser" | |||
password="secret" | |||
label="Version 6.2" | |||
lastbuild="${nowstamp}" | |||
description="Thorough description" | |||
username="auser" | |||
password="secret" | |||
label="Version 6.2" | |||
lastbuild="${nowstamp}" | |||
description="Thorough description" | |||
/> | |||
</pre> | |||
@@ -582,8 +582,8 @@ See also <A href="#common-params">the required common StarTeam parameters</A>.<b | |||
<pre> | |||
<stlist url="WASHINGTON:49201/build" | |||
username="auser" | |||
password="secret" | |||
username="auser" | |||
password="secret" | |||
/> | |||
</pre> | |||
@@ -604,10 +604,10 @@ while adding a <i>rootlocalfolder</i> and an <i>excludes</i> param ... | |||
<pre> | |||
<stlist url="WASHINGTON:49201/build" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="srcdir2" | |||
excludes="*.properties" | |||
username="auser" | |||
password="secret" | |||
rootlocalfolder="srcdir2" | |||
excludes="*.properties" | |||
/> | |||
</pre> | |||
@@ -57,15 +57,17 @@ It follows the weblogic naming convention of putting classes in<br> | |||
Example<br> | |||
</h3> | |||
<p> | |||
<target name="jspcompile" depends="compile"><br> | |||
<wljspc src="c:\\weblogic\\myserver\\public_html" dest="c:\\weblogic\\myserver\\serverclasses" package="myapp.jsp" ><br> | |||
<classpath><br> | |||
<pathelement location="${weblogic.classpath}" /><br> | |||
<pathelement path="${compile.dest}" /><br> | |||
</classpath><br> | |||
<br> | |||
</wljspc><br> | |||
<pre> | |||
<target name="jspcompile" depends="compile"> | |||
<wljspc src="c:\\weblogic\\myserver\\public_html" dest="c:\\weblogic\\myserver\\serverclasses" package="myapp.jsp"> | |||
<classpath> | |||
<pathelement location="${weblogic.classpath}"/> | |||
<pathelement path="${compile.dest}"/> | |||
</classpath> | |||
</wljspc> | |||
</target> | |||
</pre> | |||
</p> | |||
<h3>Limitations</h3> | |||
@@ -80,4 +82,3 @@ many files at one go, it is called multiple times with one jsp file each.</li> | |||
Reserved.</p> | |||
</body> | |||
</html> | |||
@@ -91,7 +91,7 @@ element is used to perform Entity resolution.</p> | |||
<xmlvalidate file="toto.xml"/> | |||
<xmlvalidate failonerror="no" lenient="yes" warn="yes" | |||
classname="org.apache.xerces.parsers.SAXParser" > | |||
classname="org.apache.xerces.parsers.SAXParser"> | |||
classpath="lib/xerces.jar"> | |||
<fileset dir="src" includes="style/*.xsl"/> | |||
</xmlvalidate> | |||
@@ -81,14 +81,14 @@ then be used to create a jar. | |||
</p> | |||
<blockquote><pre> | |||
<jar destfile="minimal.jar" > | |||
<jar destfile="minimal.jar"> | |||
<fileset refid="reqdClasses"/> | |||
</jar> | |||
</pre></blockquote> | |||
<blockquote><pre> | |||
<classfileset id="reqdClasses" dir="${classes.dir}"> | |||
<rootfileset dir="${classes.dir}" includes="org/apache/tools/ant/Project*.class" /> | |||
<rootfileset dir="${classes.dir}" includes="org/apache/tools/ant/Project*.class"/> | |||
</classfileset> | |||
</pre></blockquote> | |||
@@ -85,7 +85,7 @@ http://java.sun.com/j2se/1.3/docs/guide/extensions/versioning.html</a>.</p> | |||
<extension id="e1" | |||
extensionName="MyExtensions" | |||
specificationVersion="1.0" | |||
specificationVendor="Peter Donald" /> | |||
specificationVendor="Peter Donald"/> | |||
</pre></blockquote> | |||
<p>Extension object that just species the specification details.</p> | |||