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