https://bz.apache.org/bugzilla/show_bug.cgi?id=61315

            Bug ID: 61315
           Summary: Upgrading from ant 1.6.2 to ant 1.10.1 and isset is
                    not working properly
           Product: Ant
           Version: 1.10.1
          Hardware: All
                OS: All
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Core tasks
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

We are migrating from ant 1.6.2 to ant 1.10.1 and depending on the isset we
execute a work flow .. below is the code.

config.xml

<RMOBINTERMEDIUM>
        <UserName></UserName>
        <Password></Password>
        <SID></SID>
        <Host></Host>
        </RMOBINTERMEDIUM>


<if>
    <isset property="RMOBINTERMEDIUM.UserName"/>
       <then>
        <echo message="schema exists"/>
       </then>


when executing the above code i am getting the "schema exists: printed .while
the config.xml has no value set. below is the output

[sqlplus] 11:53:21 SQL> Disconnected from Oracle Database 12c Enterprise
Edition Release 12.1.0.2.0 - 64bit Production
  [sqlplus] With the Partitioning, Real Application Clusters, Automatic Storage
Management, OLAP,
  [sqlplus] Advanced Analytics and Real Application Testing options
     [echo] rmob exists


NOTE: it still works when i got back to ant 1.6.2 but we need to upgrade to
1.10.1 and the behavior of the isset is not working as desired.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to