ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Cheung <amy_cheung...@yahoo.com>
Subject execon zip/tar command doesn't work
Date Thu, 22 Feb 2001 21:52:51 GMT
The exec zip/tar command doesn't work for me.
(the <zip>/<tar> tags do work, but I need to call some
command line
arguments)

In this test case, the build file is under d:/, and I
am tring to zip/tar
the buildx directory.

	<execon executable="tar" output="x.tar">
	  <arg line="-c -v -f"/>
	  <fileset dir="d:/buildx"/>
	</execon>
	<execon dir="d:/" executable="zip" output="x.zip">
	  <arg value="-r"/>
	  <fileset dir="d:/buildx"/>
	</execon>

The zip/tar files created are corrupted somehow. If I
tried to open them,
'invalid archive directory'
error pop up.

any ideas? thanks!



__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - Buy the things you want at great prices! http://auctions.yahoo.com/

Mime
View raw message