commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sciss <cont...@sciss.de>
Subject Re: [javaflow] Re: getting javaflow
Date Tue, 04 Dec 2007 13:51:59 GMT
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: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message