Fwd: Parse refactoring

From: Mike Kienenberger (mkienen..mail.com)
Date: Sat Dec 03 2005 - 14:14:54 EST

  • Next message: Andrus Adamchik: "Re: Parse refactoring"

    Forwarding to the Cayenne dev mailing list for comment. Note that
    Cayenne has been using Velocity 1.3.1 up to this point.

    ---------- Forwarded message ----------
    From: Will Glass-Husain <wglas..orio.com>
    Date: Dec 3, 2005 2:03 PM
    Subject: Re: Parse refactoring
    To: Velocity Developers List <velocity-de..akarta.apache.org>

    Hmm..

    This is awkward. Hard to improve a product when other apps rely on the
    internal method calls.

    Do you know the specific change in Velocity which broke Cayenne?

    WILL

    ----- Original Message -----
    From: "Malcolm Edgar" <malcolm.edga..mail.com>
    To: "Velocity Developers List" <velocity-de..akarta.apache.org>
    Sent: Saturday, December 03, 2005 2:53 AM
    Subject: Parse refactoring

    Hi Guys,

    Velocity parser was refactored a few weeks ago, the directory was changed
    from memory. This is breaking compatablity with Cayenne which uses Velocity
    1.4.

    Click has been using 1.5-dev up until now, but this change is leaving me in
    no mans land.

    Is is possible that this change could be rolled back.

    regards Malcolm Edgar

    Stack trace:

    java.lang.NoSuchMethodError:
    org.apache.velocity.runtime.parser.node.Node.jjtGetChild(I)Lorg/apache/velocity/runtime/parser/node/Node;

        at org.objectstyle.cayenne.access.jdbc.ResultDirective.getChild(
    ResultDirective.java:190)
        at org.objectstyle.cayenne.access.jdbc.ResultDirective.getChildAsString(
    ResultDirective.java:202)
        at org.objectstyle.cayenne.access.jdbc.ResultDirective.render(
    ResultDirective.java:151)
        at org.apache.velocity.runtime.parser.node.ASTDirective.render(
    ASTDirective.java:117)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(
    SimpleNode.java:240)
        at
    org.objectstyle.cayenne.access.jdbc.SQLTemplateProcessor.buildStatement(
    SQLTemplateProcessor.java:219)

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: velocity-dev-unsubscrib..akarta.apache.org
    For additional commands, e-mail: velocity-dev-hel..akarta.apache.org



    This archive was generated by hypermail 2.0.0 : Sat Dec 03 2005 - 14:14:56 EST