|
Re: Error with standalone app and ODA driver [message #511523 is a reply to message #511055] |
Mon, 01 February 2010 21:26 |
|
Chris,
If the jar is a plugin put it in the plugins directory. In the runtime
you only need the runtime plugin. In the designer you need both runtime
and design time oda plugins.
Jason
Chris wrote:
> I have written and tested the ODA designer and driver plugins for
> eclipse and now want to write a standalone application that will use the
> driver. I have a sample application that works fine when the database
> driver is the MySQL driver. I thought that all I should have to do is
> include the ODA driver jar in my classpath instead of the MySQL jdbc jar
> and that would work, but it didn't. I also tried adding this jar to the
> report engine plugins folder, but that didn't work either. So, what
> exactly is the procedure to get this working?
>
> Thanks,
> Chris
|
|
|
|
Re: Error with standalone app and ODA driver [message #511758 is a reply to message #511694] |
Tue, 02 February 2010 18:20 |
|
Chris,
I have seen this before. Can you add a comment to the dev share item?
Jason
Chris wrote:
> Jason,
>
> I did include the jar in the plugin folder. However, I found my problem
> and I think it's another problem with the ODA driver tutorial. There is
> a checkbox in the plugin wizard that asks if the driver is going to
> participate in the UI. If that is checked, then the Activator extends
> UIPlugin and has a dependency on the Eclipse UI jars. This should not
> be checked for the runtime plugin. It appears that when the plugins are
> searched at startup, the manifest files are read and if there are any
> unsatisfied dependencies, the search continues on and ignores the plugin
> with the unresolved dependency. This results in the error that the ODA
> driver cannot be found.
> There really needs to be some type of message that comes out when there
> are unsatified dependencies in a manifest file. I spent over a week
> tracking this one down when a message would have made it obvious. I'm
> not sure who to annoy with this.
>
> Chris
|
|
|
Powered by
FUDForum. Page generated in 0.03462 seconds