This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 237239 - User XML catalogs are not exported/imported
Summary: User XML catalogs are not exported/imported
Status: REOPENED
Alias: None
Product: xml
Classification: Unclassified
Component: Catalog (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 09:36 UTC by kalwi
Modified: 2013-10-24 08:17 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kalwi 2013-10-17 09:36:18 UTC
User XML catalogs are not imported (and most likely nor exported) via Tools → Options → Export... / Import...

The path for affected XML property file:
<userdir>/config/xml/catalogs/UserXMLCatalog.xml

How to reproduce:
1) Tools → DTDs and XML Schemas.
2) Choose 'User Catalog [read-write]'.
3) 'Add Local DTD or Schema...' and add some schema.
4) Tools → Options → Export...
5) Select all available export options and export them to ZIP.
6) Install a new NetBeans which uses new user dir, or configure a new user dir for current installation.
7) Tools → Options → Import...
8) Choose previously exported ZIP, select all available import options and import them.
9) It's expected that user catalog will be exported/imported.

Workaround:
Copy UserXMLCatalog.xml manually.


I'm not sure whether UserXMLCatalog.xml is the only file related to the 'Local DTD or Schema' feature. I use only the case mentioned in 'How to reproduce' steps.


This issue is present in at least all 7.x NetBeans versions including 7.4 and further development builds.
Comment 1 Theofanis Oikonomou 2013-10-23 14:39:33 UTC
Please keep in mind that not every user customization is imported during first startup of the ide or exported/imported from the Options window. User XML catalogs is among those things that are not imported/exported. Thank you for reporting
Comment 2 kalwi 2013-10-23 19:43:28 UTC
Well, then this is not a bug, but the feature request :-)
Comment 3 Theofanis Oikonomou 2013-10-24 08:17:01 UTC
(In reply to kalwi from comment #2)
> Well, then this is not a bug, but the feature request :-)

sure. re-assigning to correct module owner for evaluation. Thank you