ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41127] - Need getter for oata.taskdefs.Ant.newProject
Date Thu, 07 Dec 2006 19:18:39 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41127>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41127





------- Additional Comments From ddevienne@gmail.com  2006-12-07 11:18 -------
Note that I faked this change a long time ago, for a task that extends Ant,
using the code below. You'd need an accessor or reflection if you can't derive
from the Ant task/class. --DD

  /**
   * Creates a new nested property element.
   * <p>
   * This call is used to catch the new project thru the created property...
   * Since the nested project is normally not accessible: Wicked!
   *
   * @return the created (unconfigured) property.
   */
  public Property createProperty() {
    Property p = super.createProperty();
    _newProject = p.getProject();
    return p;
  }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message