Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » 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: 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?
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: Tue Apr 16 17:01:00 GMT 2024

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

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

Back to the top