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 2004/07/08 18:07:42 UTC
DO NOT REPLY [Bug 29978] New: -
No way to run Apt processor for JDK 1.5
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=29978>.
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=29978
No way to run Apt processor for JDK 1.5
Summary: No way to run Apt processor for JDK 1.5
Product: Ant
Version: 1.6.2beta1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Enhancement
Priority: Other
Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: mattinger@yahoo.com
I've created an Apt task, and a corresponding compiler adapter which runs apt
executable to kick off the compile. The task forces the compiler to this
compiler adapter, and also forces the forking to true. In addition, it allows
addition attributes and subelements for the Apt arguments. Please let me know
if there is interest in including this in the core Ant distribution.
<target name="compile">
<apt srcdir="${src.dir}"
destdir="${classes.dir}"
preprocessdir="${preprocess.dir}"
debug="on"
deprecation="off"
optimize="on"
includeAntRuntime="no"
nocompile="false">
</apt>
This also supports a "factory" attribute corresponding to the -factory
parameter, and a "factorypathref" attribute and "factorypath" element to
correspond to the -factorypath argument.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org