I'm building an Eclipse RCP app that bundles the BIRT Plug-ins and some sample BIRT reports based on the Ingres database.
I'd like to auto-configure the user's BIRT config so that it points to the Ingres JDBC driver on the user's file system.
Ideally I'd like to reuse a DTP Connection Profile already set up but it looks like that's not possible to do.
Can you please explain how to auto configure the JDBC driver connection profile in BIRT. Then please explain how I can set up my sample reports to use it. I'll be doing this in an Eclipse plugin in Java.
It is possible. The ODA framework provides API method to create a transient connection profile.
Take a look at the method: OdaProfileExplorer#createTransientProfile( String, Properties ) in the org.eclipse.datatools.connectivity.oda.profile bundle.
Or you can use the DTP connectivity framework directly to create a persistent profile. E.g.
Based on your original description, it is not clear that you need to take this approach though. With the API approach, you have to manage the connectivity and life cycle of a connection profile instance.
If the goal is simply to customize the path of the JDBC driver jar file for individual user's environment, perhaps you can use the PropertyBinding feature of BIRT data source design. There you can specify the use of a variable, as part of a property value.