Monday, August 10, 2009

Rational & Databases

I keep running into minor usability issues with major rammifications when using Rational/Eclipse tools. You might say: download the Eclipse source and fix it, but alas, I'm using Rational which is based on Eclipse (and thus inherits it's bugs) but costs a lot of money instead. So it's not really open-source..

Anyway, the issue at hand: how to add a new JDBC driver (in this case Derby 10.5) and share it with my coworkers.. Well, for normal dependencies, the easiest would be to create a 'resources' project, put the JAR in there and share it. Not so when adding a new JDBC driver: the only option is to select a file from the filesystem. This ofcourse assumes that every machine and filesystem is identical which in practise is never the case.
So I though, okay lets edit the datasource definition directly (in your workspace under .metadata\.plugins\org.eclipse.datatools.connectivity) and change the location to include a variable (for example ${workspace_loc}. But unfortunately the variable expansions doesn't work here either.

So I'm a bit stuck. Adding the driver to a repository project is easy. Creating a new JDBC driver definition is easy. But sharing this with other people...

No comments:

Post a Comment