<div>Hi Ramesh,</div>
<div> </div>
<div>Yes I understand. I was trying to compile both the jdbc and the loo-back connection, and was getting into issues while compiling in my workspace. What jars should be used by the end-user to develop any connector by an user from compilation standpoint ? I was using <strong>teiid-6.2.0-M3-dist </strong>and <strong>teiid-6.2.0-M3-cdk-dist </strong>for my tests.</div>

<div> </div>
<div>It is posible in eclipse to have the product level classpaths injected automatically in the environment through the plugins. (Eg. Right clicking any Java project, click <strong>Properties</strong>; click <strong><em>Add Lbrary</em></strong> and you would see libraries JUNIT, GWT, JEE libraries injected by the relevant plugins. I was thinking in similar lines, so users do not need to search for required libraries and have those added manually and this would also facilitate quick-fix operation, etc along with be able to maintain different jars version across different cdk versions. The generated template will thus be self sufficient and be erady for development.</div>

<div> </div>
<div>Thanks</div>
<div><br>Sanjay<br><br></div>
<div class="gmail_quote">On Tue, Oct 20, 2009 at 10:11 AM, Ramesh Reddy <span dir="ltr">&lt;<a href="mailto:rareddy@redhat.com">rareddy@redhat.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Sanjay,<br><br>The &quot;teiid-connector-sdk&quot; provides a &quot;execution&quot; environment for a<br>connector during development of a connector. Based on the road map we<br>
may not want to use this at all, and directly use the Teiid runtime to<br>test a connector.<br><br>So, no to using cdk/lib. Yes, to use the &quot;jars&quot; directly. To start with<br>you can make it as user&#39;s responsibility to add this. If you want to get<br>
this automated, then we can think of making this a &quot;maven&quot; based<br>project, and just provide the dependencies in &quot;pom.xml&quot; and then they<br>will be downloaded from JBoss maven repository automatically, as all<br>
these libraries will be available though maven repository.<br><br>Also note &quot;teiid-connector-sdk-6.2.0-SNAPSHOT.jar&quot; is only currently<br>used for unit tests. The developer who is working with your plugin may<br>
not have the Teiid source at all, all he got is your plugin and a<br>document and he needs to build and test connector.<br><br>Thanks. Good questions keep em coming.<br><font color="#888888"><br>Ramesh..<br></font>
<div>
<div></div>
<div class="h5"><br>On Tue, 2009-10-20 at 02:24 -0500, Sanjay Chaudhuri wrote:<br>&gt; Hi Ramesh,<br>&gt;<br>&gt; Can you please let me know the jars would contain the following<br>&gt; classes ?<br>&gt;<br>&gt; org.teiid.dqp.internal.datamgr.impl.FakeExecutionContextImpl<br>
&gt; com.metamatrix.core.util.UnitTestUtil<br>&gt; com.metamatrix.query.metadata.QueryMetadataInterface<br>&gt; com.metamatrix.query.unittest.FakeMetadataFacade<br>&gt; com.metamatrix.query.unittest.FakeMetadataFactory<br>
&gt; com.metamatrix.query.unittest.FakeMetadataObject<br>&gt; com.metamatrix.query.unittest.FakeMetadataStore<br>&gt;<br>&gt; As part of the CDK classpath, do I take all the jars from the cdk/lib<br>&gt; directory or just use teiid-connector-sdk-6.2.0-SNAPSHOT.jar and<br>
&gt; teiid-engine-6.2.0-SNAPSHOT.jar &amp;<br>&gt; teiid-connector-api-6.2.0-SNAPSHOT.jar ? Also<br>&gt; teiid-connector-api-6.2.0-SNAPSHOT.jar is in the teiid distribution<br>&gt; package and not in cdk/lib directory of the cdk kit. This kind of<br>
&gt; defeats my plan to use the cdk kit as-is to register as a contributor<br>&gt; sdk with version through extension point unless I manually copy it and<br>&gt; make it a distribution. Using cdk kit as-is would facilitate choosing<br>
&gt; any version of cdk from more than one avaiable versions at runtime.<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Sanjay<br>&gt;<br>&gt; On Mon, Oct 19, 2009 at 4:41 PM, Ramesh Reddy &lt;<a href="mailto:rareddy@redhat.com">rareddy@redhat.com</a>&gt;<br>
&gt; wrote:<br>&gt;         Sure, the directory is what prescribed by the Maven build<br>&gt;         process.<br>&gt;         Although there is no requirement for us to provide the build<br>&gt;         process in<br>&gt;         Maven this will help if one needs to move in that direction.<br>
&gt;<br>&gt;         Thanks<br>&gt;<br>&gt;         Ramesh..<br>&gt;<br>&gt;<br>&gt;         On Mon, 2009-10-19 at 16:38 -0500, Sanjay Chaudhuri wrote:<br>&gt;         &gt; Hi Ramesh,<br>&gt;         &gt;<br>&gt;         &gt; Thanks. Will use connector-loopback to get started with<br>
&gt;         along with the<br>&gt;         &gt; same directory structure as the template.<br>&gt;         &gt;<br>&gt;         &gt; Sanjay<br>&gt;         &gt;<br>&gt;         &gt;<br>&gt;         &gt; On Mon, Oct 19, 2009 at 4:02 PM, Ramesh Reddy<br>
&gt;         &lt;<a href="mailto:rareddy@redhat.com">rareddy@redhat.com</a>&gt;<br>&gt;         &gt; wrote:<br>&gt;         &gt;         Sanjay,<br>&gt;         &gt;<br>&gt;         &gt;         No, Teiid do not have tools currently to produce the<br>
&gt;         &gt;         templates. Look in<br>&gt;         &gt;         the &quot;connector-api&quot; project&#39;s<br>&gt;         &quot;org.teiid.connector.api&quot;<br>&gt;         &gt;         package to see<br>&gt;         &gt;         the interface classes. Also,<br>
&gt;         &quot;org.teiid.connector.basic&quot;<br>&gt;         &gt;         package<br>&gt;         &gt;         provides the base class implementations of these<br>&gt;         interfaces.<br>&gt;         &gt;         The<br>
&gt;         &gt;         generated ones should extend the from basic and<br>&gt;         override<br>&gt;         &gt;         certain<br>&gt;         &gt;         methods.<br>&gt;         &gt;<br>&gt;         &gt;         connector-loopback may be the simplest to see what<br>
&gt;         are must<br>&gt;         &gt;         have classes<br>&gt;         &gt;         to generate to provide a simple &quot;hello world&quot; kind<br>&gt;         of<br>&gt;         &gt;         connector.<br>&gt;         &gt;<br>
&gt;         &gt;         connector-jdbc would be other extreme as to what we<br>&gt;         can do.<br>&gt;         &gt;<br>&gt;         &gt;         The idea here somebody is trying to write these<br>&gt;         connectors,<br>
&gt;         &gt;         and we are<br>&gt;         &gt;         providing a development environment for them.<br>&gt;         &gt;<br>&gt;         &gt;         Let me know if you have any questions. Thank you.<br>&gt;         &gt;<br>
&gt;         &gt;         Ramesh..<br>&gt;         &gt;<br>&gt;         &gt;<br>&gt;         &gt;         On Mon, 2009-10-19 at 15:12 -0500, Sanjay Chaudhuri<br>&gt;         wrote:<br>&gt;         &gt;         &gt; Hi Ramesh,<br>
&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt; I had gone briefly through the connector<br>&gt;         development guide;<br>&gt;         &gt;         did not<br>&gt;         &gt;         &gt; seem to see any  direct java/dos command to<br>
&gt;         generate the<br>&gt;         &gt;         necessary<br>&gt;         &gt;         &gt; template classes. It will be helpful if you can<br>&gt;         get me the<br>&gt;         &gt;         skeleton<br>&gt;         &gt;         &gt; classes/interfaces, which will get generated<br>
&gt;         though the<br>&gt;         &gt;         Eclipse<br>&gt;         &gt;         &gt; wizard.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt; Under the extension directories I looked at the<br>
&gt;         sources for<br>&gt;         &gt;         some of<br>&gt;         &gt;         &gt; these connector jars:<br>&gt;         &gt;         &gt; connector-ldap-6.2.0-SNAPSHOT.jar<br>&gt;         &gt;         &gt; connector-xml-6.2.0-SNAPSHOT.jar<br>
&gt;         &gt;         &gt; connector-jdbc-6.2.0-SNAPSHOT.jar<br>&gt;         &gt;         &gt; connector-text-6.2.0-SNAPSHOT.jar<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt; Thanks<br>&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt; Sanjay<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt; On Mon, Oct 12, 2009 at 8:48 PM, Ramesh Reddy<br>&gt;         &gt;         &lt;<a href="mailto:rareddy@redhat.com">rareddy@redhat.com</a>&gt;<br>
&gt;         &gt;         &gt; wrote:<br>&gt;         &gt;         &gt;         Sumanth,<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Welcome, thanks for your offer to<br>&gt;         contribute. We<br>
&gt;         &gt;         sincerely<br>&gt;         &gt;         &gt;         appreciate any help.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Currently Teiid does not mandate any<br>&gt;         coding<br>
&gt;         &gt;         guidelines,<br>&gt;         &gt;         &gt;         however there are few things we do follow.<br>&gt;         I try to<br>&gt;         &gt;         put<br>&gt;         &gt;         &gt;         something simple put together very soon on<br>
&gt;         WIKI.<br>&gt;         &gt;         Usually we<br>&gt;         &gt;         &gt;         use the default code formatting comes with<br>&gt;         Eclipse<br>&gt;         &gt;         install. I<br>&gt;         &gt;         &gt;         am thinking in the lines of<br>
&gt;         &gt;         &gt;<br>&gt;         &gt;<br>&gt;         <a href="http://www.jboss.org/community/wiki/JbpmCodingGuidelines" target="_blank">http://www.jboss.org/community/wiki/JbpmCodingGuidelines</a><br>&gt;         &gt;         &gt;         I will post to the dev-list in couple<br>
&gt;         days, you are<br>&gt;         &gt;         welcome to<br>&gt;         &gt;         &gt;         contribute.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         The digest replying instructions are<br>
&gt;         usually at the<br>&gt;         &gt;         beginning<br>&gt;         &gt;         &gt;         of the digest message. It is no more than<br>&gt;         selecting<br>&gt;         &gt;         the &quot;reply<br>
&gt;         &gt;         &gt;         all&quot; and changing the subject line to the<br>&gt;         reflect<br>&gt;         &gt;         the message<br>&gt;         &gt;         &gt;         you are replying to with &quot;Re:&quot; in the<br>
&gt;         front. Please<br>&gt;         &gt;         make sure<br>&gt;         &gt;         &gt;         that you include only sections of the<br>&gt;         message that<br>&gt;         &gt;         you are<br>&gt;         &gt;         &gt;         replying to. Since Teiid is low volume<br>
&gt;         list, you can<br>&gt;         &gt;         turn off<br>&gt;         &gt;         &gt;         the digest otherwise.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Now coming to project, if you have any<br>
&gt;         ideas about<br>&gt;         &gt;         this<br>&gt;         &gt;         &gt;         tooling project, please let us know, we<br>&gt;         can discuss<br>&gt;         &gt;         and make<br>&gt;         &gt;         &gt;         them part of the project if we all agree.<br>
&gt;         I will let<br>&gt;         &gt;         Sanjay<br>&gt;         &gt;         &gt;         answer if he needs any assistance with the<br>&gt;         work.<br>&gt;         &gt;         Teiid has<br>&gt;         &gt;         &gt;         plenty of other tasks if you would like to<br>
&gt;         &gt;         contribute, both<br>&gt;         &gt;         &gt;         eclipse and non-eclipse related.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         If you only want to do &quot;eclipse&quot; work,<br>
&gt;         &gt;         &gt;         1) we are in urgent need of Teiid<br>&gt;         integration with<br>&gt;         &gt;         Eclipse DTP<br>&gt;         &gt;         &gt;         (data tools platform). Basically Teiid<br>
&gt;         needs to<br>&gt;         &gt;         another<br>&gt;         &gt;         &gt;         source, where somebody can connect to and<br>&gt;         issue<br>&gt;         &gt;         queries<br>&gt;         &gt;         &gt;         against.<br>
&gt;         &gt;         &gt;         2) We can also use this in Phase 2 of CDK<br>&gt;         tooling<br>&gt;         &gt;         project,<br>&gt;         &gt;         &gt;         where we can deploy connector to and issue<br>
&gt;         queries<br>&gt;         &gt;         aginst.<br>&gt;         &gt;         &gt;         3)That could be expanded to tooling around<br>&gt;         the the<br>&gt;         &gt;         &quot;Connector<br>&gt;         &gt;         &gt;         Metadata&quot; feature, where some one could<br>
&gt;         define<br>&gt;         &gt;         multiple<br>&gt;         &gt;         &gt;         sources in DTP and integrate them using<br>&gt;         Teiid.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         We have ton of work on the non-eclipse<br>
&gt;         side too, lot<br>&gt;         &gt;         of issues<br>&gt;         &gt;         &gt;         are mentioned on the JIRA system.<br>&gt;         Submitting a<br>&gt;         &gt;         patches is<br>&gt;         &gt;         &gt;         excellent way to contribute, take a look<br>
&gt;         if anything<br>&gt;         &gt;         interests<br>&gt;         &gt;         &gt;         you.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Let me know what interests you, then we<br>
&gt;         can plan and<br>&gt;         &gt;         discuss<br>&gt;         &gt;         &gt;         accordingly.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Thanks again.<br>&gt;         &gt;         &gt;<br>
&gt;         &gt;         &gt;         Ramesh..<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         ----- Original Message -----<br>&gt;         &gt;         &gt;         From: &quot;Sumanth P K&quot;<br>
&gt;         &lt;<a href="mailto:sumanth.technical@gmail.com">sumanth.technical@gmail.com</a>&gt;<br>&gt;         &gt;         &gt;         To: <a href="mailto:email2sanjayc@gmail.com">email2sanjayc@gmail.com</a>, &quot;Ramesh<br>
&gt;         Reddy&quot;<br>&gt;         &gt;         &gt;         &lt;<a href="mailto:rareddy@redhat.com">rareddy@redhat.com</a>&gt;<br>&gt;         &gt;         &gt;         Cc: <a href="mailto:teiid-dev@lists.jboss.org">teiid-dev@lists.jboss.org</a><br>
&gt;         &gt;         &gt;         Sent: Monday, October 12, 2009 12:17:15 AM<br>&gt;         GMT<br>&gt;         &gt;         -06:00<br>&gt;         &gt;         &gt;         US/Canada Central<br>&gt;         &gt;         &gt;         Subject: Teiid Eclipse Plugin<br>
&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Sanjay / Ramesh,<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         I have been following the discussion<br>
&gt;         regarding the<br>&gt;         &gt;         &gt;         requirements of Teiid CDK Plugin for<br>&gt;         Eclipse. I am<br>&gt;         &gt;         interested<br>&gt;         &gt;         &gt;         in taking part in the process. Let me know<br>
&gt;         what<br>&gt;         &gt;         pieces I can<br>&gt;         &gt;         &gt;         start looking into and I can start the<br>&gt;         same. We may<br>&gt;         &gt;         need to<br>&gt;         &gt;         &gt;         come up with some preliminary standards<br>
&gt;         that<br>&gt;         &gt;         everybody should<br>&gt;         &gt;         &gt;         follow (for example: naming conventions,<br>&gt;         exception<br>&gt;         &gt;         handling to<br>&gt;         &gt;         &gt;         name a few), so that inconsistencies are<br>
&gt;         avoided.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Ramesh - I know it has been quite a while<br>&gt;         since I<br>&gt;         &gt;         had<br>&gt;         &gt;         &gt;         communicated to you regarding this. I have<br>
&gt;         been<br>&gt;         &gt;         going through<br>&gt;         &gt;         &gt;         the documents and have some idea on how<br>&gt;         things work.<br>&gt;         &gt;         And I<br>&gt;         &gt;         &gt;         guess I am now better placed to understand<br>
&gt;         the terms<br>&gt;         &gt;         involved.<br>&gt;         &gt;         &gt;         To be honest the pace from my end had been<br>&gt;         slow, but<br>&gt;         &gt;         I intend<br>&gt;         &gt;         &gt;         to devote more time to this from now<br>
&gt;         onwards.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Also, I had subscribed to the Teiid<br>&gt;         message digest<br>&gt;         &gt;         and hence<br>&gt;         &gt;         &gt;         can any of you please let me know how to<br>
&gt;         reply to a<br>&gt;         &gt;         specific<br>&gt;         &gt;         &gt;         mail in the digest. (I did not know how to<br>&gt;         do that<br>&gt;         &gt;         and hence<br>&gt;         &gt;         &gt;         had to send this email separately.).<br>
&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;         Thanks,<br>&gt;         &gt;         &gt;         Sumanth.<br>&gt;         &gt;         &gt;<br>&gt;         &gt;         &gt;<br>&gt;         &gt;<br>
&gt;         &gt;         &gt; _______________________________________________<br>&gt;         &gt;         &gt; teiid-dev mailing list<br>&gt;         &gt;         &gt; <a href="mailto:teiid-dev@lists.jboss.org">teiid-dev@lists.jboss.org</a><br>
&gt;         &gt;<br>&gt;         &gt;<br>&gt;         &gt;         &gt; <a href="https://lists.jboss.org/mailman/listinfo/teiid-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/teiid-dev</a><br>&gt;         &gt;<br>
&gt;         &gt;<br>&gt;         &gt;<br>&gt;         &gt; _______________________________________________<br>&gt;         &gt; teiid-dev mailing list<br>&gt;         &gt; <a href="mailto:teiid-dev@lists.jboss.org">teiid-dev@lists.jboss.org</a><br>
&gt;         &gt; <a href="https://lists.jboss.org/mailman/listinfo/teiid-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/teiid-dev</a><br>&gt;<br>&gt;<br>&gt;<br><br></div></div></blockquote></div><br>