ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Build file on different OS
Date Tue, 24 Oct 2000 07:06:04 GMT
--- Björn Almén <bjorn.almen@netch.se> wrote:
> How do I write a build file that works under
> Windows NT and Linux? I would like to deploy
> an *.ear file to the Orion application server.
> In NT it is installed under c:\orion and in
> Linux in /usr/local/orion.

You could use the <exec> task, which lets you specify an OS (closest thing
to an "if-on-value" that standard Ant has) -- see the doc for details.
You'd might also want to look at <uptodate>, if you only want to do the
install when the files are newer.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Messenger - Talk while you surf!  It's FREE.
http://im.yahoo.com/

Mime
View raw message