commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rzo <...@gmx.de>
Subject [Configuration]JEXL question
Date Sat, 29 Aug 2009 13:33:12 GMT
Hello,

thanks for mentioning jexl scripting.
I tried it out and have found the following issue:

evaluating the following:

test=${expr:if (System.getProperty("user.home").startsWith("C")) {"x";} 
else {"z";}}

does not seem to work.
Debuging shows that the expression forwarded to jexl is:

if (System.getProperty("user.home").startsWith("C")) {"x";

is this a bug ? or is there a way to escape the brackets within ${...} ?

- Ron



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message