Jan Walkotte commented on NETBEANS-2986:

The bug is still reproducable in Netbeans 11.3 (i think on any operating system)
 * Start a fresh installed Netbeans 11.3
 * Add a server in "Services" view (server type does not matter at all, Tomcat, 
Glassfish, Payara, or Wildfly will do)
 * Open an arbitary Maven war project
 * Open Project Properties dialog
 ** navigate to "Run" category
 ** choose "Server" just added
 ** fill in "Relative URL"
 ** click "OK" button

The relative URL will not be stored.

This is because of {{CustomizerRunWeb.isRunCompatible=false}}, seeĀ 
 line 250

This is because of the 0th element of 
{{ActionToGoalUtils#actionProviders(Project)}} result is of type 
{{MicroActionsProvider}}, seeĀ 
line 99

MicroActionsProvider does not define property 
{{MavenJavaEEConstants.ACTION_PROPERTY_DEPLOY="netbeans.deploy"}} for any of 
its actions, see
which reads action mappings from

Same holds for {{CustomizerRunWeb.isDebugCompatible}} and 

I'm not sure how to solve the issue. Maybe MicroActionsProvider actions should 
define property "netbeans.deploy"="true", or 
ActionToGoalUtils#actionProviders(Project) should filter out 
MicroActionsProvider types.

> Relative URL not saved in Project Properties
> --------------------------------------------
>                 Key: NETBEANS-2986
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2986
>             Project: NetBeans
>          Issue Type: Bug
>          Components: javaee - Maven
>    Affects Versions: 11.1
>         Environment:   Netbeans 11.1
>   Operating System: Debian GNU/Linux 9 (stretch)
>   Kernel: Linux 4.9.0-9-amd64
>   Architecture: x86-64
>            Reporter: Dave Hutira
>            Priority: Major
>         Attachments: Screenshot at 2019-08-14 19-53-53.png, dukesAge.zip
> Right click on a project in the Projects list, and select Properties. From 
> the Categories list, select Run and enter a Relative URL. Select OK; go back, 
> and the Relative URL is blank.
> A similar or identical issue appears in the 'old' Netbeans Bugzilla system as 
> Bug 146672 and 178650.

This message was sent by Atlassian Jira

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:

Reply via email to