On Freitag 16 Dezember 2005 13:37, Daniel Boelzle wrote:
but I also suggest to play around with the class loader
resource mechanism, e.g.
java.net.URL url =
MyClassFromMyJar.class.getResource(some-file-in-my.jar);
to obtain an url at runtime.
Thanks, it worked. The new version of
Hi Daniel,
Daniel Naber wrote:
Hi,
my addon (see http://www.danielnaber.de/languagetool/ for the base package,
no OOo integration online yet) needs to know where it has been installed
to load some external files that are part of its ZIP.
I actually got this working in a different context
Hello Daniel,
my addon (see http://www.danielnaber.de/languagetool/ for the base package,
no OOo integration online yet) needs to know where it has been installed
to load some external files that are part of its ZIP.
I actually got this working in a different context (see
On Freitag 16 Dezember 2005 15:16, Stephan Bergmann wrote:
The above mechanism is unreliable and should not be used:
ClassLoader.getResource will first search the parent class loader for
the resource (see the Sun Java documentation), so if some parent class
loader happens to find another file
Hi,
my addon (see http://www.danielnaber.de/languagetool/ for the base package,
no OOo integration online yet) needs to know where it has been installed
to load some external files that are part of its ZIP.
I actually got this working in a different context (see
Hi daniel,
there is a code snippet available from Paolo
It is StarBasic but the API calls remain the same
http://codesnippets.services.openoffice.org/Office/Office.ArbitraryDeploy.snip
HTH
Laurent
--
Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org
Indesko http://www.indesko.com