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




|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Chris Hopkins" <[email protected]>                                           
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"Equinox development mailing list" <[email protected]>                 
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| 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
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

<<inline: graycol.gif>>

<<inline: ecblank.gif>>

_______________________________________________
equinox-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/equinox-dev

Reply via email to