Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 91728 invoked from network); 22 Feb 2001 21:52:53 -0000 Received: from unknown (HELO steward.interdimensions.com) (@64.61.40.2) by h31.sny.collab.net with SMTP; 22 Feb 2001 21:52:53 -0000 Received: (qmail 20537 invoked from network); 22 Feb 2001 21:52:55 -0000 Received: from defiance.interdim.com (fern@192.168.1.48) by steward.interdim.com with SMTP; 22 Feb 2001 21:52:55 -0000 Date: Thu, 22 Feb 2001 16:52:56 -0500 (EST) From: Fernando Padilla X-Sender: fern@defiance.interdim.com To: ant-user@jakarta.apache.org Subject: Re: exec zip/tar command doesn't work In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N I guess I need to remind you that the output tag redirects the output of the command to that file: the tasks you have there essentially do this: tar -c -v -f files... > x.tar cd d:/ zip -r files... > x.zip darn, you're not a unix person. the ">" notation above says, run the preceding command, then print out anything that you would normally see on the screen into the postceding file. so.. essentialy what you need to do is tar -c -v -f x.tar files.... zip -r x.zip files.... which breaks down to: > > > > > > > > hope this helps. fern On Thu, 22 Feb 2001, Amy Zhang wrote: > The exec zip/tar command doesn't work for me. > (/ 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. > > > > > > > > > > > any ideas? thanks! >