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 2011/05/30 10:26:40 UTC

DO NOT REPLY [Bug 51291] New: tag behaviour differs on windows and linux

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.

DO NOT REPLY [Bug 51291] tag behaviour differs on windows and linux

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

Pavel Burik <pa...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pasha.byrik@gmail.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.