Hi Will, Well, we have used Velocity, in a generator application code for generating J2EE code ...
And I can tell you that some velocity template are quite big enougth to justify the use of a debugger ;-)) I have done a eclipse RCP application to wrap our generator core, and then I asked me, how it will be great to have a eclipse debugger for the RCP application. That's why I'm interrested to have this velocity debugger !! Well, I began to work on that, but I have touch the velocity 1.4 code, and put some code in the render methods, and I know that you have generated with JavaCC, but I've no time to do it with JavaCC, that's why I came to you to have your state of mind about it !! Hasta luego Bruno Will Glass-Husain-2 wrote: > > Sure, that might be interesting to see. But aren't templates usually > simple enough that a debugger is overkill? > > Having said that, if you wanted to work on this, we'd welcome a link > to it or a contribution on the Wiki. > > best, > WILL > > On 1/29/07, bguedes <[EMAIL PROTECTED]> wrote: >> >> Hi Will, >> >> Well in having a debugger, I was thinking in a debugger like the Pnuts >> one >> !!! >> >> For having, per example, a eclipse debugger to stepping in a velocity >> template ... >> >> Well, it seems to me that for having a debugging mecanism, we have to >> modify >> the render() methods of SimpleNode class and the child classes also like >> the >> Directive one !! >> >> Well, what about doing one debugger ??? >> >> Sincerely >> >> Bruno >> >> >> Will Glass-Husain wrote: >> > >> > Not quite sure what you mean by a debugger. Do you mean a mechanism >> > to see problems in a Velocity page? >> > >> > For parse errors, Velocity 1.5 throws an Exception providing the line >> > number, column number, and template name of the error. The Click >> > framework uses this info to do a nice job of highlighting the specific >> > error. >> > http://click.sourceforge.net/ >> > >> > In addition, there's a new event handler in Velocity 1.5 that will >> > catch and return all invalid references, perhaps this is of help. >> > >> > WILL >> > >> > On 1/24/07, Bruno GUEDES <[EMAIL PROTECTED]> wrote: >> >> Hi everybody, >> >> >> >> Have you plan to create an Debugger, for exmample an Eclipse Debugger >> >> ;-) ??? >> >> >> >> Well, if possible, can I ask with somebody of the velocity task, about >> >> it ??? >> >> >> >> Have a nice day ... >> >> >> >> Sincerely >> >> >> >> Bruno >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > Forio Business Simulations >> > >> > Will Glass-Husain >> > [EMAIL PROTECTED] >> > www.forio.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Velocity-Debugger-tf3081966.html#a8700326 >> Sent from the Velocity - Dev mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Forio Business Simulations > > Will Glass-Husain > [EMAIL PROTECTED] > www.forio.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Velocity-Debugger-tf3081966.html#a8706395 Sent from the Velocity - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]