Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Using the Merged Model of Deployment Descriptor
Using the Merged Model of Deployment Descriptor [message #217626] Tue, 15 July 2008 04:56 Go to next message
Eclipse User
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 06:26 Go to previous messageGo to next message
Dimitar Giormov is currently offline Dimitar Giormov
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 10:47 Go to previous messageGo to next message
Eclipse User
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 11:00 Go to previous messageGo to next message
Eclipse User
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 00:57 Go to previous message
Dimitar Giormov is currently offline Dimitar Giormov
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: Sun Apr 20 03:01:32 EDT 2014

Powered by FUDForum. Page generated in 0.01890 seconds