Dynamially adding version for project facet version [message #199667] |
Thu, 13 September 2007 10:54 |
Jugal Shah 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
|
|
|
Powered by
FUDForum. Page generated in 0.02950 seconds