apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.64k stars 849 forks source link

Support for Payara Server instance running on WSL #5736

Open jGauravGupta opened 1 year ago

jGauravGupta commented 1 year ago

This PR adds support for the Payara Server instance running on WSL. Usually, developers can register instances running on WSL as remote servers in Apache NetBeans. However, with this PR, developers can take advantage of new features that allow them to view the log file in real-time, and to auto-deploy on save action both static (.html) and dynamic (.java) applications to the Payara Server running on WSL.

To test this feature, start the server, set a password for the user, and enable the secure domain:

./asadmin start-domain
./asadmin change-admin-password
./asadmin enable-secure-admin
./asadmin restart-domain

image

Register the server in Apache NetBeans as Remote Server including the location of the server from the Windows disk.

image image

mbien commented 1 year ago

out of curiosity, who is FISH-7079? We are at 5xxx right now, the payara repo is at 6xxx and glassfish is at a very high number :)

jGauravGupta commented 1 year ago

Hi @mbien , Sorry for the confusion, I have updated the PR title. FISH-7079 is internal jira ticket number.

jGauravGupta commented 11 months ago

Hi @mbien, Can this feature be planned for the next release?

mbien commented 11 months ago

@jGauravGupta sure but it would need reviews. If you know a committer who is interested in this, feel free to tag. Adding NB21 milestone. (I am not even using windows for anything)

juneau001 commented 11 months ago

The code looks good, but I haven't had a chance to perform a full review yet. I will try to run this soon and I'll be in touch. Thanks

jGauravGupta commented 11 months ago

Thanks @juneau001 and @mbien :)

ebarboni commented 6 months ago

approved but not retested recently.

mbien commented 6 days ago

@jGauravGupta fyi feature freeze for NB 24 is planned for October 21.