smehrbrodt / libreoffice-starter-extension

LibreOffice Starter Extension
MIT License
32 stars 9 forks source link

Can't include external jar #5

Closed bibiwan closed 7 years ago

bibiwan commented 7 years ago

I'm not sure that it's an issue, but I don't know where to ask for help.

I have two problems that I can't explain, even using Eclipse debugger: When a method from ActionOneDialog class calls an object from another package (in my case, a class from example.comp package), I get a noclassdeffounderror.

Same problem when a method calls an object from a jar library (I have put it manually in build directory, which I can see in jar file inside oxt after build step, and I declared it as an external jar in Eclipse's build path).

Do I need to declare every classes used by your classes ? If so, where ? Do I need to declare every library used un my program ? If so, where in Eclipse?

smehrbrodt commented 7 years ago

Did you add the jar to your package.properties file?

bibiwan commented 7 years ago

Ok, I added my jar into a lib directory, added it as library in my eclipse project, and added it to package.properties...

It seems to work !

Thanks a lot.

smehrbrodt commented 7 years ago

Good to hear! I updated the README to include a note on this. Let me know if you have any other issues!