Hi, My grammar checker extension uses external resources, like dictionaries. I need to deploy them with my oxt. In my oxt build.xml, I've added and instruction to copy the resources in the destination directory. It works. If I check in "Application Data\OpenOffice.org\3\user\uno_packages\cache\uno_packages\6E.tmp_\myExtensi on.oxt\", I see my dictionaries (I'm on a Windows computer). You can see it's a dynamic directory, because it depends of the user name, and the 6E.tmp_ directory name is generated at the oxt installation.
Now in my Main class, I need to get this dictionary directory. But "Application Data\OpenOffice.org\3\user\uno_packages\cache\uno_packages\6E.tmp_\myExtensi on.oxt\", that is to say the directory where the extension is deployed, and where my .jar is, is not the current directory. The current directory is "C:\Program Files\OpenOffice.org 3\program". I don't know what to do. Maybe I can copy my dictionaries in the program directory, but it's not very nice, and I don't know if an oxt is allowed to put files anywhere. Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lingucomponent.openoffice.org For additional commands, e-mail: dev-h...@lingucomponent.openoffice.org