On Thu, Jul 19, 2012 at 8:00 PM, Claude Brisson <cla...@renegat.net> wrote:
> I am on vacations this week, and a bit busy, so not very reactive... > > I think that the first thing to do is the most easier example we can > find: a command line tool to generate a text output from a template and > a properties file. > Hi Claude, Did you mean Velocity maven plugin tool[1] as the command line tool ? If not can you please direct me to a link to find the example to follow. Because in the documentation page there are links to XML tool, View tool, JSP tool and etc. And couldn't find "command line tool" thing . Correct me if I am looking for irrelevant. [1] - http://velocity.apache.org/tools/devel/maven-velocity-tools-plugin/index.html > Once this is done, we'll have a look at something more difficult. > > Meantime, you can also continue to look at the tools subproject source > code, and to see what would be the easiest way for the JSR 223 API user > to access standard tools in the Velocity context. > > Claude > > > On Sun, 15 Jul 2012 17:14:26 +0530 > Dishara Wijewardana <ddwijeward...@gmail.com> wrote: > > > On Sun, Jul 8, 2012 at 11:45 PM, Dishara Wijewardana < > > ddwijeward...@gmail.com> wrote: > > > > > Hi all, > > > > > > On Sun, Jul 8, 2012 at 11:41 PM, Dishara Wijewardana < > > > ddwijeward...@gmail.com> wrote: > > > > > >> TODOs > > >> > > >> - Mainly cover basic functionality + spec compatibility (i.e > > >> throwing different exceptions in different scenarios and etc ) on > > >> following major classes through unit tests. > > >> > > >> VelocityBindings > > >> VelocityScriptContext > > >> VelocityScriptEngine > > >> VelocityScriptEngineFactory > > >> > > > > > > Finished. Yet some more tests to cover engine.eval() is required. > > > > > > > > >> - Add complete javadoc comments to whole API. And move unnecessary > > >> comments to inner comments. > > >> > > >> > > > Finished. > > > > > > > > >> - Writing documentation on how to use JSR 223 API . Some Hello > > >> world example on JSR 223 would be nice in documentation. > > >> > > >> > > > How about writing a wiki on this like an article. (we can get sample > > > codes on best practices on using JSR 223, from the simple test > > > framework I have implemented ) > > > Any idea ? > > > > > > > > >> - Examples to include, probably based on velocity tools. > > >> > > > > > Hi Claude, > > I have tried velocity tools samples on tomcat and have some > > understanding. Can you elaborate more on what is the example/s which > > should implement. For example, is it some new use case based on > > velocity tools like existing sample or is it some example which has > > both velocity tools and JSR 223 API (if this is the case I have no > > clear idea of this yet) ? > > > > > > > > > Not yet started. > > > > > >> > > >> Hi claude, please add anything if I have missed. > > >> > > >> -- > > >> Thanks > > >> /Dishara > > >> > > >> > > > > > > > > > -- > > > Thanks > > > /Dishara > > > > > > > > > > > > -- Thanks /Dishara