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 51291] New: <patternset><include> tag behaviour differs on windows and linux
Date Mon, 30 May 2011 08:26:40 GMT
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: notifications@ant.apache.org
        ReportedBy: mkuzela@gmail.com
    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.

Mime
View raw message