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=33882>.
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=33882





------- Additional Comments From [EMAIL PROTECTED]  2005-04-17 02:22 -------
Created an attachment (id=14736)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14736&action=view)
Forcing fork on apt task

Patches welcome, patch sent :-) Sorry for the delay.  This patch affects the
following files.

src/main/org/apache/tools/ant/taskdefs/Apt.java
- Ignores fork attribute, always use AptExternalCompilerAdapter

src/main/org/apache/tools/ant/taskdefs/compilers/AptExternalCompilerAdapter.java

- Fixes call to executeExternalCompile() to prevent command line size overflow

Please don't remove AptCompilerAdapter yet.  I filed a bug report in
java.sun.com bug database, let's see what they say.  I think that apt is
creating a class loader to load annotation factories, but is not giving it a
parent, that would explain why tools.jar must be on system classloader.  If
they fix it, we may restore non-forked execution.

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