-
1. Re: Hot Swap using a standalone version of JBoss AOP
flavia.rainone Oct 20, 2008 9:03 AM (in response to hou84)Hello!
Unfortunately, the plugin does not work with newer versions of JBoss AOP.
We are planning to fix this very soon. By now, go to the Run... menu of Eclipse, and create a new Java Application configuration.
On the Arguments tab, add the following arguments:-Djboss.aop.path=yourpath/jboss-aop.xml -javaagent:your_jboss_aop_home/lib/jboss-aop-jdk50.jar=-hotSwap
Notice that the argument "-hotSwap" passed to the javaagent is responsible for enabling hot swap. If you prefer to run it with hot swap disabled, just use the arguments above without the "=-hotSwap" part. -
2. Re: Hot Swap using a standalone version of JBoss AOP
hou84 Oct 20, 2008 3:48 PM (in response to hou84)Hi!
Please, would you tell me how to do the configuration to run (jboss-aop-2.0.0.CR17) under Eclipse. Thank you! -
3. Re: Hot Swap using a standalone version of JBoss AOP
flavia.rainone Oct 20, 2008 4:33 PM (in response to hou84)Hi!
You can follow the steps described in this tutorial:
http://jbossaop.blogspot.com/2008/09/debugging-jboss-aop-with-eclipse-part1.html
The difference here is that you want to run an application, and not a test. So, instead of clicking "Debug...", you should click the "Run..." button. You can configure to run your application as you would without JBoss AOP. The only difference is that you are going to add the arguments as described in the tutorial.
If you want to enable hotswap, just add the -hotSwap parameter to the javaagent as I showed to you in the previous post.