<div>Yup that what I plan. I am trying to do a clean build manually in a workspace for me to understand how things are wired as an user.</div>
<div> </div>
<div>Thanks</div>
<div> </div>
<div>Sanjay<br><br></div>
<div class="gmail_quote">On Tue, Oct 20, 2009 at 10:27 AM, Larry O&#39;Leary <span dir="ltr">&lt;<a href="mailto:loleary@redhat.com">loleary@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">
<div>
<div></div>
<div class="h5">On Tue, 2009-10-20 at 10:11 -0500, Ramesh Reddy wrote:<br>&gt; Sanjay,<br>&gt;<br>&gt; The &quot;teiid-connector-sdk&quot; provides a &quot;execution&quot; environment for a<br>&gt; connector during development of a connector. Based on the road map we<br>
&gt; may not want to use this at all, and directly use the Teiid runtime to<br>&gt; test a connector.<br>&gt;<br>&gt; So, no to using cdk/lib. Yes, to use the &quot;jars&quot; directly. To start with<br>&gt; you can make it as user&#39;s responsibility to add this. If you want to get<br>
&gt; this automated, then we can think of making this a &quot;maven&quot; based<br>&gt; project, and just provide the dependencies in &quot;pom.xml&quot; and then they<br>&gt; will be downloaded from JBoss maven repository automatically, as all<br>
&gt; these libraries will be available though maven repository.<br>&gt;<br>&gt; Also note &quot;teiid-connector-sdk-6.2.0-SNAPSHOT.jar&quot; is only currently<br>&gt; used for unit tests. The developer who is working with your plugin may<br>
&gt; not have the Teiid source at all, all he got is your plugin and a<br>&gt; document and he needs to build and test connector.<br>&gt;<br>&gt; Thanks. Good questions keep em coming.<br>&gt;<br>&gt; Ramesh..<br>&gt;<br>
&gt; On Tue, 2009-10-20 at 02:24 -0500, Sanjay Chaudhuri wrote:<br>&gt; &gt; Hi Ramesh,<br>&gt; &gt;<br>&gt; &gt; Can you please let me know the jars would contain the following<br>&gt; &gt; classes ?<br>&gt; &gt;<br>&gt; &gt; org.teiid.dqp.internal.datamgr.impl.FakeExecutionContextImpl<br>
&gt; &gt; com.metamatrix.core.util.UnitTestUtil<br>&gt; &gt; com.metamatrix.query.metadata.QueryMetadataInterface<br>&gt; &gt; com.metamatrix.query.unittest.FakeMetadataFacade<br>&gt; &gt; com.metamatrix.query.unittest.FakeMetadataFactory<br>
&gt; &gt; com.metamatrix.query.unittest.FakeMetadataObject<br>&gt; &gt; com.metamatrix.query.unittest.FakeMetadataStore<br>&gt; &gt;<br>&gt; &gt; As part of the CDK classpath, do I take all the jars from the cdk/lib<br>&gt; &gt; directory or just use teiid-connector-sdk-6.2.0-SNAPSHOT.jar and<br>
&gt; &gt; teiid-engine-6.2.0-SNAPSHOT.jar &amp;<br>&gt; &gt; teiid-connector-api-6.2.0-SNAPSHOT.jar ? Also<br>&gt; &gt; teiid-connector-api-6.2.0-SNAPSHOT.jar is in the teiid distribution<br>&gt; &gt; package and not in cdk/lib directory of the cdk kit. This kind of<br>
&gt; &gt; defeats my plan to use the cdk kit as-is to register as a contributor<br>&gt; &gt; sdk with version through extension point unless I manually copy it and<br>&gt; &gt; make it a distribution. Using cdk kit as-is would facilitate choosing<br>
&gt; &gt; any version of cdk from more than one avaiable versions at runtime.<br><br></div></div>Is there anyway we can not have the connector developer&#39;s plug-in depend<br>on teiid-engine?  It seems that such a dependency wouldn&#39;t adhere to the<br>
connector-api itself.  In my opinion the only thing a connector should<br>be dependent on is the API.  It would be nice however to offer a unit<br>test package base to the connector developer so that their connector<br>could be easily integrated with a connector test framework.<br>
<br>----<br><font color="#888888">Larry<br><br></font></blockquote></div><br>