users@glassfish.java.net

GF 3.1.1 - asadmin create-sytem-properties - how to escape 'backslash'

From: Bernhard Thalmayr <bernhard.thalmayr_at_painstakingminds.com>
Date: Tue, 20 Dec 2011 14:34:53 +0100

Hi experts,

somehow it seems that the handling of backslashes is different for the
different asadmin commands.

Escaping a backslash using the 'create-system-properties does not seem to
work, but escaping a backslash using the 'set' command works as expected
(paths look correct using the console)


set
<config-name>.java-config.native-library-path-prefix=C\:\\<some-dir>\\<some-subdir>

vs.

create-system-properties --target <some-config>
<SOME-VAR>=C\:\\<some-dir>\\<some-subdir>

Any pointers avaialble?

TIA,
Bernhard

-- 
IT-Consulting Bernhard Thalmayr
- Painstaking Minds -
83620 Vagen (Munich area)
Germany