Velocity into a plug-in

vanessa vanessa <[email protected]>
Newsgroups gmane.comp.jakarta.velocity.user
Message-ID <CA+FSPYv9B+vy7Dj3HH_Uea2NSEsmtbGjuBXJF_Lm6rHsNJD8Rg@mail.gmail.com>
Hi all ,

I'm using velocity in a plug-in projet.In the root of my plugin
i put a folder templates/template.vm. And i call the template
velocity.getTemplate(template.vm) from my class.
But the resource is not found i don't no why its directory isn't
recognised.the template cannot be loaded.

Every thing work fine in a java-Project.
 I will appreciate any help.
Thanks.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.