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 29978] New: - No way to run Apt processor for JDK 1.5
Date Thu, 08 Jul 2004 16:07:42 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=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


Mime
View raw message