ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r384203 - /ant/core/trunk/src/main/org/apache/tools/ant/Task.java
Date Wed, 08 Mar 2006 12:45:06 GMT
Author: stevel
Date: Wed Mar  8 04:45:05 2006
New Revision: 384203

URL: http://svn.apache.org/viewcvs?rev=384203&view=rev
Log:
commentary on bindToOwner

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/Task.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/Task.java
URL: http://svn.apache.org/viewcvs/ant/core/trunk/src/main/org/apache/tools/ant/Task.java?rev=384203&r1=384202&r2=384203&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/Task.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/Task.java Wed Mar  8 04:45:05 2006
@@ -484,7 +484,13 @@
      * Bind a task to another; use this when configuring a newly created
      * task to do work on behalf of another.
      * Project, OwningTarget, TaskName, Location and Description are all copied
+     *
+     * Important: this method does not call {@link Task#init()}.
+     * If you are creating a task to delegate work to, call {@link Task#init()}
+     * to initialize it.
+     *
      * @param owner owning target
+     * @since Ant1.7
      */
     public final void bindToOwner(Task owner) {
         setProject(owner.getProject());



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message