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 ([EMAIL PROTECTED]) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) Michael Giroux <[EMAIL PROTECTED]> 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