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 36256] - Project.executeTarget() doesn't update target task arguments on multiple calls from a Script Task
Date Thu, 18 Aug 2005 21:55:36 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=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





------- Additional Comments From andreok@mail.com  2005-08-18 23:55 -------
Hello Matt,

Thanks for your help.

Sorry about my example (I know that it looks idiot because a simple fileset 
task inside the javac task is sufficient, but in my real problem I'm using a 
extremely complicated xdoclet task, so I preferred to replace it with the javac 
one). You got the point... the real problem is related to multiple calls to a 
target...

The quick fix "... 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." doesn't work with other tasks...

The suggestion "Your builds will be more stable if you directly
instantiate the class you want to use." looks fine, I'll try it...

Thanks,
       Andre Kovacs

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