Apache Velocity Question

Discussion in 'Java' started by todd, Apr 21, 2004.

  1. todd

    todd Guest

    I am having trouble debugging the template #include() directive.

    Firstly, the include properties seem to be set by default:

    directive.include.output.errormsg.start = <!-- include error :
    directive.include.output.errormsg.end = see error log -->

    and I am also overriding these in my code.

    The problem is, during testing, I am deliberately trying to include a
    missing file #include( "/path/missingFile.inc" ) and I never get the
    debug message.

    Has anyone managed to get this functionality working?

    Thanks in advance...
    ~todd
     
    todd, Apr 21, 2004
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darek
    Replies:
    3
    Views:
    2,475
    David Robbins
    Dec 15, 2003
  2. Papa Schultz

    [FR] velocity anakia, xml db, xpath

    Papa Schultz, Feb 12, 2004, in forum: Java
    Replies:
    0
    Views:
    591
    Papa Schultz
    Feb 12, 2004
  3. Leo Gaggl
    Replies:
    0
    Views:
    1,295
    Leo Gaggl
    Apr 5, 2004
  4. Nathan Hazout

    Velocity

    Nathan Hazout, Oct 1, 2004, in forum: Java
    Replies:
    9
    Views:
    877
    Bryan Castillo
    Oct 3, 2004
  5. mdh
    Replies:
    0
    Views:
    3,912
  6. HemantS
    Replies:
    0
    Views:
    915
    HemantS
    Jun 12, 2007
  7. bond
    Replies:
    1
    Views:
    3,924
    Mark Jeffcoat
    Jun 28, 2007
  8. Dimedrol
    Replies:
    0
    Views:
    396
    Dimedrol
    Jan 25, 2008
Loading...