Skip to content

Commit 74ccc5a

Browse files
committed
FISH-7888 Payara Tools for Eclipse does not allow the creation of Dynamic Web Project 6.0
1 parent ec05173 commit 74ccc5a

1 file changed

Lines changed: 45 additions & 19 deletions

File tree

  • bundles/fish.payara.eclipse.tools.server

bundles/fish.payara.eclipse.tools.server/plugin.xml

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
name="%runtimeTypeNameglassfish"
2727
description="%runtimeTypeDescriptionglassfish"
2828
vendor="%runtimeTypeGlassFishVendor">
29-
<moduleType types="jst.web" versions="2.2, 2.3, 2.4, 2.5, 3.0, 3.1, 4.0"/>
30-
<moduleType types="jst.ejb" versions="1.1, 2.0, 2.1, 3.0, 3.1, 3.2"/>
31-
<moduleType types="jst.connector" versions="1.0, 1.5, 1.6, 1.7"/>
32-
<moduleType types="jst.ear" versions="1.2, 1.3, 1.4, 5.0, 6.0, 7.0, 8.0"/>
29+
<moduleType types="jst.web" versions="2.2, 2.3, 2.4, 2.5, 3.0, 3.1, 4.0, 5.0, 6.0, 6.1"/>
30+
<moduleType types="jst.ejb" versions="1.1, 2.0, 2.1, 3.0, 3.1, 3.2, 4.0"/>
31+
<moduleType types="jst.connector" versions="1.0, 1.5, 1.6, 1.7, 2.0, 2.1"/>
32+
<moduleType types="jst.ear" versions="1.2, 1.3, 1.4, 5.0, 6.0, 7.0, 8.0, 9.0, 9.1, 10.0"/>
3333
<moduleType types="jst.utility" versions="1.0"/>
34-
<moduleType types="jst.appclient" versions="1.2, 1.3, 1.4, 5.0, 6.0, 7.0, 8.0"/>
34+
<moduleType types="jst.appclient" versions="1.2, 1.3, 1.4, 5.0, 6.0, 7.0, 8.0, 9.0, 9.1, 10.0"/>
3535
</runtimeType>
3636
</extension>
3737

@@ -117,8 +117,8 @@
117117

118118
<supported>
119119
<runtime-component id="payara.runtime" version="5"/>
120-
<facet id="glassfish.web" version="5]"/>
121-
<facet id="glassfish.ejb" version="5]"/>
120+
<facet id="glassfish.web" version="5.0]"/>
121+
<facet id="glassfish.ejb" version="5.0]"/>
122122
<facet id="jst.web" version="4.0]"/>
123123
<facet id="jst.ejb" version="3.2]"/>
124124
<facet id="jst.ear" version="8.0]"/>
@@ -130,10 +130,10 @@
130130

131131
<supported>
132132
<runtime-component id="payara.runtime" version="6"/>
133-
<facet id="glassfish.web" version="6]"/>
134-
<facet id="glassfish.ejb" version="6]"/>
135-
<facet id="jst.web" version="4.0]"/>
136-
<facet id="jst.ejb" version="3.2]"/>
133+
<facet id="glassfish.web" version="6.0]"/>
134+
<facet id="glassfish.ejb" version="6.0]"/>
135+
<facet id="jst.web" version="6.0]"/>
136+
<facet id="jst.ejb" version="4.0]"/>
137137
<facet id="jst.ear" version="8.0]"/>
138138
<facet id="jst.connector" version="1.7]"/>
139139
<facet id="jst.appclient" version="8.0]"/>
@@ -185,7 +185,19 @@
185185
</constraint>
186186
</project-facet-version>
187187

188-
<project-facet-version facet="glassfish.web" version="5">
188+
<project-facet-version facet="glassfish.web" version="5.0">
189+
<action type="INSTALL">
190+
<delegate class="fish.payara.eclipse.tools.server.facets.PayaraWebFacetInstallDelegate"/>
191+
</action>
192+
<action type="UNINSTALL">
193+
<delegate class="fish.payara.eclipse.tools.server.facets.PayaraWebFacetUninstallDelegate"/>
194+
</action>
195+
<constraint>
196+
<requires facet="jst.web"/>
197+
</constraint>
198+
</project-facet-version>
199+
200+
<project-facet-version facet="glassfish.web" version="6.0">
189201
<action type="INSTALL">
190202
<delegate class="fish.payara.eclipse.tools.server.facets.PayaraWebFacetInstallDelegate"/>
191203
</action>
@@ -221,7 +233,7 @@
221233
</constraint>
222234
</project-facet-version>
223235

224-
<project-facet-version facet="glassfish.ejb" version="5">
236+
<project-facet-version facet="glassfish.ejb" version="5.0">
225237
<action type="INSTALL">
226238
<delegate class="fish.payara.eclipse.tools.server.facets.PayaraEjbFacetInstallDelegate"/>
227239
</action>
@@ -272,26 +284,40 @@
272284
<runtime-component id="payara.runtime" version="5"/>
273285
<fixed-facet id="jst.web"/>
274286
</context>
275-
<facet id="glassfish.web" version="5" />
287+
<facet id="glassfish.web" version="5.0" />
276288
</default-facets>
277289

278290
<default-facets>
279291
<context>
280292
<runtime-component id="payara.runtime" version="5"/>
281293
<fixed-facet id="jst.ejb"/>
282294
</context>
283-
<facet id="glassfish.ejb" version="5" />
295+
<facet id="glassfish.ejb" version="5.0" />
296+
</default-facets>
297+
298+
<default-facets>
299+
<context>
300+
<runtime-component id="payara.runtime" version="6"/>
301+
<fixed-facet id="jst.web"/>
302+
</context>
303+
<facet id="glassfish.web" version="6.0" />
304+
</default-facets>
305+
306+
<default-facets>
307+
<context>
308+
<runtime-component id="payara.runtime" version="6"/>
309+
<fixed-facet id="jst.ejb"/>
310+
</context>
311+
<facet id="glassfish.ejb" version="6.0" />
284312
</default-facets>
285313
</extension>
286-
314+
287315
<extension point="org.eclipse.wst.common.project.facet.core.runtimeBridges">
288316
<bridge
289317
id="fish.payara.eclipse.tools.server.bridge"
290318
class="fish.payara.eclipse.tools.server.internal.PayaraRuntimeBridge"/>
291319
</extension>
292-
293-
294-
320+
295321

296322
<!--
297323
JST Facets

0 commit comments

Comments
 (0)