Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Labels:
      None

      Description

      The propoerties placed not alone inside quotes are not correctly interpreted. For example :
      <property name="myProp" value="OK" />
      <echo message="alone in quote :"/>
      <echo message="${myProp}"/>
      <echo>not alone in text ${myProp}.</echo>
      <echo message="not alone in quote ${myProp}."></echo>
      <fail unless="myProp"/>

      Succeed and print :
      [echo] alone in quote :
      [echo] OK
      [echo] not alone in text OK.
      [echo] not alone in quote null.

      While executed directly into ant prints :
      [echo] alone in quote :
      [echo] OK
      [echo] not alone in text OK.
      [echo] not alone in quote OK.

      You can find in attachment the pom.xml and the ant.xml I used.

        Attachments

        1. pom.xml
          1 kB
          Gilles Scokart
        2. MANTRUN-36.patch
          9 kB
          Gilles Scokart
        3. MANTRUN-36.patch
          8 kB
          Carlos Sanchez
        4. ant.xml
          0.3 kB
          Gilles Scokart

          Issue Links

            Activity

              People

              • Assignee:
                carlos Carlos Sanchez
                Reporter:
                gscokart Gilles Scokart
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: