[teiid-dev] Cdk Plugin is available

Ramesh Reddy rareddy at redhat.com
Mon Nov 9 10:46:21 EST 2009


Sanjay,

It will take me another week or little more to give you a copy of the
template that matches with the new 6.3 Connector API. If you want go
ahead with the variable replacement framework for this based on my
previous email with some sample code. Yes, "ra.xml" will also need to be
variable replaced. 

I was thinking if there is way you could use the Eclipse Java code
template mechanism. Just a suggestion.

> >>Sanjay: I think having a eclipse menu would be much better to build
> the RAR. What would be these connector-custom.jar, dependencies-1.jar,
> etc ? Won't the jar contain the compiled classes ? Where should be
> this jar kept ? A build directory ?

connector-custom.jar --> will be the jar file of the all the custom
connector classes that user generated using the plug-in + his/her
additions.

dependencies-${n}.jar --> these are any jar file that connector is
dependent upon. So, any runtime dependencies for this connector. Lets
say if user is writing a connector to "Oracle", then the jar file that
contains the JDBC driver for "Oracle" will be a dependent jar for this
connector.

The user will add the dependent jars as part of building the connector,
just like any other Java project. Then as part of building the RAR, we
should build the "connector-custom.jar" and add it to RAR and then also
add all the dependent JARs that are defined in the build. If we need to
use "temp" directory for keeping the intermediate results we should do
that, then delete it once we have the RAR file.

Ramesh..



More information about the teiid-dev mailing list