git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269989 13f79535-47bb-0310-9956-ffa450edef68master
@@ -67,7 +67,7 @@ import org.apache.log4j.helpers.NullEnumeration; | |||||
/** | /** | ||||
* Listener which sends events to Log4j logging system | * Listener which sends events to Log4j logging system | ||||
* | * | ||||
* @author <a href="mailto:conor@apache.org>Conor MacNeill </a> | |||||
* @author <a href="mailto:conor@apache.org">Conor MacNeill</a> | |||||
*/ | */ | ||||
public class Log4jListener implements BuildListener { | public class Log4jListener implements BuildListener { | ||||
final static String LOG4J_CONFIG_PROPERTY = "log4j.configuration"; | final static String LOG4J_CONFIG_PROPERTY = "log4j.configuration"; | ||||
@@ -73,16 +73,16 @@ import java.util.Enumeration; | |||||
* Call Ant in a sub-project | * Call Ant in a sub-project | ||||
* | * | ||||
* <pre> | * <pre> | ||||
* <target name="foo" depends="init"> | |||||
* <ant antfile="build.xml" target="bar" > | |||||
* <property name="property1" value="aaaaa" /> | |||||
* <property name="foo" value="baz" /> | |||||
* </ant> | |||||
* </target> | |||||
* <target name="foo" depends="init"> | |||||
* <ant antfile="build.xml" target="bar" > | |||||
* <property name="property1" value="aaaaa" /> | |||||
* <property name="foo" value="baz" /> | |||||
* </ant></SPAN> | |||||
* </target></SPAN> | |||||
* | * | ||||
* <target name="bar" depends="init"> | |||||
* <echo message="prop is ${property1} ${foo}" /> | |||||
* </target> | |||||
* <target name="bar" depends="init"> | |||||
* <echo message="prop is ${property1} ${foo}" /> | |||||
* </target> | |||||
* </pre> | * </pre> | ||||
* | * | ||||
* | * | ||||
@@ -61,16 +61,16 @@ import org.apache.tools.ant.BuildException; | |||||
* Call another target in the same project. | * Call another target in the same project. | ||||
* | * | ||||
* <pre> | * <pre> | ||||
* <target name="foo"> | |||||
* <antcall target="bar"> | |||||
* <param name="property1" value="aaaaa" /> | |||||
* <param name="foo" value="baz" /> | |||||
* </antcall> | |||||
* </target> | |||||
* <target name="foo"> | |||||
* <antcall target="bar"> | |||||
* <param name="property1" value="aaaaa" /> | |||||
* <param name="foo" value="baz" /> | |||||
* </antcall> | |||||
* </target> | |||||
* | * | ||||
* <target name="bar" depends="init"> | |||||
* <echo message="prop is ${property1} ${foo}" /> | |||||
* </target> | |||||
* <target name="bar" depends="init"> | |||||
* <echo message="prop is ${property1} ${foo}" /> | |||||
* </target> | |||||
* </pre> | * </pre> | ||||
* | * | ||||
* <p>This only works as expected if neither property1 nor foo are | * <p>This only works as expected if neither property1 nor foo are | ||||
@@ -95,7 +95,7 @@ import org.apache.tools.ant.types.FileList; | |||||
* source vs target combination unnecessarily. | * source vs target combination unnecessarily. | ||||
* </p><p> | * </p><p> | ||||
* Example uses: | * Example uses: | ||||
* <ulist><li> | |||||
* <ul><li> | |||||
* Record the fact that an XML file must be up to date | * Record the fact that an XML file must be up to date | ||||
* with respect to its XSD (Schema file), even though the XML file | * with respect to its XSD (Schema file), even though the XML file | ||||
* itself includes no reference to its XSD. | * itself includes no reference to its XSD. | ||||
@@ -105,7 +105,7 @@ import org.apache.tools.ant.types.FileList; | |||||
* </li><li> | * </li><li> | ||||
* Record the fact that java files must be recompiled if the ant build | * Record the fact that java files must be recompiled if the ant build | ||||
* file changes | * file changes | ||||
* </li></ulist> | |||||
* </li></ul> | |||||
* | * | ||||
* @author <a href="mailto:cstrong@arielpartners.com">Craeg Strong</a> | * @author <a href="mailto:cstrong@arielpartners.com">Craeg Strong</a> | ||||
* @version $Revision$ $Date$ | * @version $Revision$ $Date$ | ||||
@@ -62,7 +62,7 @@ import org.apache.tools.ant.ProjectHelper; | |||||
* Just exit the active build, giving an additional message | * Just exit the active build, giving an additional message | ||||
* if available. | * if available. | ||||
* | * | ||||
* @author Nico Seessle <nico@seessle.de> | |||||
* @author <a href="mailto:nico@seessle.de">Nico Seessle</a> | |||||
*/ | */ | ||||
public class Exit extends Task { | public class Exit extends Task { | ||||
private String message; | private String message; | ||||
@@ -168,10 +168,10 @@ public class Javac extends MatchingTask { | |||||
} | } | ||||
/** | /** | ||||
* Create a nested <src ...> element for multiple source path | |||||
* Create a nested src element for multiple source path | |||||
* support. | * support. | ||||
* | * | ||||
* @return a nexted src element. | |||||
* @return a nested src element. | |||||
*/ | */ | ||||
public Path createSrc() { | public Path createSrc() { | ||||
if (src == null) { | if (src == null) { | ||||
@@ -74,8 +74,8 @@ import java.util.Enumeration; | |||||
* Will not override values set by the command line or parent projects. | * Will not override values set by the command line or parent projects. | ||||
* | * | ||||
* @author costin@dnt.ro | * @author costin@dnt.ro | ||||
* @author Sam Ruby <rubys@us.ibm.com> | |||||
* @author Glenn McAllister <glennm@ca.ibm.com> | |||||
* @author <a href="mailto:rubys@us.ibm.com">Sam Ruby</a> | |||||
* @author <a href="mailto:glennm@ca.ibm.com">Glenn McAllister</a> | |||||
*/ | */ | ||||
public class Property extends Task { | public class Property extends Task { | ||||
@@ -70,7 +70,7 @@ import java.util.Hashtable; | |||||
/** | /** | ||||
* This task is the manager for RecorderEntry's. It is this class | * This task is the manager for RecorderEntry's. It is this class | ||||
* that holds all entries, modifies them every time the <recorder> | |||||
* that holds all entries, modifies them every time the <recorder> | |||||
* task is called, and addes them to the build listener process. | * task is called, and addes them to the build listener process. | ||||
* @see RecorderEntry | * @see RecorderEntry | ||||
* @author <a href="mailto:jayglanville@home.com">J D Glanville</a> | * @author <a href="mailto:jayglanville@home.com">J D Glanville</a> | ||||
@@ -463,7 +463,7 @@ public class Replace extends MatchingTask { | |||||
} | } | ||||
/** | /** | ||||
* Nested <replacetoken> element. | |||||
* Nested <replacetoken> element. | |||||
*/ | */ | ||||
public NestedString createReplaceToken() { | public NestedString createReplaceToken() { | ||||
if (token == null) { | if (token == null) { | ||||
@@ -473,7 +473,7 @@ public class Replace extends MatchingTask { | |||||
} | } | ||||
/** | /** | ||||
* Nested <replacevalue> element. | |||||
* Nested <replacevalue> element. | |||||
*/ | */ | ||||
public NestedString createReplaceValue() { | public NestedString createReplaceValue() { | ||||
return value; | return value; | ||||
@@ -487,7 +487,7 @@ public class Replace extends MatchingTask { | |||||
} | } | ||||
/** | /** | ||||
* Add nested <replacefilter> element. | |||||
* Add nested <replacefilter> element. | |||||
*/ | */ | ||||
public Replacefilter createReplacefilter() { | public Replacefilter createReplacefilter() { | ||||
Replacefilter filter = new Replacefilter(); | Replacefilter filter = new Replacefilter(); | ||||
@@ -69,7 +69,7 @@ import java.io.File; | |||||
/** | /** | ||||
* Convert files from native encodings to ascii. | * Convert files from native encodings to ascii. | ||||
* | * | ||||
* @author Drew Sudell <asudell@acm.org> | |||||
* @author <a href="asudell@acm.org">Drew Sudell</a> | |||||
* @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | ||||
*/ | */ | ||||
public class Native2Ascii extends MatchingTask { | public class Native2Ascii extends MatchingTask { | ||||
@@ -149,7 +149,7 @@ import java.text.DecimalFormat; | |||||
*a newline delimiter charater. | *a newline delimiter charater. | ||||
* | * | ||||
* @author Thomas Christen <a href="mailto:chr@active.ch">chr@active.ch</a> | * @author Thomas Christen <a href="mailto:chr@active.ch">chr@active.ch</a> | ||||
* @author Jeremy Mawson <a href="mailto:jem@loftinspace.com.au>jem@loftinspace.com.au</a> | |||||
* @author Jeremy Mawson <a href="mailto:jem@loftinspace.com.au">jem@loftinspace.com.au</a> | |||||
*/ | */ | ||||
public class PropertyFile extends Task | public class PropertyFile extends Task | ||||
{ | { | ||||
@@ -295,7 +295,7 @@ public class CCMCreateTask extends Continuus implements ExecuteStreamHandler { | |||||
/** | /** | ||||
* | * | ||||
* @exception java.io.IOException <description> | |||||
* @exception java.io.IOException | |||||
*/ | */ | ||||
public void start() throws IOException { | public void start() throws IOException { | ||||
} | } | ||||
@@ -308,16 +308,16 @@ public class CCMCreateTask extends Continuus implements ExecuteStreamHandler { | |||||
/** | /** | ||||
* | * | ||||
* @param param1 <description> | |||||
* @exception java.io.IOException <description> | |||||
* @param param1 | |||||
* @exception java.io.IOException | |||||
*/ | */ | ||||
public void setProcessInputStream(OutputStream param1) throws IOException { | public void setProcessInputStream(OutputStream param1) throws IOException { | ||||
} | } | ||||
/** | /** | ||||
* | * | ||||
* @param param1 <description> | |||||
* @exception java.io.IOException <description> | |||||
* @param param1 | |||||
* @exception java.io.IOException | |||||
*/ | */ | ||||
public void setProcessErrorStream(InputStream is) throws IOException { | public void setProcessErrorStream(InputStream is) throws IOException { | ||||
BufferedReader reader = new BufferedReader(new InputStreamReader(is)); | BufferedReader reader = new BufferedReader(new InputStreamReader(is)); | ||||
@@ -431,8 +431,8 @@ public class BorlandDeploymentTool extends GenericDeploymentTool implements Exe | |||||
/** | /** | ||||
* | * | ||||
* @param param1 <description> | |||||
* @exception java.io.IOException <description> | |||||
* @param is | |||||
* @exception java.io.IOException | |||||
*/ | */ | ||||
public void setProcessOutputStream(InputStream is) throws IOException | public void setProcessOutputStream(InputStream is) throws IOException | ||||
{ | { | ||||
@@ -458,8 +458,8 @@ public class BorlandDeploymentTool extends GenericDeploymentTool implements Exe | |||||
} | } | ||||
/** | /** | ||||
* @param param1 <description> | |||||
* @exception java.io.IOException <description> | |||||
* @param param1 | |||||
* @exception java.io.IOException | |||||
*/ | */ | ||||
public void setProcessErrorStream(InputStream is) throws IOException | public void setProcessErrorStream(InputStream is) throws IOException | ||||
{ | { | ||||
@@ -132,7 +132,7 @@ public class DescriptorHandler extends org.xml.sax.HandlerBase { | |||||
protected Hashtable ejbFiles = null; | protected Hashtable ejbFiles = null; | ||||
/** | /** | ||||
* Instance variable that stores the value found in the <ejb-name> element | |||||
* Instance variable that stores the value found in the <ejb-name> element | |||||
*/ | */ | ||||
protected String ejbName = null; | protected String ejbName = null; | ||||
@@ -243,7 +243,7 @@ public class DescriptorHandler extends org.xml.sax.HandlerBase { | |||||
} | } | ||||
/** | /** | ||||
* Getter method that returns the value of the <ejb-name> element. | |||||
* Getter method that returns the value of the <ejb-name> element. | |||||
*/ | */ | ||||
public String getEjbName() { | public String getEjbName() { | ||||
return ejbName; | return ejbName; | ||||
@@ -100,15 +100,15 @@ import java.util.StringTokenizer; | |||||
* | * | ||||
* <pre> | * <pre> | ||||
* example | * example | ||||
* <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> | |||||
* <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> | |||||
* </wljspc> | |||||
* </target> | |||||
* </pre> | * </pre> | ||||
* | * | ||||
*/ | */ | ||||
@@ -69,7 +69,7 @@ import java.util.Vector; | |||||
/** | /** | ||||
* Class to provide automated telnet protocol support for the Ant build tool | * Class to provide automated telnet protocol support for the Ant build tool | ||||
* | * | ||||
* @author Scott Carlson<a href="mailto:ScottCarlson@email.com">ScottCarlson@email.com</a> | |||||
* @author <a href="mailto:ScottCarlson@email.com">ScottCarlson@email.com</a> | |||||
* @version $Revision$ | * @version $Revision$ | ||||
*/ | */ | ||||
@@ -206,7 +206,7 @@ public class TelnetTask extends Task { | |||||
} | } | ||||
/** | /** | ||||
* A subTask <read> tag was found. Create the object, | |||||
* A subTask <read> tag was found. Create the object, | |||||
* Save it in our list, and return it. | * Save it in our list, and return it. | ||||
*/ | */ | ||||
@@ -218,7 +218,7 @@ public class TelnetTask extends Task { | |||||
} | } | ||||
/** | /** | ||||
* A subTask <write> tag was found. Create the object, | |||||
* A subTask <write> tag was found. Create the object, | |||||
* Save it in our list, and return it. | * Save it in our list, and return it. | ||||
*/ | */ | ||||
public TelnetSubTask createWrite() | public TelnetSubTask createWrite() | ||||
@@ -72,7 +72,10 @@ import java.text.SimpleDateFormat; | |||||
* | * | ||||
* Label name defaults to AntLabel if none set. | * Label name defaults to AntLabel if none set. | ||||
* | * | ||||
* Example Usage: <P4Label name="MyLabel-${TSTAMP}-${DSTAMP}" desc="Auto Build Label" /> | |||||
* Example Usage: | |||||
* <pre> | |||||
* <P4Label name="MyLabel-${TSTAMP}-${DSTAMP}" desc="Auto Build Label" /> | |||||
* </pre> | |||||
* | * | ||||
* @author <A HREF="mailto:leslie.hughes@rubus.com">Les Hughes</A> | * @author <A HREF="mailto:leslie.hughes@rubus.com">Les Hughes</A> | ||||
*/ | */ | ||||
@@ -93,9 +93,9 @@ import org.apache.tools.ant.types.Commandline; | |||||
* update those files that have a modification time (in PVCS) that is newer | * update those files that have a modification time (in PVCS) that is newer | ||||
* than the existing workfile. | * than the existing workfile. | ||||
* | * | ||||
* @author Thomas Christensen <tchristensen@nordija.com> | |||||
* @author Don Jeffery <donj@apogeenet.com> | |||||
* @author Steven E. Newton <snewton@standard.com> | |||||
* @author <a href="mailto:tchristensen@nordija.com">Thomas Christensen</a> | |||||
* @author <a href="mailto:donj@apogeenet.com">Don Jeffery</a> | |||||
* @author <a href="snewton@standard.com">Steven E. Newton</a> | |||||
*/ | */ | ||||
public class Pvcs extends org.apache.tools.ant.Task { | public class Pvcs extends org.apache.tools.ant.Task { | ||||
private String pvcsbin; | private String pvcsbin; | ||||
@@ -78,7 +78,7 @@ public class Socket { | |||||
port = value.intValue(); | port = value.intValue(); | ||||
} | } | ||||
/** if no host is set, returning ':<port>', will take localhost */ | |||||
/** if no host is set, returning ':<port>', will take localhost */ | |||||
public String toString() { | public String toString() { | ||||
return host + ":" + port; | return host + ":" + port; | ||||
} | } | ||||
@@ -258,7 +258,7 @@ public class XMLReport { | |||||
} | } | ||||
/** | /** | ||||
* Convert to a CovReport-like signature ie, <classname>.<method>() | |||||
* Convert to a CovReport-like signature ie, <classname>.<method>() | |||||
*/ | */ | ||||
protected String getMethodSignature(ClassFile clazz, MethodInfo method) { | protected String getMethodSignature(ClassFile clazz, MethodInfo method) { | ||||
StringBuffer buf = new StringBuffer(clazz.getFullName()); | StringBuffer buf = new StringBuffer(clazz.getFullName()); | ||||
@@ -66,7 +66,7 @@ import java.lang.reflect.Method; | |||||
/** | /** | ||||
* The implementation of the rmic for Kaffe | * The implementation of the rmic for Kaffe | ||||
* | * | ||||
* @author Takashi Okamoto <tokamoto@rd.nttdata.co.jp> | |||||
* @author <a href="mailto:tokamoto@rd.nttdata.co.jp">Takashi Okamoto</a> | |||||
*/ | */ | ||||
public class KaffeRmic extends DefaultRmicAdapter { | public class KaffeRmic extends DefaultRmicAdapter { | ||||
@@ -69,7 +69,7 @@ import org.apache.tools.ant.util.FileNameMapper; | |||||
* task, the execute command and a parameterless constructor (for | * task, the execute command and a parameterless constructor (for | ||||
* reflection).</p> | * reflection).</p> | ||||
* | * | ||||
* @author Takashi Okamoto <tokamoto@rd.nttdata.co.jp> | |||||
* @author <a href="mailto:tokamoto@rd.nttdata.co.jp">Takashi Okamoto</a> | |||||
* @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | * @author <a href="mailto:stefan.bodewig@epost.de">Stefan Bodewig</a> | ||||
*/ | */ | ||||
@@ -61,7 +61,7 @@ import org.apache.tools.ant.Task; | |||||
/** | /** | ||||
* Creates the necessary rmic adapter, given basic criteria. | * Creates the necessary rmic adapter, given basic criteria. | ||||
* | * | ||||
* @author Takashi Okamoto <tokamoto@rd.nttdata.co.jp> | |||||
* @author <a href="mailto:tokamoto@rd.nttdata.co.jp">Takashi Okamoto</a> | |||||
* @author <a href="mailto:jayglanville@home.com">J D Glanville</a> | * @author <a href="mailto:jayglanville@home.com">J D Glanville</a> | ||||
*/ | */ | ||||
public class RmicAdapterFactory { | public class RmicAdapterFactory { | ||||
@@ -67,7 +67,7 @@ import java.lang.reflect.Method; | |||||
/** | /** | ||||
* The implementation of the rmic for SUN's JDK. | * The implementation of the rmic for SUN's JDK. | ||||
* | * | ||||
* @author Takashi Okamoto <tokamoto@rd.nttdata.co.jp> | |||||
* @author <a href="mailto:tokamoto@rd.nttdata.co.jp">Takashi Okamoto</a> | |||||
*/ | */ | ||||
public class SunRmic extends DefaultRmicAdapter { | public class SunRmic extends DefaultRmicAdapter { | ||||
@@ -67,7 +67,7 @@ import java.lang.reflect.Method; | |||||
/** | /** | ||||
* The implementation of the rmic for WebLogic | * The implementation of the rmic for WebLogic | ||||
* | * | ||||
* @author Takashi Okamoto <tokamoto@rd.nttdata.co.jp> | |||||
* @author <a href="mailto:tokamoto@rd.nttdata.co.jp">Takashi Okamoto</a> | |||||
*/ | */ | ||||
public class WLRmic extends DefaultRmicAdapter { | public class WLRmic extends DefaultRmicAdapter { | ||||
@@ -59,7 +59,7 @@ package org.apache.tools.ant.types; | |||||
/** | /** | ||||
* Description is used to provide a project-wide description element | * Description is used to provide a project-wide description element | ||||
* (that is, a description that applies to a buildfile as a whole). | * (that is, a description that applies to a buildfile as a whole). | ||||
* If present, the <description> element is printed out before the | |||||
* If present, the <description> element is printed out before the | |||||
* target descriptions. | * target descriptions. | ||||
* | * | ||||
* Description has no attributes, only text. There can only be one | * Description has no attributes, only text. There can only be one | ||||