Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (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>
<description>
Enables generation of HTML forms based on XML definition files.
</description>
</project-facet>

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

</extension>

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
runtime.
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..

Thanks,
Jugal
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 Nov 08 23:29:30 GMT 2024

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

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

Back to the top