Ben:
Good point ;) Was a wee bit early when I responded :)
Scot
Ben Stringer wrote:
On Wed, 2006-06-21 at 06:57 -0400, Scot P. Floess wrote:
You can sorta do that if you use -D's to define property values.
For instance:
ant -Dserver=localhost deploy
Then you can use:
${server}
in your ant script...
Or you can use a property file as well...
Or environment variables.
EG.
<property environment="env"/>
<echo>${env.HOSTNAME}</echo>
Cheers, Ben
--
Scot P. Floess
27 Lake Royale
Louisburg, NC 27549
252-478-8087 (Home)
919-754-4592 (Work)
Chief Architect JPlate http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim