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 21:16 Go to next message
Brian Jakubik is currently offline Brian JakubikFriend
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 22:56 Go to previous message
Eclipse UserFriend
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: Thu Dec 18 10:44:06 GMT 2014

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

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