[jbosstools-issues] [JBoss JIRA] (JBIDE-13093) Error in gwt quickstart due to space in workspace path

Snjezana Peco (JIRA) jira-events at lists.jboss.org
Mon Nov 19 16:46:21 EST 2012


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

Snjezana Peco commented on JBIDE-13093:
---------------------------------------

There is a bug in errai 2.0.2.Final when it runs in a directory with blank in the name.
The issue happens because BatchCompiler is called with

... -d <directory> ...

instead of

... -d "<directory>" ...

errai 2.1.1.Final (https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/errai/archetypes/jboss-errai-kitchensink-archetype/2.1.1.Final/) works correctly.

We could add the following feature to the Project Examples:

If the version within the project examples xml file is higher than stacksId, we would use the version from the project examples xml file. This way, we wouldn't completely depend on updating stacksId.
                
> Error in gwt quickstart due to space in workspace path
> ------------------------------------------------------
>
>                 Key: JBIDE-13093
>                 URL: https://issues.jboss.org/browse/JBIDE-13093
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, GWT, maven
>    Affects Versions: 4.0.0.Beta2
>         Environment: JBDS 6.0.0.Beta2a B105
>            Reporter: Martin Malina
>            Assignee: Snjezana Peco
>             Fix For: 4.0.0.CR1
>
>
> With recent discussions about problems with spaces in path (either JBDS installation or workspace) I tried to test with a space in both JBDS path and workspace path.
> I found out that when you have a workspace with a space in the path, the "mvn package" that you have to run before deploying the gwt project from Central fails.
> You can see the problem here:
> {code}
> [INFO] *** FAILED TO COMPILE MARSHALLER CLASS ***
> [INFO] *** Classpath Used: /Users/rasp/jbossqa/JBDS/6.0.0.Beta2/workspace 105/jboss-gwt-webapp/sr..........[snip]
> [INFO] Unrecognized option : 105/jboss-gwt-webapp/target/classes
> {code}
> As you can see the space in my workspace dir ("workspace 105") is not handled properly.
> This causes errai errors when you later want to deploy this application on AS7.1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list