Also, just for the record :), properties set from the command-line are not quite equivalent to properties set from <property file="..."/>. -D properties (and now -propertyfile ones) are more(?) immutable.
----- Original Message ----- From: "Diane Holt" <[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 05, 2002 1:53 AM Subject: Re: test environment variable and if statement > --- Erik Hatcher <[EMAIL PROTECTED]> wrote: > > ----- Original Message ----- > > From: "Michael J McGonagle" <[EMAIL PROTECTED]> > > > Ok, now tell me if this is doable with Ant? I seem to remember reading > > > (skimming) that property files can be loaded and used by tasks as > > > their parameters. > > > > You can now, with the nightly builds, load a property file just like -D > > options (with -D specified options taking precedence always): > > > > ant -propertyfile <some property file> > > Just for the record, being able to load in property files has been > available for quite some time -- this change just lets you specify doing > that on the Ant command line rather than having a <property file=.../> in > your build file. > > Diane > > ===== > ([EMAIL PROTECTED]) > > > > __________________________________________________ > Do You Yahoo!? > Send FREE Valentine eCards with Yahoo! Greetings! > http://greetings.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
