[jboss-jira] [JBoss JIRA] Created: (JBAS-7477) build.bat splits argument's name and value (name=value) into two args

Ondrej Žižka (JIRA) jira-events at lists.jboss.org
Sat Nov 21 22:11:29 EST 2009


build.bat splits argument's name and value (name=value) into two args
---------------------------------------------------------------------

                 Key: JBAS-7477
                 URL: https://jira.jboss.org/jira/browse/JBAS-7477
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: JBossAS-6.0.0.M1
         Environment: Windows XP professional

            Reporter: Ondrej Žižka


Window's cmd splits the arguments by the '=' char, so echo %1 %2 applied to  -Dmodule=ejb gives -Dmodule and ejb .

========================================================
C:\JBossAS\trunk>build.bat -Dmodule=ejb
Calling .\tools\maven\bin\mvn.bat -Dmodule ejb
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).
========================================================


:: for %%i in (%NAMES%) do call :subLoop %%i %1 %2 %3 %4 %5 %6
>> call :subLoop %i -Dmodule ejb

When using %*, this does not happen.




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

       




More information about the jboss-jira mailing list