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 [EMAIL PROTECTED] Task#init()}. + * If you are creating a task to delegate work to, call [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]