ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amy Cheung <>
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

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 dir="d:/" executable="zip" output="">
	  <arg value="-r"/>
	  <fileset dir="d:/buildx"/>

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!

View raw message