Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317140 - [XML Catalog] XML Catalog Entries Not Exported In Preference Export
Summary: [XML Catalog] XML Catalog Entries Not Exported In Preference Export
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xml (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: wst.xml CLA
QA Contact: Nick Sandonato CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-17 02:17 EDT by Michael Pellaton CLA
Modified: 2013-06-19 11:14 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Pellaton CLA 2010-06-17 02:17:42 EDT
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
Comment 1 Rakesh CLA 2010-07-27 10:09:51 EDT
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.
Comment 2 Nick Sandonato CLA 2012-10-17 16:09:00 EDT
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.