velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Khamkar <rkham...@gmail.com>
Subject Re: Using Velocity tools with Velocity Engine
Date Mon, 28 Jun 2010 15:32:40 GMT
Not even a single line of stacktrace. Does Velocity log under a
different file? I would hope to see anything under such case written
to standard error. Is there a different approach in doing this?

On Mon, Jun 28, 2010 at 12:19 AM, Antonio Petrelli
<antonio.petrelli@gmail.com> wrote:
> 2010/6/28 Rohit Khamkar <rkhamkar@gmail.com>:
>> context.put ("number", new NumberTool());
>> logDebug ("Here 2");
>>
>> Does not execute the line below context.put ("number", new
>> NumberTool()), When I do not have the line context.put ("number", new
>> NumberTool()), things seem to proceed in a normal way.
>>...
>>
>> Approach 2:
>>            ToolManager manager = new ToolManager();
>>            logDebug("here 2...");
>> ...
>> Does not execute the line below ToolManager manager = new ToolManager().
>
> Strange, the only reason because this happens is that you have an
> exception. Do you see any stacktrace?
>
> Antonio
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
> For additional commands, e-mail: user-help@velocity.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@velocity.apache.org
For additional commands, e-mail: user-help@velocity.apache.org


Mime
View raw message