not runnable run.bat generated on windows
-----------------------------------------

                 Key: MJBOSS-54
                 URL: http://jira.codehaus.org/browse/MJBOSS-54
             Project: Maven 2.x JBoss Plugin
          Issue Type: Bug
    Affects Versions: 1.4.1
         Environment: Windows XP, Java 1.6 Maven 3.0
            Reporter: Jochen Stiepel


running mvn jboss:configure generates this line inside the bin/run.bat

@set JAVA_OPTS=" -Djboss.server.home.dir=d:\jboss_server\all" 
"-Djboss.server.home.url=file:d:\jboss_server\all"

the problem are the positions of the ". this can't be exceuted by windows cmd. 
It need's to be changed into:

@set "JAVA_OPTS= -Djboss.server.home.dir=d:\jboss_server\all 
-Djboss.server.home.url=file:d:\jboss_server\all"


The other issue is the ${options}

@call d:\smc_sdk\jboss\bin\run.bat -c all ${options}

If options are not set the ${options} should be removed.



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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to