Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13093

Error in gwt quickstart due to space in workspace path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 4.0.0.CR1
    • 4.0.0.Beta2
    • central, gwt, maven
    • None
    • Hide

      1. Create AS7.1
      2. Create GWT project from Central
      3. Follow the instructions in README.md:

      1. Right-click on the project the project node in the Package Explorer and select Run As > Maven Build...
      2. Set goals = package and click Run. GWT compilation might take a few minutes.
      3. Once the build is complete, Right-click on the on the project node in the Package Explorer and select Refresh.

      The mvn package will fail.

      Show
      1. Create AS7.1 2. Create GWT project from Central 3. Follow the instructions in README.md: 1. Right-click on the project the project node in the Package Explorer and select Run As > Maven Build... 2. Set goals = package and click Run. GWT compilation might take a few minutes. 3. Once the build is complete, Right-click on the on the project node in the Package Explorer and select Refresh. The mvn package will fail.

      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:

      [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
      

      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

            fbricon@redhat.com Fred Bricon
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: