This content has been marked as final.
Show 4 replies
-
1. Re: Problem with aopc task
kabirkhan Jul 27, 2005 8:15 AM (in response to ejain)It looks like you have the same .class files defined in several locations.
-
2. Re: Problem with aopc task
ejain Jul 27, 2005 10:41 AM (in response to ejain)The full text of the warning is:
[aopc] [warning] Trying to compile C:\Documents and Settings\Eric\My Documents\Projects\Aspects\build\test\ObjectHolder.class and found it also within file:/C:/Documents%20and%20Settings/Eric/My%20Documents/Projects/Aspects/build/test/ObjectHolder.class will not proceed.
So the file does seem to be the same, but somehow it's twice in the classpath (or whatever), with different but equivalent syntax!
Currently I have this in the aopc task:<classpath path="build"/> <src path="build"/>
What's the difference between the "classpath" and the "src" element? -
3. Re: Problem with aopc task
kabirkhan Jul 27, 2005 10:56 AM (in response to ejain)Try putting your project in a directory without spaces in the path name.
Docu for the ant task:
http://docs.jboss.com/aop/1.3/aspect-framework/reference/en/html/compiling.html#ant -
4. Re: Problem with aopc task
ejain Jul 27, 2005 11:16 AM (in response to ejain)That seems to help! Opened an issue for this:
http://jira.jboss.com/jira/browse/JBAOP-160