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 33433] - <presetdef name="exec"> breaks <signjar>
Date Mon, 21 Feb 2005 17:03:59 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=33433>.
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=33433





------- Additional Comments From alexeys@inventigo.com  2005-02-21 18:03 -------
Thank you. Now I am thinking that <presetdef> could be implemented differently
(it would also remove unnecessary redifinition warnings):

// in pseudo code
project.setDefaults(name, attributes); // remember attribute values
if (getClass(name)==null || !getClass(name).equals(getClass(oldName))) {
  project.registerClass(name, getClass(oldName)); // use old class for redifinition
}


Project.createTask(...) { // creates new task and applies preset attributes

  Task newTask=....;
  setDefaultAttributes(newTask);
  return newTask;
}

-- 
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