ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Setting project name with a property?
Date Wed, 07 Aug 2002 18:20:02 GMT
--- Nick Pellow <> wrote:
> is it possible to set a project name using a property
> from the command line ala: 
> ant"Dynamic Name :)" ?
> or via any other mechanism that can be declared outside the build file?

No. Well, you could set the property, but it wouldn't actually become the
name of the project, since that's set via the 'name' attribute. And if
your <project> tag does include a 'name' attr, then you're define would be
ineffectual anyway (ie., would still get set to whatever
the value of 'name' is).

Why are you wanting to do it?



Do You Yahoo!?
Yahoo! Health - Feel better, live better

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message