Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Exporting the entire bundle?


True.  How do you use this information?



Dejan Glozic

10/07/2003 08:58 AM


        To:        Jeff McAffer/Ottawa/IBM@IBMCA
        cc:        
        From:        Dejan Glozic/Toronto/IBM@IBMCA
        Subject:        Re: [equinox-dev] Exporting the entire bundle?Link


There is a subtle difference: package prefixes are on each library, while Provide-Package is for the bundle. If a bundle has three libraries, one cannot tell where the packages are coming from when listed in Provide-Package.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854



Jeff McAffer/Ottawa/IBM@IBMCA
Sent by: equinox-dev-admin@xxxxxxxxxxx

10/06/2003 10:16 PM

       
        To:        equinox-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [equinox-dev] Exporting the entire bundle?

       



The only difference in Equinox is that export="*" is not supported.  That is, you have to list all of the packages you want to export in the Provide-Package header.


This is very similar to the Eclipse package prefixes notion but more explicit.  Note that a tool could provide export=* style support but under the covers compute the set of packages in the plugin and update the manifest.  This is what the plugin converter does.


Jeff



Dejan Glozic/Toronto/IBM@IBMCA
Sent by: equinox-dev-admin@xxxxxxxxxxx

10/06/2003 05:49 PM

       
       To:        equinox-dev@xxxxxxxxxxx

       cc:        

       Subject:        [equinox-dev] Exporting the entire bundle?








In Eclipse, there is a way to export the entire library using:

<runtime>
 <library name="xyz.jar" export="*"/>
</runtime>

There seems to be no direct way of expressing the same using the new
'ProvidePackage' header. I am curious why 'RequireBundle' was added to aid
Eclipse porting for exporting a library was not.

Regards,

Dejan Glozic, Ph.D.
Manager, Eclipse Platform Components
D2/MY7/8200/MKM
IBM Canada Ltd.
Tel. 905 413-2745  T/L 969-2745
Fax. 905 413-4854

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







Back to the top