Tom:
That was it! I'm in business now with my templates inside the plugin.
Thanks,
David
On 11/11/06, Tom Huybrechts <[EMAIL PROTECTED]> wrote:
Check the value of classLoader.getResource(...). This should be a URL
in the form to a resource inside a jar. I don't think turning this
into a str
Check the value of classLoader.getResource(...). This should be a URL
in the form to a resource inside a jar. I don't think turning this
into a string and passing that to new File() will help. Instead try
using getting the resource as a stream.
InputStream is = getClass().getClassLoader().getReso
Can someone tell me how to get the maven plugin classloader? Or tell me if
that's I can't obtain the reference file as such ... from a plugin.java file
e.g.
ClassLoader classLoader = this.getClass().getClassLoader();
File file = new File(classLoader.getResource
(getLocalPro