Ed Randall created JENKINS-13044:
------------------------------------

             Summary: Ant multiple properties delimited by spaces parsed as a 
single property
                 Key: JENKINS-13044
                 URL: https://issues.jenkins-ci.org/browse/JENKINS-13044
             Project: Jenkins
          Issue Type: Bug
          Components: ant
    Affects Versions: current
         Environment: SunOS ldnwebv10 5.10 Generic_120012-14 i86pc i386 i86pc 
Solaris
Jenkins STABLE 1.424.3

            Reporter: Ed Randall


Configuring an Ant task on a job with multiple properties on 1 line separated 
by a space, ie.:
name1=value1 name2=value2 
Results at execution time in:
ant ... "-Dname1=value1 name2=value2"

This is not expected, what is documented is:
-D"name1=value1" -D"name2=value2" 
etc.

eg.
Properties: offline=1 user.prefs.dir=/home/hudson/config/Bedrock-DEV-config 
user.bedrock.properties=bedrock-quicktest.properties

console log:
[Bedrock-DEV-GF-EL-03-quick-test] $ /home/hudson/tools/apache-ant-1.7.1/bin/ant 
-DUPSTREAM_BUILD_TAG=jenkins-Bedrock-DEV-GF-EL-01-compile-2656 
-DP4_CHANGELIST_PARAM=322808 "-Doffline=1 
user.prefs.dir=/home/hudson/config/Bedrock-DEV-config 
user.bedrock.properties=bedrock-quicktest.properties" hudson.quicktests
Buildfile: build.xml

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to