|Weaving an aspect into single class in jar [message #596584]
||Wed, 16 January 2008 09:38
Originally posted by: nullnullschneider.gmail.com|
I have the following problem:
There is a jar file "test.jar" that contains only class files and no source.
Lets say test.jar has the following files
Now I want to weave an aspect only into /p1/class1.class!
When I do it via commandline I get an error.
ajc -1.5 @classes_1.lst -d injectedProject Injector_1.aj -inpath inject
where classes_1.lst contains /p1/class1.class
Is this possible to do this? Can the compiler access single class files in a
jar archive? How do I have to address them? How do I tell the compiler which
class files it should use?
The source of this problem is a massive memory usage when I weave it into
the whole jar at once. Therefore I want to use multiple compiler calls and
weave it step by step. Would the incremental weaving supported by the
compiler also be an alternative?
Powered by FUDForum
. Page generated in 0.15326 seconds