IAJC (ant task) doesn't seem to respect 'sourceRootCopyFilter' parm [message #1732088] |
Thu, 12 May 2016 13:41 |
Dave Brosius Messages: 34 Registered: July 2009 |
Member |
|
|
I have this ant macrodef to apply aspects to one of several jars
<macrodef name="production-iajc">
<attribute name="jar"/>
<sequential>
<echo message="applying aspects to @{jar}"/>
<iajc inpath="${snapshots.dir}/@{jar}" outjar="${target.dir}/_@{jar}" sourceRootCopyFilter="**/*.*" source="${compile.source}" target="${compile.target}" classpathref="classes.classpath">
<sourceroots>
<pathelement location="${src.dir}"/>
</sourceroots>
</iajc>
</sequential>
</macrodef>
I would expect that this would run the compiler against the specified jar (it does) and produce output in the target (it does). But i would not expect it to copy the class files it finds on the source roots to the output jar too, given the sourceRootCopyFilter specified.
But it does. I don't want this, as i am supplying the aspects as a separate jar, since i have n jars being weaved.
How does one exclude the aspects from the target jars?
|
|
|
Powered by
FUDForum. Page generated in 0.02630 seconds