velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Qin Ding" <>
Subject Please Help
Date Tue, 07 Oct 2003 16:25:59 GMT
Can someone help me with file.resource.loader.path?  I just can't make it

Here is my file:


The package structure:
longlegs is the root of the package. Or the top folder in the jar.  The vm
file is in longlegs/core/template/status_report.vm

When I issue ve.getTemplate("status_report.vm"), I got resource not find:

If I have the above mentioned package structure, what's the correct
definition of the path?  Right now the only way the system can find the vm
file is when I hard code like this: c:
\some\folder\projects\src\longlegs\core\template.  But how am I supposed to
deploy the jar contains something like this.

please help me.  Thank you.



This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.

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

View raw message