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

Hans Adler edited comment on NETBEANS-2415 at 8/20/19 11:02 AM:
----------------------------------------------------------------

I tried the simpler workaround described by Rik Giepmann, but couldn't get it 
to work. NetBeans does not recognise that WildFly is running, and tries to 
start it again. This prevents deployment. I think this is due to a known bug of 
the 8.0 plugin. See [https://netbeans.org/bugzilla/show_bug.cgi?id=262252] .

I was successful with Dominik Derwiński's work-around from the bug report, 
which I implemented as follows under Linux:
{code:java}
cd $ECLIPSE_8.2_INSTALLDIR/enterprise

tar cf /tmp/netbeans-wildfly-plugin.tar 
config/Modules/org-netbeans-modules-javaee-wildfly.xml 
modules/org-netbeans-modules-javaee-wildfly.jar 
update_tracking/org-netbeans-modules-javaee-wildfly.xml

cd ~/.netbeans/11.0

tar xf /tmp/netbeans-wildfly-plugin.tar
{code}
This copies the three relevant files from the built-in WildFly plugin of 
NetBeans 8.2 (located in the enterprise sub-tree of the NetBeans installation) 
to the user's NetBeans 11.0 configuration.

Tested with WildFly 16.


was (Author: hans.adler):
I tried the simpler workaround described by Rik Giepmann, but couldn't get it 
to work. NetBeans does not recognise that WildFly is running, and tries to 
start it again. This prevents deployment. I think this is due to a known bug of 
the 8.0 plugin. See [https://netbeans.org/bugzilla/show_bug.cgi?id=262252] .

I was successful with Dominik Derwiński's work-around from the bug report, 
which I implemented as follows under Linux:
{code:java}
cd $ECLIPSE_8.2_INSTALLDIR/enterprise

tar cf /tmp/netbeans-wildfly-plugin.tar 
config/Modules/org-netbeans-modules-javaee-wildfly.xml 
modules/org-netbeans-modules-javaee-wildfly.jar 
update_tracking/org-netbeans-modules-javaee-wildfly.xml

cd ~/.netbeans/11.0

tar xf /tmp/netbeans-wildfly-plugin.tar
{code}
This copies the three relevant files from the built-in WildFly plugin of 
NetBeans 8.2 (located there in the enterprise directory) to the user's NetBeans 
11.0 configuration.

Tested with WildFly 16.

> Bring back support for WildFly server
> -------------------------------------
>
>                 Key: NETBEANS-2415
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2415
>             Project: NetBeans
>          Issue Type: Wish
>          Components: serverplugins - WildFly
>    Affects Versions: 11.0
>         Environment: n.a.
>            Reporter: Dominik Derwiński
>            Priority: Minor
>
> NetBeans 8.2 had WildFly server module, which helped greatly in debugging 
> Java EE applications directly from IDE. NetBeans 11.0 does not contain this 
> module, despite boasting to be the first version of Apache NetBeans to offer 
> full support for developing Java EE applications.
> I don't think it would be very hard to bring back WildFly server module 
> (currently it does not complile), because copying files of the module from 
> NetBeans 8.2 into NetBeans 11.0 installation, and recreating userdir is 
> enough to bring back that functionality (so the old module still works, but 
> for how long?).
> The files I have copied (after removing references to localization files) are:
>  * enterprise/config/Modules/org-netbeans-modules-javaee-wildfly.xml
>  * enterprise/modules/org-netbeans-modules-javaee-wildfly.jar
>  * enterprise/update_tracking/org-netbeans-modules-javaee-wildfly.xml
>  



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

Reply via email to