ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51442] New: available task: Deprecated code breaks contract if folder exists
Date Tue, 28 Jun 2011 08:50:56 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51442

             Bug #: 51442
           Summary: available task: Deprecated code breaks contract if
                    folder exists
           Product: Ant
           Version: unspecified
          Platform: PC
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: mw-mw@gmx.net
    Classification: Unclassified


<property name="folder" value="some-location" />
.... 

<!-- property 'folder' could be set here - in case not use some default -->
<available file="W:\in\dows" type="dir" property="folder" value="W:\in\dows" />
<available file="/lin/ux"    type="dir" property="folder" value="/lin/ux" />

In case the folder named 'W:\in\dows' does not exist, the code works as
expected. The the value of 'folder' is not modified.

In case the folder named 'W:\in\dows' exists the available task complains about
using a DEPRECATED feature and overwrites the property value of 'folder'. I'd
expected not to modify 'folder' because its value has already been set before.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message