Bug 531179 - Add compiler arg support to iajc task
Summary: Add compiler arg support to iajc task
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Ant (show other bugs)
Version: 1.9.0.RC1   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-14 16:54 EST by Andrew Clement CLA
Modified: 2018-02-14 17:16 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Clement CLA 2018-02-14 16:54:26 EST
Java9 includes a bunch of new options.  Support for those should be added but it would also be nice to have a general compilerArg option allowing compatibility with anything added in the future (compilerArg can be used to support arguments you don't yet know about). This will also work for the Java9 options until explcit support is added:

<iajc destdir="bin" failonerror="true"
     showWeaveInfo="true" source="1.9" target="1.9"
     debug="true"  fork="true"  maxmem="256m">
     <compilerArg value="--add-modules"/>
     <compilerArg value="java.xml.bind"/>
     <src path="src" />
     <classpath>
	    <pathelement location="${aspectj.home}/lib/aspectjrt.jar"/>
     </classpath>
 </iajc>
Comment 1 Andrew Clement CLA 2018-02-14 17:16:36 EST
Fixed