Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Field order in properties files

Subject: perfsonar development work

List archive

Re: [pS-dev] Field order in properties files


Chronological Thread 
  • From: Roman Łapacz <>
  • To: Gijs Molenaar <>
  • Cc: "" <>
  • Subject: Re: [pS-dev] Field order in properties files
  • Date: Mon, 12 Mar 2007 19:11:53 +0100

Gijs Molenaar napisał(a):
Hi,

During development of our service, we discovered a problem with ant. When ant changes some variables in the components.properties file, the order of the lines are changed. Given the fact that the components (config, logger, etc.) are loaded in the exact order in which they appear in the components.properties file, this causes a problem.

For example in our case the logger is loaded before config now, so the logger misses some config values.

Does anyone know how to solve this problem? Are we doing something wrong?

Take RRD MA as an example:

you can find copy-components-properties target in rrdma/rrdma-configure-targets.xml file. This target changes the name of conf/components.properties.rrdma file to conf/components.properties. In the former you can see the list of components in order which is needed and renaming does not change it. copy-components-properties target is executed in configure target.

Roman





- gijs




Archive powered by MHonArc 2.6.16.

Top of Page