[jboss-jira] [JBoss JIRA] Updated: (JBBUILD-480) maven-jboss-as-control-plugin start goal doesn't work with space in class path

Antony Stubbs (JIRA) jira-events at lists.jboss.org
Sun Jul 6 02:41:57 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBBUILD-480?page=all ]

Antony Stubbs updated JBBUILD-480:
----------------------------------

    Attachment: JBBUILD-480.patch

> maven-jboss-as-control-plugin start goal doesn't work with space in class path
> ------------------------------------------------------------------------------
>
>                 Key: JBBUILD-480
>                 URL: http://jira.jboss.com/jira/browse/JBBUILD-480
>             Project: JBoss Build System
>          Issue Type: Patch
>          Components: JBossBuild
>         Environment: Windows
>            Reporter: Antony Stubbs
>         Attachments: JBBUILD-480.patch
>
>
> I could not get the start goal to work, untill i setup a debug environemt and saw that the folling string was being used to execute
> C:\Program Files\Java\jdk1.6.0_10\bin\java -cp C:\jboss-5.0.0.CR1\bin\run.jar;C:\Program Files\Java\jdk1.6.0_10\lib\tools.jar  org.jboss.Main -c true -b localhost 
> The problem being that there is a space in the class path argument, and in the path to the java executable. This was preventing the command from even running - the error was i was getting was 'unable to start as - check the logs' and of course the logs were empty.
> The fix was to add qoutes around the class path.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list