[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Inconsistencies in the runtime plugin.xml and manifest.mf files


I would like to remove the bundle manifest files for runtime and runtime.compatibility since they should be able to be generated by the manifest generator.  This would illiminate the need to maintain the manifest and plugin.xml when they both contain very similar information.  Currently runtime dynamically imports a package from runtime.compatibility but the code in runtime can be updated to not require the import of the package by doing a Bundle.loadClass() instead of Class.forName() to obtain the class from runtime.compatibility.  The code already does this in two places but a third in Preferences is still using Class.forName() which requires the import of the packages by runtime.  

This would illiminate the inconsistencies.  BTW, I think that runtime should re-export all three osgi bundles and runtime.compatibility should only re-export runtime.

Thomas Watson




DJ Houghton <DJ_Houghton@xxxxxxxxxx>
Sent by: equinox-dev-admin@xxxxxxxxxxx

02/16/2004 06:48 AM

       
        To:        equinox-dev@xxxxxxxxxxx
        cc:        
        Subject:        Re: [equinox-dev] Inconsistencies in the runtime plugin.xml and manifest.mf files







Oops...I claim responsibility for some of this. I released some of the new
preferences APIs last night and released a new plugin.xml but not my
changes to the manifest file.



equinox-dev-admin@xxxxxxxxxxx wrote on 02/15/2004 11:09:54 PM:

>
> I noticed that the runtime plugin.xml does not re-export org.
> eclipse.osgi.services or org.eclipse.osgi.utils but does re-export
> org.eclispe.osgi itself.  Interestingly, the runtime manifest.mf
> does requires only org.eclipse.osgi. (and re-exports it)
>
> runtime.compatibility requires and re-exports all three osgi bundles
> in both the plugin.xml and the manifest.mf but its plugin.xml
> requires org.eclipse.update.configurator but this is not included in
> the manifest.mf.
>
> So, there are inconsistencies between runtime and compatibility
> (still don't understand why runtime does not reexport all three osgi
> bundles) and inconsistencies between the plugin.xml and manifest.mf
> for both runtime and runtime.compatibility
>
> Jeff

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