You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Brice Ruth <br...@fiskars.com> on 2004/03/08 19:56:36 UTC
Create incremental ZIPs?
We have a relatively large WAR that is assembled via an Ant script, and
what we've done in the past is build the war, then open it manually in
WinZip, sort the files by modification date, extract the files that have
been modified since the last build, and re-archive to a 'partial' ZIP
file that can be more easily deploy to our systems (some local, one remote).
The full WAR is about 110MB, the partials tend to be anywhere from
2-20MB. Much better!
I'm now using the CruiseControl continuous integration system to
automate builds from CVS and I'd like to come up with an Ant target that
does (automatically) what we've been doing manually.
Can anyone point me in the direction of some docs that might get me to
where I need to go? I'd much appreciate it!
Thanks.
--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Create incremental ZIPs?
Posted by Brice Ruth <br...@fiskars.com>.
Stefan Bodewig wrote:
>On Tue, 09 Mar 2004, Brice Ruth <br...@fiskars.com> wrote:
>
>
>
>>what tasks can the <depend>, <date>, and <modified> selectors be
>>used with?
>>
>>
>
>All that support nested <fileset>s, since they are nested elements of
><fileset>.
>
>
>
>>Is there anywhere I can look for more documentation on this?
>>
>>
>
>http://ant.apache.org/manual/CoreTypes/selectors.html
>
>Stefan
>
>
>
Thanks!
--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Create incremental ZIPs?
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 09 Mar 2004, Brice Ruth <br...@fiskars.com> wrote:
> what tasks can the <depend>, <date>, and <modified> selectors be
> used with?
All that support nested <fileset>s, since they are nested elements of
<fileset>.
> Is there anywhere I can look for more documentation on this?
http://ant.apache.org/manual/CoreTypes/selectors.html
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Create incremental ZIPs?
Posted by Brice Ruth <br...@fiskars.com>.
Stefan Bodewig wrote:
>On Mon, 08 Mar 2004, Brice Ruth <br...@fiskars.com> wrote:
>
>
>
>>Can anyone point me in the direction of some docs that might get me
>>to where I need to go? I'd much appreciate it!
>>
>>
>
>Hmm, you could assemble your ZIP from the original sources using a
><depend> selector (with a mapper that returns your WAR as target) or a
><date> selector if you know the time of the last good build. <depend>
>would be used before you update your WAR.
>
>Or you can use a <modified> selector and keep cached information about
>the files that have already been deployed.
>
>Stefan
>
>
>
Thanks, I'll take a look at a couple of these things ... what tasks can
the <depend>, <date>, and <modified> selectors be used with? Is there
anywhere I can look for more documentation on this? I was looking
through the Ant docs on the main Ant site, and didn't see these
selectors mentioned (might not have been looking hard enough).
TIA
--
Brice D. Ruth
Sr. IT Analyst
Fiskars Brands, Inc.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: Create incremental ZIPs?
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 08 Mar 2004, Brice Ruth <br...@fiskars.com> wrote:
> Can anyone point me in the direction of some docs that might get me
> to where I need to go? I'd much appreciate it!
Hmm, you could assemble your ZIP from the original sources using a
<depend> selector (with a mapper that returns your WAR as target) or a
<date> selector if you know the time of the last good build. <depend>
would be used before you update your WAR.
Or you can use a <modified> selector and keep cached information about
the files that have already been deployed.
Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org