[jira] [Commented] (NETBEANS-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-10 Thread Gaurav Gupta (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17175259#comment-17175259
 ] 

Gaurav Gupta commented on NETBEANS-4559:


Thanks [~peedeeboy]/[~bht] for all the information, I have added this issue to 
the next sprint of Payara Community project to address it.

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, 
> messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-10 Thread Pete Whelpton (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17174426#comment-17174426
 ] 

Pete Whelpton commented on NETBEANS-4559:
-

Ok - so I have gotten somewhere on what is causing this.

It is since Payara functionality was merged into NB base.  What is happening is 
that when NB tries to get the default mappings for a Maven Web project, the 
first implementation of a {code:java}MavenActionsProvider{code} it finds is an 
instance of {code:java}MicroActionsProvider{code} from the Payara Mircro 
Project.

This seems to be because the {code:java}MicroActionsProvider{code} is 
registered to Maven Web Projects:
{code:java}
@ProjectServiceProvider(
service = MavenActionsProvider.class,
projectType = MAVEN_WAR_PROJECT_TYPE
)
public class MicroActionsProvider implements MavenActionsProvider {
{code}

It *should* be using the {code::java}J2eeActionsProvider.java{code} from the 
Maven web project.

The Payara Micro Project has basically a blank entry for the mapping between 
Run (Netbeans) and Maven (Package), so that's what we now get in regular Maven 
Web projects

[~jgauravgupta] can you offer any help?



> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, 
> messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Pete Whelpton (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173934#comment-17173934
 ] 

Pete Whelpton commented on NETBEANS-4559:
-

Glad to hear that workaround works for you!  Now we need to figure out which 
commit between NB 8.2 and NB 12.0 introduced this bug so we can fix it :)

 

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, 
> messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173845#comment-17173845
 ] 

Bernard commented on NETBEANS-4559:
---

Hi,

I have added to the Run Project Action:

Execute goals: package

Properties: netbeans.deploy=true

Then I can save the path which then appears in the Properties:

netbeans.deploy.clientUrlPart=CinemaMonitor.html

With all that, I can run the project and it launches the relative page in the 
browser after deploying to GlassFish.

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, image-2020-08-09-11-54-50-908.png, 
> messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Pete Whelpton (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173802#comment-17173802
 ] 

Pete Whelpton commented on NETBEANS-4559:
-

Quick note: tested with a clean install of Netbeans 8.2, and that has the:
netbeans.deploy=true

set against the Run action on a fresh Maven Web Application project, so it 
would seem a commit since NB came over to Apache has introduced this bug.  Time 
for more digging...
!image-2020-08-09-11-54-16-915.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Pete Whelpton (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173774#comment-17173774
 ] 

Pete Whelpton commented on NETBEANS-4559:
-

Hi [~bht] .  Apologies, I wasn't making myself clear.

I had a look at the NB source code, and it seems like there is a bug.  The 
*Relative URL* will only get saved if *Action -> Run Project* has the property:

{{netbeans.deploy=true}}


I think this should get set by default when a new Maven project is created.  
However, at the moment that doesn't seem to be happening and I haven't found a 
commit in the Netbeans history since the project moved to Apache that looks 
like it would have changed/broken this.

In the meantime, you should be able to workaround your issue by manually adding 
the property:

netbeans.deploy=true

to the Run Action and click OK.  Then go back into the project properties and 
setting the Relative URL should now correctly save the value (it also gets 
saved as a property in the Run Actions).

 

Let us know if that works!

 

 

 

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173762#comment-17173762
 ] 

Bernard commented on NETBEANS-4559:
---

Here is the project's Run, what is seen above the Actions:

!ProjectPropertiesRun.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, ProjectPropertiesRun.png, 
> PropertiesBefore.png, PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173759#comment-17173759
 ] 

Bernard commented on NETBEANS-4559:
---

The Run above the aActions is as follows:
!ProjectPropertiesActionRun.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, 
> ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173758#comment-17173758
 ] 

Bernard commented on NETBEANS-4559:
---

As shown in my previous comments, the Run properties are empty, so I would need 
a full set of properties there to see what happens. I don't know where you get 
your properties from. The attached project does not have them.

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-09 Thread Bernard (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173756#comment-17173756
 ] 

Bernard commented on NETBEANS-4559:
---

!ProjectPropertiesActionRun.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: ProjectPropertiesActionRun.png, PropertiesBefore.png, 
> PropertiesBeforeAfter.png, WebSocketMovieTheater.zip, 
> image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



--
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-4559) Web Project Properties Dialog fails to save Relative URL

2020-08-07 Thread Pete Whelpton (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17173180#comment-17173180
 ] 

Pete Whelpton commented on NETBEANS-4559:
-

{{[~bht] - what happens if you try *Project Properties -> Actions -> Run 
project*}}

{{And add netbeans.deploy=true to the Properties, as per below?}}

 

!image-2020-08-07-15-48-32-635.png!

> Web Project Properties Dialog fails to save Relative URL
> 
>
> Key: NETBEANS-4559
> URL: https://issues.apache.org/jira/browse/NETBEANS-4559
> Project: NetBeans
>  Issue Type: Bug
>  Components: projects - Maven
>Affects Versions: 11.3
>Reporter: Bernard
>Priority: Critical
> Attachments: PropertiesBefore.png, PropertiesBeforeAfter.png, 
> WebSocketMovieTheater.zip, image-2020-08-07-15-48-32-635.png, messages.log
>
>
> Please see attached images and project.
> In the project properties, there is a field "Relative URL" for the page to 
> load relative to the context path.
> If I enter it and confirm the dialog, then after re-opening the dialog again, 
> the value is lost.
>  
> The project is from 
> [https://technology.amis.nl/2015/05/14/java-web-application-sending-json-messages-through-websocket-to-html5-browser-application-for-real-time-push/]
>  - just adapted to run under NetBeans.
>  



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