Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » can I dynamically contribute to the xml catalog programitically?
can I dynamically contribute to the xml catalog programitically? [message #192316] Wed, 09 May 2007 17:16 Go to next message
Brian Jakubik is currently offline Brian Jakubik
Messages: 140
Registered: July 2009
Senior Member
Is there a way to progamatically contribute a XSD schema to the Xml
catalog, say for instance I have a dynamic web project, and I drop a jar
with a schema in it, I have logic that will detect it, and then I would
like to to add that schema to the catalog.

Is this possible? any direction would be appreciated.

Thanks,
Brian Jakubik
Re: can I dynamically contribute to the xml catalog programitically? [message #192324 is a reply to message #192316] Wed, 09 May 2007 18:56 Go to previous message
Eclipse User
Originally posted by: valentinbaciu.hotmail.com

Hi Brian,

Yes, you can programmatically make contributions to the XML catalog. Start
here org.eclipse.wst.xml.core.internal.XMLCorePlugin.getDefaultXM LCatalog().
You have to make your code depend on the org.eclipse.wst.xml.core plug-in.

Regards,
Valentin

"Brian Jakubik" <brian.jakubik@intervoice.com> wrote in message
news:f1tdns$cgr$1@build.eclipse.org...
> Is there a way to progamatically contribute a XSD schema to the Xml
> catalog, say for instance I have a dynamic web project, and I drop a jar
> with a schema in it, I have logic that will detect it, and then I would
> like to to add that schema to the catalog.
>
> Is this possible? any direction would be appreciated.
>
> Thanks,
> Brian Jakubik
Previous Topic:Migrating JBuilder2005 web server project to Eclipse 3.3
Next Topic:Exception with 1.5.4
Goto Forum:
  


Current Time: Sun Aug 31 00:32:35 EDT 2014

Powered by FUDForum. Page generated in 0.01666 seconds