[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] AspectJ weaving problem
|
$ ajc -X
AspectJ Compiler non-standard options:
...
-Xreweavable create class files that can be subsequently rewoven
by AspectJ. Deprecated, this is now on by default.
Eric
2008/6/3 Mattia <mattiar82@xxxxxxxxx>:
> Hi all,
> I'm working with an AspectJ project using the aspect path to weave some
> external aspects to the Java program.
>
> Now, I'm trying to weave my aspects to a bunch of classes already woven
> by CaesarJ but I get some troubles. When I run the ajc compiler like:
>
> ajc -inpath [compiled CaesarJproject] -aspectpath [Compiled AspectJ
> aspect]
>
> the compiler give me these errors:
>
> >ajc -inpath \bin -aspectpath C:\exec
>
> progetto\World..java [error] class 'progetto.World_Impl' is already
> woven and has not been built in reweavable mode
>
> progetto\World.java [error] class 'progetto.World_Impl$Registry' is
> already woven and has not been built in reweavable mode
>
> progetto\HelloWorld.java [error] class 'progetto.HelloWorld' is
> already woven and has not been built in reweavable mode
>
> progetto\HelloWorld.java [error] class 'progetto.HelloWorld_Impl' is
> already woven and has not been built in reweavable mode
>
> 4 errors
>
> Do you have any ideas about how to solve this problem? I've looked for
> a "reweavable" option in cjc and ajc but without luck.
>
> Thank you in advance for your help.
>
> Mattia
>
> ________________________________
> Scopri il Blog di Yahoo! Mail: trucchi, novità , consigli... e la tua
> opinione!
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>
--
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada