4 Replies Latest reply on Jan 26, 2007 6:08 AM by Y E

    Enable loadtime weaving from IDE

    Y E Newbie

      Hello,
      I have an application that uses loadtime weaving AOP.
      After doing the correct modifications I'm able to start JBoss AS using the run.bat script and it works fine. My question is what change do I have to do in order to be able to start JBoss AS from the IDE in loadtime weaving mode. I already have a server, but I'm not sure exactly where do I need to add the following parameter:

      -javaagent:C:\APPS\jboss\jboss-4.0.4.GA\server\default\lib\pluggable-instrumentor.jar


      Is it in Start Args - VM arguments, or in Twiddle Args - VM arguments.
      I tried in them both , but Eclipse runs out of memory.
      Thanks