Community
Participate
Working Groups
See bug 24667. The classloader enhancements in the above mentioned bug report were implemented for 2.1 M3. We need to make these enhancements available to plug-in developers by letting them add mark-up to their plugin.xml files. Note that PDE also needs to know about this DTD change.
Recommend that we use the following notation. Multiple <package> entries may exist per <library> tag. Comments? <runtime> <library name="runtime.jar"> <export name="*"/> <package prefix="org.eclipse.core"/> </library> </runtime>
Given the potential number of entries for the brute force listing of packages, this will result in many additional elements (one per package prefix). I suggest the alternative structure shown below using comma-separated lists: <runtime> <library name="boot.jar"> <export name="*"/> <package prefixes="org.eclipse.core,com.ibm.oti"/> </library> </runtime> Note, I'm not sure if it is prefixes or prefixs? This approach allows for the same style as originally proposed but also for the more compact multi-entry style shown here. Also, it may be better for <package> to be <packages>.
see also bug 24047
see also bug 27048
see also bug 27047 (not bug 24047)
Adding Dejan to CC list. The format will be as follows: <runtime> <library name="boot.jar"> <export name="*"/> <packages prefixes="org.eclipse.core,com.ibm.oti"/> </library> </runtime>
Just to clarify: is there a difference (apart from the syntax) in the following two examples: <runtime> <library name="boot.jar"> <export name="*"/> <packages prefixes="org.eclipse.core,com.ibm.oti"/> </library> </runtime> and <runtime> <library name="boot.jar"> <export name="*"/> <packages prefixes="org.eclipse.core"/> <packages prefixes="com.ibm.oti"/> </library> </runtime> If these two snippets are essentially equivalent, why providing two ways?
Sorry, I just read the entire defect and saw Jeff's explanation :-).
I've just noticed that LibraryModel does not support this yet. We depend on it in PDE Core because in several scenarios we load from a registry.
Released changes to ILibrary and LibraryModel in HEAD. Will release rest of changes early next week. (including minor changes to the registry cache reader/writer...this is PDE's heads up :-)
When you are done, please reassign the defect to us so that we can update our registry cache reader/writer.
Released to HEAD. Re-assigning to PDE/UI for updating their copy of the Registry Cache Reader/Writer.
Wassim, we need to pick up the changes in registry reader/writer.
PDE's registry cache reader and writer have now been updated.