[jbosstools-issues] [JBoss JIRA] (JBDS-3261) JSR-356: Websockets. Import, build, run on server

Marián Labuda (JIRA) issues at jboss.org
Wed May 27 03:14:03 EDT 2015


    [ https://issues.jboss.org/browse/JBDS-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13071331#comment-13071331 ] 

Marián Labuda commented on JBDS-3261:
-------------------------------------

Well, after importing websocket examples there is prompt to install m2e connectors. First one is maven-compiler-plugin:3.1, which is OK. Second one is groovy-eclipse-compiler:2.8.0 which is causing issues. There are errors on imported projects because specific maven structure of source code is not recognized (maven compiler plugin has dependency on groovy eclipse compiler). The issue is described as following
{code}
The declared package "org.javaee7.websocket.endpoint.security" does not match the expected package "main.java.org.javaee7.websocket.endpoint.security"
{code}

Maven build runs OK. Result is same as build from command line. Used "mvn clean install" to get .war.

Another issue raise during the deployment. Deployment from jboss-cli works OK. Deploy by copying *.war file to deployments folder of a server works OK. But deployment from IDE (JBT 4.3.0.Nightly) "Run As - Run on Server" does not deploy project properly. After deployment, the page of deployed project is openable and it display some content, but content related to websockets is shown as error (e.g. "ERROR: undefined").


> JSR-356: Websockets. Import, build, run on server
> -------------------------------------------------
>
>                 Key: JBDS-3261
>                 URL: https://issues.jboss.org/browse/JBDS-3261
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Feature Request
>          Components: requirements, webservices
>            Reporter: Burr Sutter
>            Assignee: Xavier Coulon
>            Priority: Critical
>              Labels: websockets
>             Fix For: 9.0.0.Beta1
>
>
> Support for import (without error), build, Run on Server and Debug on Server.
> https://github.com/javaee-samples/javaee7-samples/tree/master/websocket



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)



More information about the jbosstools-issues mailing list