Thanks for your reply. I don't know exactly where this error came from,
but after some rewriting (doesn't look anything like before), everything
works fine.
Andy Clement schrieb:
I can only imagine it is duplication somewhere on the paths you are
providing. Can you run ant with -verbose and determine the issue from
the verbose output (it should include the full command line being used
to call the compiler). Can you run this command line outside of Ant
successfully?
Andy.
2009/1/13 Tobias Demuth <[email protected]
<mailto:[email protected]>>
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] <mailto:[email protected]>
https://dev.eclipse.org/mailman/listinfo/aspectj-users
------------------------------------------------------------------------
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users