ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <>
Subject Re: Proper use of <uptodate> (a little off-topic)
Date Wed, 19 Dec 2001 06:37:46 GMT

I would recommend you have separate deploy build files for each target,
using similarly named parameters (deploy.warfile, ...) and then
call these targets from your main file using <ant>. This keeps things more
controllable. The cactus project has some examples

----- Original Message -----
From: "DONNIE HALE" <>
To: <>
Sent: Tuesday, December 18, 2001 14:20
Subject: Re: Proper use of <uptodate> (a little off-topic)

As far as deployment goes, I started down that track using ant. However, we
have four different environments that we can deploy to; and trying to
conditionally do the right thing for each from a single file is more
procedural than declarative. Using WebLogic's command-line deployment tools
is just a simple execution of "java" with the right command line. It took
about a 25-line shell script, most of it for checking errors, to get what I
wanted in a lot more straightforward manner than trying to do it in ant. For
our NT platform, I've got an ant target that just does an <exec> on our
deploy.cmd file.

Hope that helps,


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message