You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Rahul Akolkar <ra...@gmail.com> on 2009/08/03 22:52:47 UTC

[JEXL] examples directory

IMO the following doesn't have much value and sticks out as the last
non-standard (in the m2 sense) area in SVN:

  http://svn.apache.org/repos/asf/commons/proper/jexl/branches/2.0/examples/

WDYT? Does it help you? :-)

These could be turned into unit tests instead (that'll keep them upto
date as well).

-Rahul

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


Re: [JEXL] examples directory

Posted by Rahul Akolkar <ra...@gmail.com>.
OK, I've opened JEXL-69 for this:

  https://issues.apache.org/jira/browse/JEXL-69

I probably won't get to it this week, so no assignee ATM.

-Rahul

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


Re: [JEXL] examples directory

Posted by sebb <se...@gmail.com>.
On 03/08/2009, Rahul Akolkar <ra...@gmail.com> wrote:
> IMO the following doesn't have much value and sticks out as the last
>  non-standard (in the m2 sense) area in SVN:
>
>   http://svn.apache.org/repos/asf/commons/proper/jexl/branches/2.0/examples/
>
>  WDYT? Does it help you? :-)

Not really - it's quite difficult to follow the code.
There's no clear separation between the Java scaffolding code and the script.

>  These could be turned into unit tests instead (that'll keep them upto
>  date as well).

OK - but need to fix calls of deprecated methods ;-)

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

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


Re: [JEXL] examples directory

Posted by Henrib <hb...@gmail.com>.
I agree; turning them both as unit tests not for their intrinsic testing
value but just as usage example that we can link the doc to would be nice.
Which might be a good way to present other use-cases as well (extending
JexlArithmetic, Interpreter, UnifiedJEXL and XML...).


-- 
View this message in context: http://www.nabble.com/-JEXL--examples-directory-tp24798012p24798547.html
Sent from the Commons - Dev mailing list archive at Nabble.com.


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