ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <>
Subject Re: How to use ANT as a command shell
Date Tue, 06 Dec 2005 15:34:50 GMT
Ant is not intended to be used in this way. The fact that you can kind of 
hack it together to work should not be taken as encouragement to do so.

You might want to read "Ant in Anger" 
( before setting yourself on this 

Jeffrey E. Care (
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)

Michael Giroux <> wrote on 12/06/2005 10:17:39 AM:

> I'm attempting to develop platform neutral launch scripts using ANT. The
> product currently has bin/nt and bin/unix folders with shell scripts
> specific to each platform.  I would like to replace this with a single 
> folder containing ant scripts.
> The main issue is that ANT treats command line args as target names.
> Is there any way to cause ANT to
> 1) always invoke the default target
> 2) make the command line args available as a set of properties or some 
> of enumeration
> Michael Giroux

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message