You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Mark Modrall <MM...@glgroup.com> on 2006/10/27 15:46:32 UTC

using and

Hi...

 

            We've got some CruiseControl projects using Ant that are
chained together.  One task is the build task which compiles everything
and packages up a zip of the product.  It that works, there's a
dependent CC project that then calls ant to install that software on a
staging server.  CC is passing in some properties that will help me tell
which was the last build, but from the manual, I'm not sure quite how to
get from here to there.

 

            If someone is going to use Ant directly, the build step
would produce a zip named something like OurSoftware_<datestamp>_<svn
rev>.zip.  If it's invoked by the CruiseControl continuous build, it
could be named build.142OurSoftware_<datestamp>_<svn rev>.zip.  The
dependent project to stage the software will get ${most.recentloglabel}
= "build.142" and I can create a <fileset> to find build.142*.zip, but
it doesn't look like <Gunzip> will accept a fileset for src (at least
it's not documented anyway).

 

            I haven't found anything that would let me see what's in the
fileset (which would presumably be one file) to pass it to <gunzip>.

 

            Any suggestions?

 

Thanks

_mark

 
This e-mail message, and any attachments, is intended only for the use of the individual or entity identified in the alias address of this message and may contain information that is confidential, privileged and subject to legal restrictions and penalties regarding its unauthorized disclosure and use. Any unauthorized review, copying, disclosure, use or distribution is strictly prohibited. If you have received this e-mail message in error, please notify the sender immediately by reply e-mail and delete this message, and any attachments, from your system. Thank you.

result problems

Posted by Danny Vint <dv...@sack.dreamhost.com>.
I'm wondering if anyone else has seen this problem or has some suggestions 
on fixing the problem.

I have a large build process that uses <zip> and <unzip> all over the 
place. We are finding at least ion one of these locations that the 
resulting zip file has some sort of problem. We have seen the following 
results:

1) File works as expected
2) Error from WinZip when trying to open that archive is corruptted
3) When opened with WinZip nothing appears in the GUI, but extracting with
    a commandline call it finds the files

We are processing a very large set of files with about 7 layers of nested 
folders. When the file does work the result is about 658MB.

..dan

---------------------------------------------------------------------------
Danny Vint

Specializing in Panoramic Images of California and the West
http://www.dvint.com

Voice:510:522-4703
FAX: 801-749-3229


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org