[equinox-dev] Bootdelegation question

2008-10-08 Thread Oleg Zhurakousky
If I am reading the spec correctly only java.* are loaded from the boot class path. All other packages must be declared with explicit imports. So something like this without specifying org.osgi.framework.bootdelegation=org.w3c.* public void start(BundleContext context) throws Exception {

Re: [equinox-dev] Bootdelegation question

2008-10-08 Thread Rob Harrop
Oleg, Are you certain that the Equinox you are running in doesn't have the boot delegation set to include org.w3c.*? Rob - Oleg Zhurakousky [EMAIL PROTECTED] wrote: If I am reading the spec correctly only java.* are loaded from the boot class path. AllĀ otherĀ packages must be declared

Re: [equinox-dev] Bootdelegation question

2008-10-08 Thread Oleg Zhurakousky
Nice to find you here Rob Yes I am certain (here are all the options that are set) -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dosgi.clean=true One thing I will admit that I am running Equinox within eclipse pde. I'll try from the command line (not sure if it would make the difference)

Re: [equinox-dev] Bootdelegation question

2008-10-08 Thread Stuart McCulloch
2008/10/9 Oleg Zhurakousky [EMAIL PROTECTED] Nice to find you here Rob Yes I am certain (here are all the options that are set) -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dosgi.clean=true One thing I will admit that I am running Equinox within eclipse pde. I'll try from the command

[equinox-dev] BSF, Groovy, OSGi - class resolution

2008-10-08 Thread Craig Phillips
Hi, I'm attempting to do groovy a la BSF, as embedded in an OSGi/equinox bundle... I get this unable to resolve class exception on something like the following: import org.osgi.service.log.* // seems to get passed this line def logger = new LogService(); // exception is thrown here I have

Re: [equinox-dev] BSF, Groovy, OSGi - class resolution

2008-10-08 Thread Stuart McCulloch
2008/10/9 Craig Phillips [EMAIL PROTECTED] Hi, I'm attempting to do groovy a la BSF, as embedded in an OSGi/equinox bundle... I get this unable to resolve class exception on something like the following: import org.osgi.service.log.* // seems to get passed this line def logger = new

Re: [equinox-dev] Bootdelegation question

2008-10-08 Thread Thomas Watson
See the osgi.compatibility.bootdelegation option in the Eclipse Help. osgi.compatibility.bootdelegation - if set to true then the parent (boot by default) classloader is delegated to as a last resort if a class or resource cannot be found. The default value is true. When launching Equinox under

Re: [equinox-dev] Bootdelegation question

2008-10-08 Thread Stuart McCulloch
2008/10/9 Oleg Zhurakousky [EMAIL PROTECTED] Thanks guys!!!Looks like starting Equinox under Eclipse makes the difference, although I can't see what that would be (checked generated config.ini etc. . . nothing suspicious) when starting under Eclipse/PDE I believe the following adaptor hook

Re: [equinox-dev] Bootdelegation question

2008-10-08 Thread Oleg Zhurakousky
AMEN! Got it! Woks fine now.thx Oleg On Oct 8, 2008, at 2:06 PM, Thomas Watson wrote: See the osgi.compatibility.bootdelegation option in the Eclipse Help. osgi.compatibility.bootdelegation - if set to true then the parent (boot by default) classloader is delegated to as a last resort if a

RE: [equinox-dev] BSF, Groovy, OSGi - class resolution

2008-10-08 Thread Craig Phillips
Re: Pax-Script... looks pretty nice... unfortunately, for reasons unknown, I'm sort of stuck on jdk1.5... It's nice to see the various scripting engines moving to OSGi-fication... I tried doing the BSFManager.setClassLoader(Thread.currentThread().getContextClassLoader()); -- that didn't work