Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » XML Catalog configuration
XML Catalog configuration [message #1708030] Fri, 11 September 2015 14:40 Go to next message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello,

I have a custom xml calog I used to define in (Window|Preferences|XML | XML Catalog) in User Specified Entries.
It seems it is not stored in preferences (I do not see anything related when exporting them), so I did not manage to configure a catalog with my oomph setup.

Is there any way to do this ?

Regards,
Arnaud
Re: XML Catalog configuration [message #1708063 is a reply to message #1708030] Sat, 12 September 2015 03:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6692
Registered: July 2009
Senior Member
Hi Arnaud,

According to
http://git.eclipse.org/c/sourceediting/webtools.sourceediting.git/tree/bundles/org.eclipse.wst.xml.core/src/org/eclipse/wst/xml/core/internal/XMLCorePlugin.java
the XML catalogs are not saved to the preferences, but stored in the workspace metadata folder:




So you can't use a PreferenceTask (for example created with the preference recorder) to automate the XML catalogs. You
could try to play games with a ResourceCreationTask or a TextModifyTask, though.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 11.09.2015 um 16:40 schrieb Arnaud MERGEY:
> Hello,
>
> I have a custom xml calog I used to define in (Window|Preferences|XML | XML Catalog) in User Specified Entries.
> It seems it is not stored in preferences (I do not see anything related when exporting them), so I did not manage to
> configure a catalog with my oomph setup.
>
> Is there any way to do this ?
>
> Regards,
> Arnaud


Re: XML Catalog configuration [message #1708557 is a reply to message #1708063] Thu, 17 September 2015 12:56 Go to previous message
Arnaud MERGEY is currently offline Arnaud MERGEYFriend
Messages: 243
Registered: March 2010
Location: France
Senior Member
Hello,

thanks for the tip, just to let you know I manage to have it working with ResourceCreationTask (Target URL ${workspace.location|uri}/.metadata/.plugins/org.eclipse.wst.xml.core/user_catalog.xml)

Thanks again
Arnaud
Previous Topic:Package Explorer: Top Level Elements
Next Topic:Multiple workspace with same product
Goto Forum:
  


Current Time: Sun Dec 08 03:21:35 GMT 2024

Powered by FUDForum. Page generated in 0.03139 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top