velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Meyers <>
Subject locating Velocity templates in a .jar
Date Wed, 10 Aug 2005 19:15:57 GMT
I wrote a single class that is used to generate UI for our web
applications.  I wanted to package this class in a .jar along with the
two velocity templates it depends on.  Unfortunately I can't get this
call in my class to work:

Template template = Velocity.getTemplate(templateFile);

Is there something I can set in the properties file
(file.resource.loader.path) that will assist me here?  Is the approach
even possible?  Thanks so much for your help!

-Cliff Meyers

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message