please open a bug to track it, I'll lose it in my inbox otherwise... cheers, Andy
2009/1/20 Tobias Demuth <[email protected]> > Sorry, > > I must reopen this issue. I'm trying to externalize the source-path in a > named path-structure in order to be able to access it from the compile-task > as well as from the doc-task. And boom: There is my error again. As > attachment you find the export of a little test-project I made in Eclipse. I > don't understand where I fed the tasks with the source-path twice ... > > In the compile-task I included my original working setup as a comment. > > kind regards > Tobias > > Tobias Demuth schrieb: > > 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 >> >> > > _______________________________________________ > 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
