"Gareth Coltman" <[EMAIL PROTECTED]> writes:

> Alternatively a method we used was to use tokens  like
> 
> @dbdriver@
> 
> in the tr.props file and have a seperate build.properties file outside of
> cvs, e.g.
> 
> dbdriver=Oracle
> 
> Then use ant to filter the tr.props fill and fill in the tokens from the
> build.props at build time.

Is it possible to make a decision on how to populate this at run-time,
like based on the hostname? That way I wouldn't have to  have a
separate mini-config file for each host.

We take our source from CVS then wipe-and-install on the target QA
systems where our DB also has different configs. After that, we
wipe-and-install into our Production systems, where there's yet
another config.  It would be real nice if we didn't have to tweak
these DB-config files each time but could let Ant make a decision
based on hostname or something else machine-specific.

Thanks.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to