[jboss-jira] [JBoss JIRA] (JGRP-1787) Adjust Windows command line parameter processing to accept more than 9 parameters.

Richard Achmatowicz (JIRA) issues at jboss.org
Fri Jan 31 08:23:28 EST 2014


    [ https://issues.jboss.org/browse/JGRP-1787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12940455#comment-12940455 ] 

Richard Achmatowicz commented on JGRP-1787:
-------------------------------------------

This is fixed by:

{noformat}
"%JAVA_HOME%\bin\java" -classpath "%CP%" org.apache.tools.ant.Main -buildfile build.xml %*
{noformat}

where %* represents all command-line parameters.

                
> Adjust Windows command line parameter processing to accept more than 9 parameters.
> ----------------------------------------------------------------------------------
>
>                 Key: JGRP-1787
>                 URL: https://issues.jboss.org/browse/JGRP-1787
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.2.13
>         Environment: Windows
>            Reporter: Richard Achmatowicz
>            Assignee: Richard Achmatowicz
>            Priority: Minor
>             Fix For: 3.2.13
>
>
> In the Windows build.bat script, command-line parameters are processed using the following code:
> {noformat}
> "%JAVA_HOME%\bin\java" -classpath "%CP%" org.apache.tools.ant.Main -buildfile build.xml %1 %2 %3 %4 %5 %6 %7 %8 %9
> {noformat}
> This limits the number of command-line parameters to 9, which is not sufficient for executing builds which make use of many system properties (e.g. in the QA lab).
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list