Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Using the Merged Model of Deployment Descriptor
Using the Merged Model of Deployment Descriptor [message #217626] Tue, 15 July 2008 08:56 Go to next message
Eclipse UserFriend
Originally posted by: sainathdreams.gmail.com

Hi,

I want to get all the descriptors declared in a Web Project whether in
annotations or web.xml. I think the best way would be to get a merged
WebApp of both annotations and web.xml.

But my problem is I am not able to figure out the way to get the Merged
WebApp object. Can anyone please help me in this regard?

Thanks,
Sainath Chowdary
Re: Using the Merged Model of Deployment Descriptor [message #217684 is a reply to message #217626] Wed, 16 July 2008 10:26 Go to previous messageGo to next message
Dimitar Giormov is currently offline Dimitar GiormovFriend
Messages: 13
Registered: July 2009
Junior Member
Hi Sainath,

in ganymede if you take the model in the standard way
(ModelProviderManager.getModelProvider(IProject)) you should have the
merged model.

The merged model is introduced for the first time in Ganymede.

best regards,
Dimitar
Re: Using the Merged Model of Deployment Descriptor [message #217692 is a reply to message #217684] Wed, 16 July 2008 14:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sainathdreams.gmail.com

Hi Dimitar,

Thank you for the information. Using this I am successfully able to
retrieve the merged model. What if I need the model in Eclipse Europa?

Thanks,
Sainath Chowdary
Re: Using the Merged Model of Deployment Descriptor [message #217698 is a reply to message #217692] Wed, 16 July 2008 15:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sainathdreams.gmail.com

The same code is working for Eclipse Europa also but its only the model
from web.xml. I am assuming that before ganymede the model is only from
the XML Descriptor.
Re: Using the Merged Model of Deployment Descriptor [message #217760 is a reply to message #217698] Thu, 17 July 2008 04:57 Go to previous message
Dimitar Giormov is currently offline Dimitar GiormovFriend
Messages: 13
Registered: July 2009
Junior Member
That is correct, in Europa the model is loaded only from web.xml.
In Ganymede the model support is still not full also, modification(write
mode) of xml model is only supported.

Best regards,
Dimitar
Previous Topic:Suppress outline with StructuredTextEditor
Next Topic:Unknown extension point: 'org.eclipse.wst.server.ui.moduleArtifactAdapters'
Goto Forum:
  


Current Time: Fri Apr 26 19:58:57 GMT 2024

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

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

Back to the top