Ahhh...there is my problem then. I'll have to wait on PDE suggestions or
try to extract the classes into a separate bundle.

 

Thanks,

Chris

 


 
 
 
 
THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS ADDRESSED. IT 
MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL AND EXEMPT FROM 
DISCLOSURE UNDER APPLICABLE LAW. If you are not the intended recipient, your 
use of this message for any purpose is strictly prohibited. If you have 
received this communication in error, please delete the message and notify the 
sender so that we may correct our records.
 
________________________________
 
 


From: equinox-dev-boun...@eclipse.org
[mailto:equinox-dev-boun...@eclipse.org] On Behalf Of Thomas Watson
Sent: Tuesday, June 30, 2009 12:03 PM
To: Equinox development mailing list
Subject: RE: [equinox-dev]
org.osgi.framework.system.packages.extrasystem variable

 

The org.osgi.framework.system.packages.extra property is a configuration
option to the framework. It cannot be set by using a windows environment
variable. Try placing the property in your config.ini. Or if you are
launching an instance of Equinox from PDE you can specify this as a VM
system property (-Dorg.osgi.framework.system.packages.extra=...).

But doing this only makes the package available for import (using
Import-Package) at runtime. You still need to get PDE to have a bundle
that exports this package. PDE does not use the system.packages.extra
property. Chris or other PDE guys my have some suggestions to get that
to work in PDE.

Tom



 "Chris Hopkins" ---06/30/2009 10:43:21 AM---Thanks Tom and BJ for quick
answers. I should have been clearer...sorry. I am running into this
issue at compile time. I just tr

 
From:

 
"Chris Hopkins" <chopk...@cra.com>


To:


"Equinox development mailing list" <equinox-dev@eclipse.org>


Date:


06/30/2009 10:43 AM


Subject:


RE: [equinox-dev] org.osgi.framework.system.packages.extrasystem
variable

________________________________




Thanks Tom and BJ for quick answers. I should have been clearer...sorry.
I am running into this issue at compile time. I just tried this:

1. Defined the
org.osgi.framework.system.packages.extra=com.sun.java.swing.plaf.windows
as a Windows environment variable
2. Started up Eclipse 3.5 with the -console command
3. Typed 'bundle 0' and I don't see the com.sun.java.swing.plaf.windows
package exported by the system bundle

I cannot add the package to my Manifest as it's not available when I
click the Add button. I tried adding it manually and receive an error in
my Manifest saying that no bundle exports the package. If I type

packages com.sun.java.swing.plaf.windows

in the console window, I get an enormous list that seems like every
available package.

- Chris





THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS
ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL
AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the
intended recipient, your use of this message for any purpose is strictly
prohibited. If you have received this communication in error, please
delete the message and notify the sender so that we may correct our
records. 

________________________________



From: equinox-dev-boun...@eclipse.org [
mailto:equinox-dev-boun...@eclipse.org] On Behalf Of Thomas Watson
Sent: Tuesday, June 30, 2009 11:03 AM
To: Equinox development mailing list
Subject: Re: [equinox-dev]
org.osgi.framework.system.packages.extrasystem variable

This should work in 3.5. When you say you cannot import the
WindowsComboBoxUI class do you mean you get a class loading error or do
you get a resolution error when starting your bundle that uses that
class? If you start with -console you should be able to run the
"packages" command on the com.sun.java.swing.plaf.windows package and
see that it is exported by the system bundle (id = 0). This will also
confirm that you are really running with the correct version of the
framework. Does your bundle specify an Import-Package header for that
package in its bundle manifest?

Tom



"Chris Hopkins" ---06/30/2009 09:46:13 AM---Hi all - 

 
From:

 
"Chris Hopkins" <chopk...@cra.com>


To:


"Equinox development mailing list" <equinox-dev@eclipse.org>


Date:


06/30/2009 09:46 AM


Subject:


[equinox-dev] org.osgi.framework.system.packages.extra system variable

________________________________





Hi all -

I'm trying to get access to the
com.sun.java.swing.plaf.windows.WindowsComboBoxUI class within my
Equinox plug-in. I noticed back in April that Tom had referenced a
org.osgi.framework.system.packages.extra system variable that can be set
to add packages to the list of available packages that the framework
recognizes. However, I can't seem to get it to work. I set the
following:

org.osgi.framework.system.packages.extra=com.sun.java.swing.plaf.windows

but when I start Eclipse I still cannot import the WindowsComboBoxUI
class.

Am I setting the property incorrectly?

I am still using Eclipse 3.4 but I have defined a Target Platform for
this workspace that includes the jars below. I pulled them from a RC
version of Equinox just prior to the official Galileo release.

org.eclipse.equinox.ds_1.1.0.v20090513.jar
org.eclipse.equinox.event_1.1.100.v20090513.jar
org.eclipse.equinox.log_1.2.0.v20090513.jar
org.eclipse.equinox.util_1.0.100.v20090429-1630.jar
org.eclipse.osgi.services_3.2.0.v20090513.jar
org.eclipse.osgi.util_3.2.0.v20090429-1630.jar
org.eclipse.osgi_3.5.0.v20090513.jar

Thanks,
Chris 





THIS MESSAGE IS INTENDED FOR THE USE OF THE PERSON TO WHOM IT IS
ADDRESSED. IT MAY CONTAIN INFORMATION THAT IS PRIVILEGED, CONFIDENTIAL
AND EXEMPT FROM DISCLOSURE UNDER APPLICABLE LAW. If you are not the
intended recipient, your use of this message for any purpose is strictly
prohibited. If you have received this communication in error, please
delete the message and notify the sender so that we may correct our
records. 


_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev
<https://dev.eclipse.org/mailman/listinfo/equinox-dev> 
_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

<<image001.gif>>

<<image002.gif>>

<<image003.gif>>

<<image004.gif>>

<<image005.gif>>

_______________________________________________
equinox-dev mailing list
equinox-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to