As my webapp moves from development to staging and production I have to edit
TR.props to alter the values to meet the requirements of the particular
environment.  In particular I have to adjust the database settings and the
various parameters that tune a site for production.

At the bottom of the default tdk 2.1 TR.props there is a line that includes
another properties file, flux.properties.  This looks like a good way for me
to make the necessary customisations to TR.props for each environment - I
define myapp.properties to include just the properties that need to be
customised for each environment and include this in a standard TR.props.

The comment above the line where flux.properties is included cautions me to
be careful as duplicate property name values will be replaced.  The actual
behaviour that I experience however is that duplicate names are not
tolerated and I must comment the properties out in TR.props in order to get
my webapp to execute without dieing a horrible death at startup.

This is no big problem, but I was wondering if anyone else had experienced
the problem and if there is a fix.  <cardinal-sin-confession>I haven't
checked the mail archive or cvs.</cardinal-sin-confession>

I am curious as to how others deal with this issue - have you got a better
solution that you would like to share?

Cheers,

Scott


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

Reply via email to