Hi All, I have written an Aspect using @AspectJ annotation and now I am trying to weave it into my classes using the LTW java agent (JDK 1.5) but nothing gets weaved. I have a feeling it my have to do with some sort of Class Loader issue..
On top of this I am running the app (Jetty) from IntelliJ. The launch command looks like this (classpath has been shortened) C:\java_vms\jdk1.5.0_09\bin\java -javaagent:WebContent\WEB-INF\lib\aspectjweaver.jar -DDEBUG -Daj.weaving.verbose=true -Didea.launcher.port=7542 "-Didea.launcher.bin.path=C:\Program Files\JetBrains\IntelliJ IDEA 6.0\bin" -Dfile.encoding=windows-1252 -classpath "C:\java_vms\jdk1.5.0_09\jre\lib\charsets.jar;C:\java_vms\jdk1.5.0_09\jre\lib\deploy.jar;C:\java_vms\jdk1.5.0_09\jre\lib\javaws.jar;C:\java_vms\jdk1.5.0_09\jre\lib\jce.jar;C:\java_vms\jdk1.5.0_09\jre\lib\jsse.jar;C:\java_vms\jdk1.5.0_09\jre\lib\plugin.jar;C:\java_vms\jdk1.5.0_09\jre\lib\rt.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\dnsns.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\localedata.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\sunjce_provider.jar;C:\java_vms\jdk1.5.0_09\jre\lib\ext\sunpkcs11.jar;C:\Program Files\JetBrains\IntelliJ IDEA 6.0\lib\idea_rt.jar" com.intellij.rt.execution.application.AppMain org.mortbay.jetty.Main 8085 -webapps exploded and the first few lines of output... [EMAIL PROTECTED] info AspectJ Weaver Version 1.5.3 built on Wednesday Nov 22, 2006 at 11:18:15 GMT [EMAIL PROTECTED] info register classloader [EMAIL PROTECTED] [EMAIL PROTECTED] info no configuration found. Disabling weaver for class loader [EMAIL PROTECTED] ... Does anyone have any suggestions or thoughts? Kind thanks, Serge -- View this message in context: http://www.nabble.com/LTW-and-webapp-under-Jetty-tf2930858.html#a8194132 Sent from the AspectJ - users mailing list archive at Nabble.com. _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
