Specifying/Locations of external jars

Greetings,

Is it possible to implement jar files in your class files (for open api plugins) other than the jar files in “C:\Program Files\VP Suite 4.2\lib”? I have not played around with it for too long, however I’m thinking it is an easy solution.

For the time being I have had to compile the source code and place the needed libraries in the class folder of my plugin. I feel this may be unnecessary however.

Thank you,

Michael Lantz

Hi Michael,

You can define in plugin.xml the location of lib folder. Attached is a screenshot. The lib folder in this case should be put at plugin\lib. You can also use absolute path. Simply pass a false to the attribute relativePath and define the absolute path for attribute path.

Best regards,
Jick

plugin-lib.png