[opencms-dev] encoding-conflict on mac os x

M Butcher mbutcher at grcomputing.net
Fri Oct 10 21:40:02 CEST 2003


Ilja,

JAVA_OPTS works more like command line flags than shell variables, so
you must separate arguments by spaces instead of colons.

On Fri, 2003-10-10 at 12:49, Ilja wrote:
> JAVA_OPTS='-Dlog4j.debug=true'
> JAVA_OPTS=${JAVA_OPTS}:'-Dfile.encoding=ISO-8859-1'

This should be:

JAVA_OPTS='-Dlog4j.debug=true -Dfile.encoding=ISO-8859-1'

(Note the space between the two arguments).

If you really want them on separate lines, use:

JAVA_OPTS='-Dlog4j.debug=true'
JAVA_OPTS="${JAVA_OPTS} -Dfile.encoding=ISO-8859-1"
(Note the space _and_ the double-quotes)

Matt

-- 
M Butcher <mbutcher at grcomputing.net>



More information about the opencms-dev mailing list