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/10/28 19:27:15 UTC

DO NOT REPLY [Bug 48078] New: Clarification for documentation for difference selector

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

           Summary: Clarification for documentation for difference
                    selector
           Product: Ant
           Version: 1.7.1
          Platform: PC
               URL: http://ant.apache.org/manual/CoreTypes/selectors.html
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Documentation
        AssignedTo: notifications@ant.apache.org
        ReportedBy: suchko.pm@mellon.com


The documentation for the different selector could be made more clear to
prevent misundertandings for uninitated users regarding files only found in the
targetdir.

I propose changing 

"If there is no 'other' file, it's different."

to

"If no file is found in targetdir using the mapper, it's different. If a file
<b>only</b> exists in targetdir then it will not be returned."

<project>

<delete dir="have"/>
<delete dir="havenot"/>

<mkdir dir="have"/>
<mkdir dir="havenot"/>

<echo message="test" file="have/test.txt"/>


<length property="len1">
   <fileset dir="havenot">
      <different targetdir="have"/>
   </fileset>
</length>

<length property="len2">
   <fileset dir="have">
      <different targetdir="havenot"/>
   </fileset>
</length>

<echo message="Why does ${len1} &lt;&gt; ${len2}"/>
</project>

-- 
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 48078] Clarification for documentation for difference selector

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.1

--- Comment #1 from Stefan Bodewig <bo...@apache.org> 2010-03-05 16:43:38 UTC ---
svn revision 919483

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