Bug 51291 - <patternset><include> tag behaviour differs on windows and linux
Summary: <patternset><include> tag behaviour differs on windows and linux
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.8.2
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
Depends on:
Reported: 2011-05-30 08:26 UTC by mkuzela
Modified: 2011-11-15 11:16 UTC (History)
1 user (show)


Note You need to log in before you can comment on or make changes to this bug.
Description mkuzela 2011-05-30 08:26:40 UTC
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="/"/>


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