I'm using JSPF in an Open Source project
(http://clinker.klicap.es/projects/opina). Congrats for this great
product.
All management related to plugins in Opina is working fine, but at
this time I have the need to load (as InputStream) a resource which
lives inside the plugin JAR, it is a CSS file located at the root of
the plugin JAR file.
I tried to do it myself but didn't find any way. Am I missing something?
Thanks,
Antonio.
--
Antonio Manuel Muñiz Martín
Software Developer at klicap - ingeniería del puzle
work phone + 34 954 894 322
www.klicap.es | blog.klicap.es
I'm getting this working by using the plugin object classloader:
InputStream is =
plugin.getClass().getClassLoader().getResourceAsStream("es/klicap/opina/plugin/default-theme.css");
I hope it will be helpful for others.
Antonio.
2011/12/28 Antonio Manuel Muñiz Martín <amu...@klicap.es>:
Antonio.
2011/12/29 Rick Herrick <rher...@gmail.com>:
--