Hi,
I have some problems compiling my project using Ant and the iajc-task:
The project contains classes and aspects, aspects are named .aj. If I
run the following Ant-script, I always get "already defined"-errors for
all of my classes:
<!-- Load the AspectJ-Tasks -->
<taskdef
resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties"
classpath=".;${AJ_TOOLS}"
/>
<target name="compile" depends="prepare">
<path id="classpath">
<pathelement path="." />
<pathelement path="${AJ_RT}" />
<pathelement path="${JRE_LIB}" />
</path>
<path id="srcRoots">
<dirset dir="./src" id="id">
<include name="**/*" />
<exclude name="**/test/**"/><!-- Exclude test-packages -->
</dirset>
</path>
<iajc sourceRootsRef="srcRoots" classpathRef="classpath"
destdir="${BUILD_LOC}" source="1.5" />
</target>
What am I doing wrong?
kind regards
Tobias
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users