Community
Participate
Working Groups
Provide a way to specify a relative path for the jarList of a driver. Currently, in my plugin, I specify a relative path for the jarList (such as runtime/jt400.jar) but when I check in the preference page or when I am creating a new connection profile it complains that the jar location is not found. This is because it's treating the relative path as an absolute path.
Hey Brian, could you document how to reference jar files located within plugins when defining a driver definition? Thanks, Rob.
Hi. There is a way to do this currently. In the jarlist property for the driver, use the following syntax: [plugin-id]/path For example, if you have jar1.jar in the "my.jar.plugin" plugin in a directory called "folder/jars", it would look like: [my.jar.plugin]/folder/jars/jar1.jar Note that the jar file(s) must be exposed via plug-ins in order for this to work.
driver management framework supports this. marking as fixed.
Closing bugs
Has this mechanism been proven to work for jar-bundled plugins or just directory bundled plugins. In other words, if my plugin ships in the eclipse/plugins directory as a jar file rather than a sub-directory, will it be found? So far we haven't had success with that use case.
That's an interesting use case. I don't believe we tested for that case, as it hadn't come up yet. Can you open a new BZ entry for it and we'll look at it for 1.6.1?