Community
Participate
Working Groups
Build Identifier: XML catalog entries are not to be exported as part of the general Eclipse preference export/import. Reproducible: Always Steps to Reproduce: Howto reproduce I 1. in a workpace with xml ctalog enries, do a preference export (File > Export... > Preferences > All >...) 2. switch to a new workspace 3. import the epf file > xml catalog entries not there Howto reproduce II 1. do a preference export 2. add an xml catalog entry 3. do a preference export 4. diff the exported epf files > no diff
User entered and other catalogs, that we see in preferences are written in "...\.metadata\.plugins\org.eclipse.wst.xml.core" folder , and these are read from here.Even if we export preferences , location for catalogs in fresh workspace would be new, that is why you are seeing old preferences in new workspace.I think it is work as designed, since exporting preferences doesn't support these kind of scenarios.
I can see the need for serializing the XML catalog in some fashion, but it functions differently than the preferences. For this reason, I'm converting this to an enhancement to serialize the XML catalog for sharing across workspaces.