third-party jars

If a plugin needs third party jars, where should one put them?

http://www.intellij.org/twiki/bin/view/Main/IntellijPluginDocumentation
says the lib directory but my plugin doesn't seem to find the jar I place
in there ( do I have to mention the jar somewhere in an XML file or
something?

I tried using the exploded directory version, but just kept on getting
weird PluginException errors before any of my code was being run, going
back to the .jar and it works, but not gives me NoClassDef's for a few
things...

Mark




--
Discouragement is a dissatisfaction with the past, a distaste for the
present, and a distrust of the future - Maree De Jong, CLCA.

3 comments
Comment actions Permalink

I'm using exploded form and put them into plugin's lib. Works like a charm.

0
Comment actions Permalink

On Wed, 21 Jan 2004 22:33:51 +0000, eprst wrote:

I'm using exploded form and put them into plugin's lib. Works like a
charm.


Seems to be working now, if I put my own classes in a jar in the lib dir,
and not in the ./classes dir. Odd.

Mark


--
Discouragement is a dissatisfaction with the past, a distaste for the
present, and a distrust of the future - Maree De Jong, CLCA.

0
Comment actions Permalink

Yep this has been always the case as far as I remember.
If you only have one jar simply drop it in the plugins directory.
If your plugin depends on third party jars, use the same plugin jar but drop in a directory structure like ]]>/lib along with your required third-party jars.

Jacques

0

Please sign in to leave a comment.