Re: First post, ExtendedProperties question

2008-05-13 Thread Henri Yandell
One thing to look for is whether Commons Configuration contains a version of ExtendedProperties with this feature. If I understand things correctly, the Collections class doesn't seek to be too creative because Configuration is adding these types of features. It might be that the better solution i

[all] Commons SCXML 0.8 RC2 available

2008-05-13 Thread Rahul Akolkar
Based on Niall and Sebb's feedback on RC1 (thanks!), I've produced RC2. Distros etc.: http://people.apache.org/builds/commons/scxml/0.8/RC2/ Staged site (some links broken): http://people.apache.org/builds/commons/scxml/0.8/RC2/site/ Staging repo: http://people.apache.org/builds/commons

Re: [JEXL] Multi-statement expression evaluation - change to last?

2008-05-13 Thread Rahul Akolkar
On 5/13/08, sebb <[EMAIL PROTECTED]> wrote: > On 13/05/2008, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > > On 5/13/08, sebb <[EMAIL PROTECTED]> wrote: > > > However, the result of the expression is currently taken to be the > > > first statement. > > > > > > This is at odds with other s

Re: [JEXL] Multi-statement expression evaluation - change to last?

2008-05-13 Thread sebb
On 13/05/2008, Rahul Akolkar <[EMAIL PROTECTED]> wrote: > On 5/13/08, sebb <[EMAIL PROTECTED]> wrote: > > The Jexl eval() method allows for multiple statements in the expression. > > > > > > What method is that? oacj.Expression#evaluate(JexlContext) ? > ExpressionFactory > > > However, the

Re: [JEXL] Multi-statement expression evaluation - change to last?

2008-05-13 Thread Rahul Akolkar
On 5/13/08, sebb <[EMAIL PROTECTED]> wrote: > The Jexl eval() method allows for multiple statements in the expression. > What method is that? oacj.Expression#evaluate(JexlContext) ? > However, the result of the expression is currently taken to be the > first statement. > Yes, in fact, only

Re: First post, ExtendedProperties question

2008-05-13 Thread Rahul Akolkar
On 5/13/08, csanders <[EMAIL PROTECTED]> wrote: > Sorry no, I'm looking to patch ExtendedProperties in the collections > project, is this the right list ? > Yes, this is a shared list for all of Commons, please prefix email subject with [$component] ( in this case, [collections] ). Though I'd st

Re: First post, ExtendedProperties question

2008-05-13 Thread csanders
Sorry no, I'm looking to patch ExtendedProperties in the collections project, is this the right list ? Thanks, Charlei Rahul Akolkar wrote: If you are looking for Apache Velocity lists, please take a look at this page: http://velocity.apache.org/contact.html You probably want the user list

Re: First post, ExtendedProperties question

2008-05-13 Thread Rahul Akolkar
If you are looking for Apache Velocity lists, please take a look at this page: http://velocity.apache.org/contact.html You probably want the user list. One example of searchable archives (there are others too): http://velocity.markmail.org/ -Rahul On 5/13/08, csanders <[EMAIL PROTECTED]>

First post, ExtendedProperties question

2008-05-13 Thread csanders
Hi! Sorry if this has been discussed already, I could not find a 'search' button on the list archives. We have a project that uses Velocity, which uses ExtendedProperties, which we want to extend to interpolate environmental variables and system properties. Does anyone have any objection /

[JEXL] Multi-statement expression evaluation - change to last?

2008-05-13 Thread sebb
The Jexl eval() method allows for multiple statements in the expression. However, the result of the expression is currently taken to be the first statement. This is at odds with other scripting languages such as Javascript and Beanshell which return the value of the last statement. Seems to me t