[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935793#comment-16935793 ] Neil C Smith commented on NETBEANS-2888: [~Juneau001] Thanks! Just narrows down what might be causing it to fail. I'll rerun the tests to see if we can get them green after merging other build-related PRs. > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Assignee: Josh Juneau >Priority: Blocker > Labels: pull-request-available > Fix For: Next > > Attachments: ctx_path_webapp.png > > Time Spent: 6h 20m > Remaining Estimate: 0h > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935786#comment-16935786 ] Josh Juneau commented on NETBEANS-2888: --- Hi [~neilcsmith] I ran the RAT locally and it was successful. Please let me know if you need me to try anything else. Thanks > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Assignee: Josh Juneau >Priority: Blocker > Labels: pull-request-available > Fix For: Next > > Attachments: ctx_path_webapp.png > > Time Spent: 6h 20m > Remaining Estimate: 0h > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16935154#comment-16935154 ] Josh Juneau commented on NETBEANS-2888: --- Repairs for this issue are contained within [PR #1526|https://github.com/apache/netbeans/pull/1526] > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Assignee: Josh Juneau >Priority: Blocker > Labels: pull-request-available > Attachments: ctx_path_webapp.png > > Time Spent: 6h 10m > Remaining Estimate: 0h > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16931995#comment-16931995 ] Josh Juneau commented on NETBEANS-2888: --- I believe that I have implemented a repair for this issue. I want to test a bit more locally before creating PR. > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Assignee: Josh Juneau >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian Jira (v8.3.4#803005) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16927081#comment-16927081 ] Josh Juneau commented on NETBEANS-2888: --- @Pete thanks that is indeed helpful. Hoping to get this one repaired soon. I appreciate the information. > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Assignee: Josh Juneau >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16926907#comment-16926907 ] Pete Whelpton commented on NETBEANS-2888: - I believe that all Netbeans ever did when changing the context path in a Maven project was: Check the version of GlassFish the Project is using: If < GF3.1, create a sun-web.xml file in WEB-INF with the context path setting If >= GF3.1, create a glassfish-web.xml file in WEB-INF with the context path setting However, the glassfish-web.xml templates weren't in the donation from Oracle, so Netbeans can't create the glassfish-web.xml file when the context path is changed. See Geertjan's comments on the related issue of the missing templates: https://issues.apache.org/jira/browse/NETBEANS-2951 There is a secondary issue, in that for GlassFish 5.0 and 5.1, Netbeans thinks they should have a sun-web.xml file, not a glassfish-web.xml. I suspect there is a hardcoded check somewhere that isn't taking the existance of GF > 4.x into account that needs to be found / fixed. Hope that helps :) > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Assignee: Josh Juneau >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16925595#comment-16925595 ] Josh Juneau commented on NETBEANS-2888: --- Indeed, I can concur that this is an issue. I've found that creating a sun-web.xml is a temporary workaround for the issue...but that file is no longer used in modern projects. I will work on repairs to this issue as time allows. > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. > > Environment: JDK 64-Bit Server VM 8 or 11 -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) Project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16899623#comment-16899623 ] SergeyT commented on NETBEANS-2888: --- Workaround: create glassfish-web.xml, but it seems to me that this is the wrong behavior > Project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Maven, apisupport - Project, javaee - > Maven, javaee - Web Project >Affects Versions: 11.0, 11.1 > Environment: Netbeans 11.1 with Java 8 or 11 (Windows 10 64 bit), > Eclipse GlassFish 5.1 or Payara app server for project app deployment >Reporter: SergeyT >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save/change the Project property -> Run for Java > Maven Web Application: Context Path (see attach) > The context path in NB11.1 is always the same as the name of the project and > cannot be changed. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
[jira] [Commented] (NETBEANS-2888) project Context Path problem for Java Maven Web Application
[ https://issues.apache.org/jira/browse/NETBEANS-2888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16891384#comment-16891384 ] SergeyT commented on NETBEANS-2888: --- This works fine in version 11.0 and does not work in version Netbeans 11.1 > project Context Path problem for Java Maven Web Application > --- > > Key: NETBEANS-2888 > URL: https://issues.apache.org/jira/browse/NETBEANS-2888 > Project: NetBeans > Issue Type: Bug > Components: apisupport - Project >Affects Versions: 11.1 > Environment: Netbeans 11.1 Java 8, 11 (Windows 10) >Reporter: SergeyT >Priority: Blocker > Attachments: ctx_path_webapp.png > > > There is no possibility to save the project property for Java Maven Web > Application: Context Path (see attach) -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists