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

             Bug #: 51291
           Summary: <patternset><include> tag behaviour differs on windows
                    and linux
           Product: Ant
           Version: 1.8.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified


This ant task will successfully untar file on windows XP SP3, however it will
not extract anything (skip all files) on Ubuntu linux.
Ant task should either skip files or extract files on both platforms similarly.

Problem is located in tag , which is interpreted differently:
    <include name="/"/>


build.xml:

<project name="zxxx" default="all" basedir=".">
<target name="all">
<untar src="apache-tomcat-6.0.32.tar.gz" dest="." compression="gzip">
  <patternset>
    <include name="/"/>
  </patternset>
</untar>
</target>
</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.

Reply via email to