ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey E Care <ca...@us.ibm.com>
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" 
(http://ant.apache.org/ant_in_anger.html) before setting yourself on this 
course.

JEC
-- 
Jeffrey E. Care (carej@us.ibm.com)
WebSphere v7 Release Engineer
WebSphere Build Tooling Lead (Project Mantis)


Michael Giroux <mlgiroux@gmail.com> 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 
bin
> 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 
form
> of enumeration
> 
> Michael Giroux

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