Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to add facet without installing it?
How to add facet without installing it? [message #169920] Tue, 23 May 2006 12:06
Min Idzelis is currently offline Min Idzelis
Messages: 10
Registered: July 2009
Junior Member
I have a facet that has a range of versions, lets say from 1.0 to 1.5. I
would like to limit the user to only only install versions > 1.2.

The user imports a WAR file. (WAR files don't contain facet info - so we
have to add facets the first time we try to do something with it)
However, the only action "verb" that the facet framework specifies is
"install." Ok, very well, so I try to do an install of the 1.0 level
facet, and I get a CoreException because there is no install delegate
that matches.

I think there needs to be another way to set the facet on a project. If
a facet can be inferred from the structure of the project, there should
some action or way to "set", "migrate" (or some other verb) that will
allow me to add a facet to a project without "installing" it.

This is rather important to me, so if a new action type for "set",
"migrate", or whatever can't be created, I would like a workaround.

Basically - the gist of it is....

We don't want users "installing" old versions of a facet during the new
project wizard. However, we want to support it if the user imports a
project that uses this old facet.

Thanks,

Min Idzelis
Previous Topic:Connect CVS repository timed out
Next Topic:Webapp with internal tomcat
Goto Forum:
  


Current Time: Thu Jul 24 09:04:39 EDT 2014

Powered by FUDForum. Page generated in 0.01740 seconds