[ 
http://jira.codehaus.org/browse/MJBOSS-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=247339#action_247339
 ] 

Jochen Stiepel commented on MJBOSS-54:
--------------------------------------

I'm not sure if the fix is correct. 
http://fisheye.codehaus.org/changelog/mojo/trunk/mojo/jboss-maven-plugin?cs=13289

If you run this on windows with the cmd:
set test1="AB AB"
set "test2=AC AC"

a final "set" will show you this:

test1="AB AB"
test2=AC AC

As far as I know the "test2" is the correct way. 


> 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
>            Assignee: Paul Gier
>             Fix For: 1.5.0
>
>
> 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