digitalrinaldo
|
Posted: May 03, 2009 21:15 by digitalrinaldo
|
|
Suppose I import a file at startup with properties like this. a=one b=two c=three d=${a} ${c} ${root} where a, c were just defined and root is the naws root property. Will this work. |
Properties with substitution using $properties defined in naws
Replies: 1 - Last Post: May 04, 2009 16:55
by: sauhler
by: sauhler
showing 1 - 2 of 2
sauhler
|
Posted: May 04, 2009 16:55 by sauhler
|
|
You can use the "-S" flag when using main to launch the server, as in: java -jar brazil.jar -c cfg1 -c cfg2 -S -c cfg3 ... Will cause properties in the config files "cfg1" and "cfg2" to be read in. Then the "-S" flag will cause the ${...} interpolation to happen on those properties. The properties in "cfg3" will not be interpolated, but will be part of the initial server configuration. S |
Replies: 1 - Last Post: May 04, 2009 16:55
by: sauhler
by: sauhler







