Cgen -- can cgen return better errors?

From: Mike Kienenberger (mkienen..laska.net)
Date: Tue Sep 09 2003 - 15:10:23 EDT

  • Next message: Mike Kienenberger: "FAQ logging documentation misrepresentation: CLASSPATH/.cayenne/cayenne-log.properties"

    Right now, if there's a problem parsing a template, cgen returns:

    build.xml[build.xml line number]: Error generating classes.

    When I use Velocity from struts, I get back a template file name and line
    number and column number.

    I haven't looked at the Velocity API, but I'm going to assume that
    exact-context error reporting is a feature of Velocity and not an add-on
    with struts.

    -Mike



    This archive was generated by hypermail 2.0.0 : Tue Sep 09 2003 - 15:07:30 EDT