Le mercredi 16 mai 2007 à 15:41 -0700, Nathan Bubna a écrit :
> i don't know if anyone else has taken the time to try out Tools 2.x or
> cares about it yet, but i thought i'd give an update anyway...

For now I just followed your updates. I'll try them soon (as soon as
I'll end up fighting with maven 2...). I am positively impressed by your
work, btw.

> [...]
> As this is a significant milestone, i thought i'd ask if anyone is
> interested in having an alpha release or milestone build.  I'd love to
> get some feedback on the progress so far, as well as the backwards
> compatibility of things.  Would that help lower the barrier for some
> of you to try it out?

I just tried a drop-in replacement, just to see what would happen. It
failed in my case due to the fact that the ViewTool interface
disappeared - after all the efforts you made to reach BC we should
probably put it back, as deprecated... I'm too drunk tonight (an
official site release at work...) to commit anything but after having
added it back, I got :

[01:42:42.321]  Velocity  [debug] Loading configuration from: 
/WEB-INF/toolbox.xml
[01:42:42.364]  Velocity  [trace] Searching for configuration at: 
/WEB-INF/tools.xml
[01:42:42.366]  Velocity  [debug] Could not find file at: /WEB-INF/tools.xml

(shouldn't the library FIRST search for tools.xml THEN for toolbox.xml if 
tools.xml wasn't found?)

[01:42:42.498] java.lang.NoClassDefFoundError: 
org/apache/struts/action/ActionForm

(I don't use any struts, only jar.view... where does this reference to struts 
come from?)

[01:42:42.498]  at java.lang.Class.getDeclaredMethods0(Native Method)
[01:42:42.498]  at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
[01:42:42.498]  at java.lang.Class.getMethod0(Class.java:2670)
[01:42:42.498]  at java.lang.Class.getMethod(Class.java:1603)
[01:42:42.498]  at 
org.apache.velocity.tools.config.ToolConfiguration.isOldTool(ToolConfiguration.java:134)
[01:42:42.498]  at 
org.apache.velocity.tools.config.ToolConfiguration.toString(ToolConfiguration.java:205)
[01:42:42.498]  at java.lang.String.valueOf(String.java:2827)
[01:42:42.498]  at java.lang.StringBuilder.append(StringBuilder.java:115)
[01:42:42.498]  at 
org.apache.velocity.tools.config.CompoundConfiguration.appendChildren(CompoundConfiguration.java:106)
[01:42:42.498]  at 
org.apache.velocity.tools.config.ToolboxConfiguration.toString(ToolboxConfiguration.java:154)
[01:42:42.498]  at java.lang.String.valueOf(String.java:2827)
[01:42:42.498]  at java.lang.StringBuilder.append(StringBuilder.java:115)
[01:42:42.498]  at 
org.apache.velocity.tools.config.CompoundConfiguration.appendChildren(CompoundConfiguration.java:106)
[01:42:42.498]  at 
org.apache.velocity.tools.config.FactoryConfiguration.toString(FactoryConfiguration.java:130)
[01:42:42.498]  at java.lang.String.valueOf(String.java:2827)
[01:42:42.498]  at java.lang.StringBuilder.append(StringBuilder.java:115)
[01:42:42.498]  at 
org.apache.velocity.tools.view.VelocityView.configure(VelocityView.java:496)
[01:42:42.498]  at 
org.apache.velocity.tools.view.VelocityView.init(VelocityView.java:356)
[01:42:42.498]  at 
org.apache.velocity.tools.view.VelocityView.init(VelocityView.java:291)
[01:42:42.498]  at 
org.apache.velocity.tools.view.VelocityView.<init>(VelocityView.java:189)
[01:42:42.498]  at 
org.apache.velocity.tools.view.VelocityView.<init>(VelocityView.java:181)
[01:42:42.498]  at 
org.apache.velocity.tools.view.ServletUtils.getVelocityView(ServletUtils.java:80)
[01:42:42.498]  at 
org.apache.velocity.tools.view.VelocityViewServlet.init(VelocityViewServlet.java:102)

If you need any custom debug log to investigate this, just ask!


  Claude



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to