Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Dynamially adding version for project facet version
Dynamially adding version for project facet version [message #199667] Thu, 13 September 2007 10:54
Jugal Shah is currently offline Jugal ShahFriend
Messages: 19
Registered: July 2009
Junior Member
Hello All,

I am creating a project facet as follows:

<project-facet id="jspx.core">
<label>JSPX Core</label>
Enables generation of HTML forms based on XML definition files.

<project-facet-version facet="jspx.core" version="1.0">
<requires facet="jst.web" version="2.2,2.3,2.4"/>
<action type="INSTALL" id="jspx.core.install">
class=" com.mastek.jspx.plugin.web.facet.JSPXWebProjectInstallConfig $Factory "/>
class=" com.mastek.jspx.plugin.web.facet.JSPXWebFacetInstallDelegate "/>


I have scenario where the value of the version attribute of the
project-facet-version is not known at the design time, the value is
actually obtained from the version set by the user in the Preferences at
I would like to know, is there any mechanism by which I can dynamically
add the value to the version attribute or is it possible to create a
project-facet-version dynamically and then attach it to a project-facet?

I have found that you can also assign a default version to a
project-facet. What I would like to know is can I have an action defined
for that default version?
Please provide your suggestions..

Previous Topic:Europa 3.3 WTP Issue - Error updating Axis deploy.wsdd file
Next Topic:WTP Book: Deployment descriptor of the module NNN cannot be loaded.
Goto Forum:

Current Time: Fri Oct 09 10:46:36 GMT 2015

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

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