I want to weave a file aspect.aj to a executable java file like source.jar, and 
the output class files into the jar file out.jar. 

I use the command following:
ajc -inpath source.jar -1.6 -sourceroots aspect.aj -outjar out.jar

And the out.jar can be created without any error or warning. aspect.aj 
dependents on dep.jar. And dep.jar has been set in classpath. But when execute 
out.jar, NoClassDefFoundError exception will be reported about some class in 
dep.jar.

Is the command right? What change should I do?
2011-12-12 



shaoxiaozhe09 
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to