Hi Jax, thank you for reporting this issue, it looks like a conflict
between the character escaping code and the multiline values code. To
work around this bug I suggest that you replace your path separators
with the unix path separator. Your values will be shorter and the
configuration should still work on Windows:
key1=\\\\myfolder/
key2=\\\\myfolder2/
key3=file:d:/myfolder3
key4=\\\\myfolder4/
Emmanuel Bourg
jax wrote:
Hi,
I have the following scenario.
filename: key.properties
key1=\\\\myfolder\\
key2=\\\\myfolder2\\
key3=file:d:\\myfolder3
key4=\\\\myfolder4\\
When CompositeConfiguration load the files through the
following,
compositeconfiguration.add(new
PropertiesConfiguration(key.properties));
The resulting keys loaded are as follows
Key: Key1
Value:
\\myfolderkey2=\\myfolder2Key3=file:d:\myfolder3
Key: Key4
Value: \\myfolder4\
Some of the keys are merged into a single key, causing
lost of information. From a visual point of view, it
seems to be the \\ at the end thats causing the
problem.
Pls advice.
Rdgs,
jax
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]