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 33882] - Apt task with fork="false" and factory tag
Date Sun, 17 Apr 2005 00:22:20 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=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 gattojavanet@uol.com.br  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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message