ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Patternset + unzip
Date Thu, 13 Nov 2003 12:50:53 GMT
Are there any other files in the jar file?
Try commenting out two and then one of the <exclude> pattern.

Or do you mean <INclude>?


Jan


> -----Original Message-----
> From: Mehta, Suketu [mailto:Suketu.Mehta@atosorigin.com]
> Sent: Thursday, November 13, 2003 1:51 PM
> To: user@ant.apache.org
> Subject: Patternset + unzip
> 
> 
> Hi All,
> 
> I am using ANT version 1.5.1.
> 
> I have following target in my build .xml
> 
> <target name="update_source">
>         <unzip src="source.jar" dest="${source.dev.home}">
> 	<patternset>
> 	    <exclude name="src/com/dstm/schema/**"/>
>                 <exclude name="src/com/dstm/mp/dao/**"/>
>                 <exclude name="src/com/dstm/common/**"/>
> 	</patternset>
>         </unzip>
> </target>
> 
> But when i  execute this ant script ,no files are unzipped in 
> the source
> directory and i get the message that build is successful. 
> if i comment the patternset element then all the files are 
> unzipped in the
> source directory.
> 
> What could be the problem?
> 
> Regards,
> Suketu Mehta
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message