You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/08/18 23:19:27 UTC
DO NOT REPLY [Bug 36256] -
Project.executeTarget() doesn't update target task arguments on multiple calls from a Script Task
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=36256>.
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=36256
gudnabrsam@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From gudnabrsam@yahoo.com 2005-08-18 23:19 -------
without mentioning the nightmares that will haunt me as a result of having
actually tried to understand WHAT you are doing, let alone WHY... it looks like
your main problem may have to do with reusing your task... one problem is
probably your CLASS_NAME property is evaluated only when the fileset is created
for your target... which takes place once. If you get a reference to your
javac task and call its reconfigure() method prior to invoking it, that might
help. A quick fix might be to declare the final fileset in your script and
reset its includes attribute with each call, replacing the javac fileset with a
reference to your scripted fileset. Also, Project.createTask/DataType(typename)
is no longer recommended. Your builds will be more stable if you directly
instantiate the class you want to use. I hope that this was JUST an example
since there are obviously much easier ways to accomplish the task depicted here.
All in all you can't expect Ant to take such abuse with a smile...
--
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