Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-13044

Ant multiple properties delimited by spaces parsed as a single property

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • ant-plugin
    • None
    • SunOS ldnwebv10 5.10 Generic_120012-14 i86pc i386 i86pc Solaris
      Jenkins STABLE 1.424.3

      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 I would expect from the documentation is:
      -Dname1=value1 -Dname2=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

            Unassigned Unassigned
            edrandall Ed Randall
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: