You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2009/09/17 13:20:35 UTC

DO NOT REPLY [Bug 47858] New: name resource selector of task to allow matching independent of OS file separator.

https://issues.apache.org/bugzilla/show_bug.cgi?id=47858

           Summary: name resource selector  of <restrict> task to allow
                    matching independent of OS file separator.
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: nagendra.raja@tejasoft.com


Currently name resource selector of <restrict> task to allow matching name
patterns independent of OS file separator.

As suggested by Stefan at

http://www.nabble.com/OS-Independent-file-strings-in-resourcecollections-td25486284.html#a25489043

it would be nice to provide handleDirSep attribute to Name selector and keep
the this flag true by default.

Also, it may be good idea to enforce all the matches against the file happen
independent of os path.

Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com

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

DO NOT REPLY [Bug 47858] name resource selector of task to allow matching independent of OS file separator.

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47858

Stefan Bodewig <bo...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0
           Severity|normal                      |enhancement

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2009-09-18 04:57:21 PDT ---
we can't make it default to true because that would break backwards
compatibility.

implemented with svn revision 816591

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