Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Replacing org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage
Replacing org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage [message #208800] Tue, 19 February 2008 19:17 Go to next message
Raster Mising name is currently offline Raster Mising name
Messages: 75
Registered: July 2009
Member
Hi,

In plugin.xml of org.eclipse.jst.servlet.ui plugin one can locate this.
<extension point="org.eclipse.wst.common.project.facet.ui.wizardPages" >
<wizard-pages action="jst.web.install">
<page
class=" org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage "/>
</wizard-pages>
</extension>

What are the steps needed to use some other class instead of
org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage ? The new
class will be very similar to the original class with some differences.

R
Re: Replacing org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage [message #208817 is a reply to message #208800] Tue, 19 February 2008 21:35 Go to previous messageGo to next message
Eclipse User
Originally posted by: kosta.bea.com

There is no facility to replace pages associated with a facet with
different pages.

- Konstantin
Re: Replacing org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage [message #208829 is a reply to message #208817] Wed, 20 February 2008 04:06 Go to previous messageGo to next message
Eclipse User
Originally posted by: crscca.yahoo.in

Are you sure? It looks like an XML entry which can be used to
declaratively reconfigure the class name.
Re: Replacing org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage [message #208837 is a reply to message #208829] Wed, 20 February 2008 16:35 Go to previous messageGo to next message
Eclipse User
Originally posted by: kosta.bea.com

Raster wrote:
> Are you sure? It looks like an XML entry which can be used to
> declaratively reconfigure the class name.

Yes, I am sure. If the framework sees two such entries, it will error
out since it doesn't know which one to pick.
Re: Replacing org.eclipse.jst.servlet.ui.project.facet.WebFacetInstallPage [message #208923 is a reply to message #208837] Thu, 21 February 2008 18:25 Go to previous message
Eclipse User
Originally posted by: crscca.yahoo.in

Can we not comment out existing entry and recreate another one elsewhere
using the different class name? Then we have only one entry? I tried this
but ran into issues.
Previous Topic:"J2EE Module dependencies"
Next Topic:dependant project's libs
Goto Forum:
  


Current Time: Fri Oct 31 07:50:25 GMT 2014

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

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