Skip to main content

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: 24
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"/>
<echo message="applying aspects to @{jar}"/>
<iajc inpath="${snapshots.dir}/@{jar}" outjar="${target.dir}/_@{jar}" sourceRootCopyFilter="**/*.*" source="${compile.source}" target="${}" classpathref="classes.classpath">
<pathelement location="${src.dir}"/>

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: Sun Feb 23 02:49:21 GMT 2020

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

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

Back to the top