Re: [aspectj-users] Post-compile time weaving: howto

2012-09-11 Thread Valerian Galeru
What about class name conflict: how decides JVM which class to take (it will be one in the WebApplication and another in the woven exported jar file)? Won't the virtual machine complain, that there are two .class file with the same name? Am 04.09.2012 19:42, schrieb Andy Clement:

Re: [aspectj-users] Post-compile time weaving: howto

2012-09-11 Thread Alexander Kriegisch
Not having read the thread, just noticing that question, let me say this: whichever class comes first in the classpath of any given classloader will be found and loaded. Others will be ignored, and there will be no re-loading of already defined classes. Disclaimer: You can create a new

Re: [aspectj-users] Post-compile time weaving: howto

2012-09-04 Thread Valerian Galeru
Hi Alexander, Thank you for your answerhelp. I tried also with Runnable JAR + Package required libraries into generated JAR. Now all the JARs in the Build Path (+ aspectj-rt.jar + the JAR in the INPATH) are included in the root of the exported JAR. As compiled classes it has these

Re: [aspectj-users] Post-compile time weaving: howto

2012-09-04 Thread Andy Clement
Questions In the exported aspect-jar, there are only the .class files of the AspectJ project, no .class files for the INPATH-Jar. Should there be other classes, from the imported INPATH-jar? I can imagine 'export jar with AspectJ support' is not totally inpath aware in the simple case. But