Glad to here that it works.

On Fri, Sep 20, 2013 at 10:01:46AM +0200, Ewgenij Sokolovski wrote:
> Hello! Actually, I don't know whether it is Knopflerfish specific or not. What
> I found out was that using
>  
> -Forg.osgi.framework.bootdelegation=
> org.netbeans.lib.profiler,org.netbeans.lib.profiler.*
>  
> instead of
>  
> -Dorg.osgi.framework.bootdelegation=
> org.netbeans.lib.profiler,org.netbeans.lib.profiler.*
>  
> solves the problem. Hmm, the "-D" prefix defines java system properties. Thus,
> it is quite logical that I have to use the "-F" prefix for instructing
> OSGI-Framework to load profiler classes.

Yes, using a framework property (-F) is the right way to go.

System properties defined using -D should normally be on the command
line (before the -jar option) since they may need to be available
when loading classes from the bootclasspath. When set in an xargs-file
that may be to late (if the class using the property has already check
for it before that main class has set it as a system property).

BR,
        \GE
-- 
Gunnar Ekolin,             Mobile: +46 707 96 77 19                 Makewave AB
Phone: +46 31 701 46 50,   Fax     +46  31 24 16 50         Första Långgatan 18
Email: [email protected]                       413 28 Göteborg, Sweden
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to