ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <umag...@rediffmail.com>
Subject Re: [PATCH] Consolidated Expand/Untar with listing and verbose attributes.
Date Thu, 08 Nov 2001 19:03:21 GMT

Having consolidated these 2 tasks, it has become much 
easier for me to provide new features to these tasks in
parallel, by making changes to just one source file.  

I am now working on allowing a patternset to be included 
with the unzip/untar tasks.  Using this, it would be 
possible to select the files that are to be extracted or 
listed.  For example, if one wants to extract just the 
java files (excluding the ones beginning with Test) in a 
tar file, the following would do the job:

<untar src="foo.tar" dest="bar">
  <patternset>
    <include name="**/*.java"/>
    <exclude name="**/Test*.java"/>
  </patternset>
</untar>

Is this feature appealing?

Magesh
 


--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message