commons-user mailing list archives

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

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:
For additional commands, e-mail:

View raw message