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


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




------- Additional Comments From [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to