thank you torsten,

putting my runnable in a dedicated package and using addLoaderPackageRoot("your.package.the.runnable.is.in") did it!

now going back to experimentation ;-9

ciao, -sciss-


Am 03.12.2007 um 12:23 schrieb Torsten Curdt:

Seems like I badly need to look into providing the tutorial example to just run out of the box.

On the first glance your try on the class loading seems a bit unorthodox but should still work. (I never used the classloader but always used javaflow through jci) ...but looking at the code I'd assume you also need to tell the classloader what classes to instrument. You might want to try

  addLoaderPackageRoot("your.package.the.runnable.is.in");

or set

  setParentFirst(false);

Let me know if that helped.

cheers
--
Torsten

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to