Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » war imported with wrong facet, how are the facets decided ?
war imported with wrong facet, how are the facets decided ? [message #526378] Fri, 09 April 2010 22:35 Go to next message
sasha is currently offline sashaFriend
Messages: 58
Registered: July 2009
Member
i am importing a war into the workspace but it is getting a fact of jst.web
2.5 instead of 2.4 as iy is specified in the web.xml.
What determines the facet that is generated ?
this is causing my import project to not show up in the java ee dependency
tab.
Re: war imported with wrong facet, how are the facets decided ? [message #526418 is a reply to message #526378] Sat, 10 April 2010 17:42 Go to previous messageGo to next message
Sarika Sinha is currently offline Sarika SinhaFriend
Messages: 131
Registered: February 2010
Location: Bangalore, India
Senior Member
Please verify the value defined in org.eclipse.wst.common.project.facet.core.xml .
ex: <installed facet="jst.web" version="2.4"/>


Sarika Sinha
JDT Programmer
Re: war imported with wrong facet, how are the facets decided ? [message #526790 is a reply to message #526418] Mon, 12 April 2010 22:05 Go to previous message
sasha is currently offline sashaFriend
Messages: 58
Registered: July 2009
Member
I looked in that file, that is how I know that it created the project with
the wrong facet!

I imported a war and it created a project with facet jst.web version="2.5".
What I want to know is this: when a project is imported, what decides what
goes into the file that you mentioned. I assumed eclipse would work off the
version specified in the web.xml of the war being imported...
thankyou


"Sarika Sinha" <sarika.sinha@in.ibm.com> wrote in message
news:hpqda7$vnt$1@build.eclipse.org...
> Please verify the value defined in
> org.eclipse.wst.common.project.facet.core.xml .
> ex: <installed facet="jst.web" version="2.4"/> --
> Sarika Sinha
> WTP Programmer
> Source Editing
Previous Topic:Could not publish to the server. Eclipse 3.5 SR-2 Build id: 20100218-1602
Next Topic:Deployment Failure
Goto Forum:
  


Current Time: Fri Mar 29 07:17:59 GMT 2024

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

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

Back to the top