PR: 12193 and 12195 Submitted by: Larry Shatzer git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273287 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -57,9 +57,9 @@ classpath.</p> | |||
| <pre> | |||
| <condition property="isMacOsButNotMacOsX"> | |||
| <and> | |||
| <os family="mac" /> | |||
| <os family="mac" /> | |||
| <not> | |||
| <os family="unix" /> | |||
| <os family="unix" /> | |||
| </not> | |||
| </and> | |||
| </condition> | |||
| @@ -70,14 +70,14 @@ 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 | |||
| operating system is SunOS and if it is running on a sparc architecture.</p> | |||
| <hr> | |||
| <p align="center">Copyright © 2001 Apache Software | |||
| <p align="center">Copyright © 2001-2002 Apache Software | |||
| Foundation. All rights Reserved.</p> | |||
| </body> | |||
| @@ -116,7 +116,7 @@ them.</p> | |||
| <replace dir="${src}" value="wombat"> | |||
| <include name="**/*.html"/> | |||
| <replacetoken><![CDATA[multi line | |||
| token]]></replacetoken> | |||
| token]]></replacetoken> | |||
| </replace> | |||
| </pre></blockquote> | |||
| <p>replaces occurrences of the string "multi | |||
| @@ -126,9 +126,9 @@ the platform specific line separator.</p> | |||
| <blockquote><pre> | |||
| <replace file="${src}/index.html"> | |||
| <replacetoken><![CDATA[two line | |||
| token]]></replacetoken> | |||
| token]]></replacetoken> | |||
| <replacevalue><![CDATA[two line | |||
| token]]></replacevalue> | |||
| token]]></replacevalue> | |||
| </replace> | |||
| </pre></blockquote> | |||
| <h4>replacefilter</h4> | |||
| @@ -13,7 +13,7 @@ say you wanted to copy just those lines that contained the | |||
| string blee from the first 10 lines of a file 'foo' | |||
| to a file 'bar' - you would do something like<P> | |||
| <code> | |||
| cat foo|head -n10|grep blee > bar | |||
| cat foo|head -n10|grep blee > bar | |||
| </code><P> | |||
| Ant was not flexible enough. There was no way for the | |||
| <copy> task to do something similar. If you wanted | |||
| @@ -21,14 +21,14 @@ href="ftp://jext.sourceforge.net/pub/jext/plugins/AntWork.zip">ftp://jext.source | |||
| <h2>Installation instructions from the Readme.txt:</h2> | |||
| <p>You have to enable the Jext Console to see the Ant output (menu: | |||
| Edit->Options... - General Panel), because the Ant messages are | |||
| Edit->Options... - General Panel), because the Ant messages are | |||
| redirected to the Jext console.</p> | |||
| <p>You can configure the Ant call in the Jext menu: Edit->Options... - | |||
| <p>You can configure the Ant call in the Jext menu: Edit->Options... - | |||
| Plugin Options - Antwork Plugin Panel; here you can set the ant home | |||
| directory and the path to your build file.</p> | |||
| <p>You can start AntWork in the menu: Plugins->Ant->Work Now! In the | |||
| <p>You can start AntWork in the menu: Plugins->Ant->Work Now! In the | |||
| appearing dialog box you can enter the target which you want to | |||
| compile.</p> | |||
| @@ -37,6 +37,6 @@ Jext. With a double-click on the error-message you jump to the error | |||
| in the specified java text file.</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> | |||
| @@ -295,19 +295,19 @@ 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}" > | |||
| <classpath> | |||
| <pathelement path="." /> | |||
| <pathelement path="${build.classpath}" /> | |||
| </classpath> | |||
| </iplanet-ejbc> | |||
| iashome="${ias.home}" > | |||
| <classpath> | |||
| <pathelement path="." /> | |||
| <pathelement path="${build.classpath}" /> | |||
| </classpath> | |||
| </iplanet-ejbc> | |||
| </pre> | |||
| @@ -1368,7 +1368,7 @@ 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 | |||
| @@ -1462,65 +1462,65 @@ If omitted, it defaults to ".jar". </td> | |||
| </tr> | |||
| </table> | |||
| <p>As noted above, the iplanet element supports additional <classpath> | |||
| <p>As noted above, the iplanet element supports additional <classpath> | |||
| nested elements.</p> | |||
| <h3> | |||
| Examples</h3> | |||
| This example demonstrates the typical use of the <iplanet> nested element. | |||
| This example demonstrates the typical use of the <iplanet> nested element. | |||
| 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}" /> | |||
| <include name="**/*-ejb-jar.xml"/> | |||
| <exclude name="**/*ias-*.xml"/> | |||
| </ejbjar></pre> | |||
| 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" > | |||
| <classpath> | |||
| <pathelement path="." /> | |||
| <pathelement path="${build.classpath}" /> | |||
| </classpath> | |||
| </iplanet> | |||
| <include name="**/*-ejb-jar.xml"/> | |||
| <exclude name="**/*ias-*.xml"/> | |||
| </ejbjar></pre> | |||
| keepgenerated="yes" > | |||
| <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"/> | |||
| <exclude name="**/*ias-*.xml"/> | |||
| </ejbjar></pre> | |||
| classpath="${ias.ejbc.cpath}"/> | |||
| <include name="**/*-ejb-jar.xml"/> | |||
| <exclude name="**/*ias-*.xml"/> | |||
| </ejbjar></pre> | |||
| This example demonstrates the use of the dtd nested element. If the local | |||
| copies of the DTDs are included in the classpath, they will be automatically | |||
| referenced without the nested elements. In iAS 6.0 SP2, these local DTDs are | |||
| found in the [iAS-install-directory]/APPS directory. In iAS 6.0 SP3, these | |||
| 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}" /> | |||
| <include name="**/*-ejb-jar.xml"/> | |||
| <exclude name="**/*ias-*.xml"/> | |||
| descriptordir="${src}"> | |||
| <iplanet destdir="${assemble.ejbjar}"> | |||
| 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"/> | |||
| location="${ias.home}/APPS/ejb-jar_1_1.dtd"/> | |||
| <dtd publicId="-//Sun Microsystems, Inc.//DTD iAS Enterprise JavaBeans 1.0//EN" | |||
| location="${ias.home}/APPS/IASEjb_jar_1_0.dtd"/> | |||
| </ejbjar></pre> | |||
| location="${ias.home}/APPS/IASEjb_jar_1_0.dtd"/> | |||
| </ejbjar></pre> | |||
| <h3><a name="ejbjar_jonas">JOnAS (Java Open Application Server) element</a></h3> | |||
| @@ -88,11 +88,11 @@ that represent <a href="../using.html#path">PATH like structures</a>.</p> | |||
| <blockquote> | |||
| <pre> | |||
| <jdepend classpathref="base.path"> | |||
| <sourcespath> | |||
| <pathelement location="src" /> | |||
| </sourcespath> | |||
| </jdepend> | |||
| <jdepend classpathref="base.path"> | |||
| <sourcespath> | |||
| <pathelement location="src" /> | |||
| </sourcespath> | |||
| </jdepend> | |||
| </pre> | |||
| </blockquote> | |||
| @@ -101,15 +101,15 @@ The classpath is defined using a classpath reference. | |||
| <blockquote> | |||
| <pre> | |||
| <jdepend outputfile="docs/jdepend.xml" fork="yes" format="xml"> | |||
| <sourcespath> | |||
| <pathelement location="src" /> | |||
| </sourcespath> | |||
| <classpath> | |||
| <pathelement location="classes" /> | |||
| <pathelement location="lib/jdepend.jar" /> | |||
| </classpath> | |||
| </jdepend> | |||
| <jdepend outputfile="docs/jdepend.xml" fork="yes" format="xml"> | |||
| <sourcespath> | |||
| <pathelement location="src" /> | |||
| </sourcespath> | |||
| <classpath> | |||
| <pathelement location="classes" /> | |||
| <pathelement location="lib/jdepend.jar" /> | |||
| </classpath> | |||
| </jdepend> | |||
| </pre> | |||
| </blockquote> | |||
| @@ -166,14 +166,14 @@ Example</h3> | |||
| outputdirectory="build/src" | |||
| javacchome="c:/program files/JavaCC" | |||
| nodeusesparser="true" | |||
| /></pre> | |||
| /></pre> | |||
| </blockquote> | |||
| This invokes JJTree on grammar file src/Parser.jjt, writing the generated | |||
| grammar file, Parser.jj, file to build/src. The grammar option NODE_USES_PARSER | |||
| is set to true when invoking JJTree. | |||
| <br> | |||
| <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> | |||
| @@ -288,7 +288,7 @@ 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/" /> | |||
| @@ -85,7 +85,7 @@ more than once. | |||
| <blockquote> | |||
| <pre> | |||
| <target name="fun" if="fun" unless="fun.done"> | |||
| <sound> | |||
| <sound> | |||
| <success source="//intranet/sounds/success"/> | |||
| <fail source="//intranet/sounds/failure"/> | |||
| </sound> | |||
| @@ -90,7 +90,7 @@ proxy attributes. | |||
| <blockquote><pre> | |||
| <splash imageurl="http://jakarta.apache.org/images/jakarta-logo.gif" | |||
| useproxy="true" | |||
| showduration="5000"/> | |||
| showduration="5000"/> | |||
| </pre></blockquote> | |||
| <p>Splashes the jakarta logo, for | |||
| @@ -57,15 +57,15 @@ 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> | |||
| <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> | |||
| <pathelement location="${weblogic.classpath}" /><br> | |||
| <pathelement path="${compile.dest}" /><br> | |||
| </classpath><br> | |||
| <br> | |||
| </wljspc><br> | |||
| </target> | |||
| </target> | |||
| </p> | |||
| <h3>Limitations</h3> | |||
| @@ -76,7 +76,7 @@ Example<br> | |||
| many files at one go, it is called multiple times with one jsp file each.</li> | |||
| </ul> | |||
| <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> | |||
| @@ -213,33 +213,33 @@ the java command appropriately.</p> | |||
| AnsiColorLogger.*=Attribute;Foreground;Background | |||
| Attribute is one of the following: | |||
| 0 -> Reset All Attributes (return to normal mode) | |||
| 1 -> Bright (Usually turns on BOLD) | |||
| 2 -> Dim | |||
| 3 -> Underline | |||
| 5 -> link | |||
| 7 -> Reverse | |||
| 8 -> Hidden | |||
| 0 -> Reset All Attributes (return to normal mode) | |||
| 1 -> Bright (Usually turns on BOLD) | |||
| 2 -> Dim | |||
| 3 -> Underline | |||
| 5 -> link | |||
| 7 -> Reverse | |||
| 8 -> Hidden | |||
| Foreground is one of the following: | |||
| 30 -> Black | |||
| 31 -> Red | |||
| 32 -> Green | |||
| 33 -> Yellow | |||
| 34 -> Blue | |||
| 35 -> Magenta | |||
| 36 -> Cyan | |||
| 37 -> White | |||
| 30 -> Black | |||
| 31 -> Red | |||
| 32 -> Green | |||
| 33 -> Yellow | |||
| 34 -> Blue | |||
| 35 -> Magenta | |||
| 36 -> Cyan | |||
| 37 -> White | |||
| Background is one of the following: | |||
| 40 -> Black | |||
| 41 -> Red | |||
| 42 -> Green | |||
| 43 -> Yellow | |||
| 44 -> Blue | |||
| 45 -> Magenta | |||
| 46 -> Cyan | |||
| 47 -> White</pre> | |||
| 40 -> Black | |||
| 41 -> Red | |||
| 42 -> Green | |||
| 43 -> Yellow | |||
| 44 -> Blue | |||
| 45 -> Magenta | |||
| 46 -> Cyan | |||
| 47 -> White</pre> | |||
| <blockquote> | |||
| @@ -94,7 +94,7 @@ Options: | |||
| -buildfile <file> use given buildfile | |||
| -file <file> '' | |||
| -f <file> '' | |||
| -D<property>=<value> use value for given property | |||
| -D<property>=<value> use value for given property | |||
| -propertyfile <name> load all properties from file with -D | |||
| properties taking precedence | |||
| -inputhandler <class> the class which will handle input requests | |||