Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » IAJC (ant task) doesn't seem to respect 'sourceRootCopyFilter' parm(IAJC (ant task) doesn't seem to respect 'sourceRootCopyFilter' parm)
IAJC (ant task) doesn't seem to respect 'sourceRootCopyFilter' parm [message #1732088] Thu, 12 May 2016 13:41
Dave Brosius is currently offline Dave BrosiusFriend
Messages: 23
Registered: July 2009
Junior 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?
Previous Topic:Use of AOP for system customisation
Next Topic:This version of the rendering library is more recent than your version of ADT plug-in. Please update
Goto Forum:
  


Current Time: Mon Dec 11 13:07:43 GMT 2017

Powered by FUDForum. Page generated in 0.01561 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software