On 2/12/08, Sebastian <[EMAIL PROTECTED]> wrote: > Hi Rahul, > > thanks for your answer. I downloaded the latest nightly build and it > works now. It is a bit unfortune that the website shows the API of a not > yet released version and the download section > (http://commons.apache.org/jexl/downloads.html) only lists the stable > releases with a smaller set of functionality. > <snip/>
Yes, it is, as I mentioned below. I will try to amend that (but it won't be for a couple of weeks atleast, since I'm traveling). -Rahul > Regards, > Seb > > Rahul Akolkar wrote: > > On 2/9/08, Sebastian <[EMAIL PROTECTED]> wrote: > >> Hi, > >> I am trying to use JEXL 1.1 embedded within a J2SE application. > >> > >> I am trying to create a map in JEXL as described here > >> http://commons.apache.org/jexl/reference/syntax.html#Literals > >> > >> My expression looks something like this: > >> > >> String myExpression="[\"key1\"=>\"value1\",\"key2\"=>\"value2\"]"; > >> > >> However JEXL throws the exception below when I try to create the > >> expression object using: > >> > >> ExpressionFactory.createExpression(myExpression); > >> > >> How does my expression need to look like if evaluating the expression > >> should return a Map object. > >> > > <snip/> > > > > That bit of functionality was added after the 1.1 release (the docs > > are for 1.1.1-SNAPSHOT -- unfortunately, I'm not sure if we have > > retained the 1.1 docs anywhere on the site) i.e. you'll have to build > > the trunk to try out the above. > > > > -Rahul > > > > > >> Thanks in advance, > >> Seb > >> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
