[teiid-dev] CDK Toolkit Plugin Specifics

Sanjay Chaudhuri email2sanjayc at gmail.com
Sat Oct 24 16:20:32 EDT 2009


Ramesh, Sumanth,

Sure, I shall get involved with the JCA thread. I am little contraint on
time; however CDK toolkit plugin is definitely one of the high priorities in
my list, so I try to understand Teiid/CDK while I am developing the plugins.

Eclipse does have an infrastructure for properties editing using a basic
properties editor and also a pretty sophisticated one which you would
normally see with any GEF implementations (RAD is one). I guess using the
advanced one is much better because it has sheet-tabs, to segregate
information and also can be made custom if you want something special for
the contents. And also using it, is one of the eclipse conventions for
property editing. Those sets of codes can itself be over-whelming. I guess,
Sumanth can definitely take it up incase he feels interested on that and it
is indeed non-conflicting with what I am doing.

Sumanth, I am almost done with the basic project and would need the cdk
contributor plugin; incase you have not started it off, I would move forward
with it because it has strong coupling with what I am doing. Taking the
properties edtior would have almost no coupling now; later on it will be a
matter of integration to the main core-plugin.

It will be definitely be helpful if you can give me the committer access on
the sourceforge (would prefer over GIT, as am yet to look into GIT
specifics; I shall do so when I have little more time) to start checking in
the project; shall be doing it shortly. Then we can use the issue tracker on
SF for feature requests and bug tracking.

Thanks

Sanjay
On Sat, Oct 24, 2009 at 2:24 PM, Ramesh Reddy <rareddy at redhat.com> wrote:

> That looks good. Great Job! That is exactly what I was looking for. The
> properties class needs some tweaking. For more info on this follow and
> read "Teiid in JCA Container" thread. I encourage you to read and
> participate as this directly affects what you are working on too. I
> created "JCA" branch on the Teiid, but I do not have any check-ins yet.
> Once I have some commits then you can see clearly what I am talking in
> the thread.
>
> Based on changes for 6.3 release, the XML file we need to change that
> the format of "ra.xml" and can live in "src/rar/META-INF/ra.xml"
> location. I am attaching a sample "ra.xml" file.
>
> You can make a template xml file out of this and let users add more
> properties there. Each property on this "ra.xml" file will get a "set"
> and "get" methods on the "properties" class.
>
> Do you think you can come up some kind of properties editor for the
> connector, where on some pop-up window, you can specify a "property"
> name, type and optional value, and that value is automatically added to
> the ra.xml file and add the getters and setters to the properties class?
> The important thing is keeping them in sync. I do not know if there is
> anything similar you can extend. This is some good non-conflicting work
> that can be done by Sumanth while you are doing other stuff. Your call.
>
> Also, for the code to host we can either host on "sourceforge" or
> "github" while we are working, once we get this thing to a good stable
> stage we will think how we can integrate this into Teiid tools area. On
> SF I can give you commiter access as we do not use this repo for Teiid
> code. Let me know.
>
> Again great work, and appreciate your work. Let me know if you have
> questions.
>
> Thanks
>
> Ramesh..
>
> On Fri, 2009-10-23 at 16:26 -0500, Sanjay Chaudhuri wrote:
> > Hi Ramesh,
> >
> > These are the specifics I am working with to generate the template.
> > Please let me know if you want me to change something. On the wizard:
> > - Will take input of the project name and the physical project that
> > gets created will be connector-projectname. So if HelloWorld is given
> > as the project name, the created project name will be
> > connector-helloworld
> > - Will take input of the package name and the following directory
> > structure will be created with existing Loopback classes and resources
> > renamed as shown. Assuming com.example.hello is used:
> > Project: connector-helloworld
> > connector-helloworld\.classpath
> > connector-helloworld\.project
> > connector-helloworld\pom.xml
> > connector-helloworld\src
> > connector-helloworld\target
> > connector-helloworld\src\assembly
> > connector-helloworld\src\main
> > connector-helloworld\src\test
> > connector-helloworld\src\assembly\bundle.xml
> > connector-helloworld\src\main\java
> > connector-helloworld\src\main\resources
> > connector-helloworld\src\main\java\com
> > connector-helloworld\src\main\java\com\example
> > connector-helloworld\src\main\java\com\example\hello
> > connector-helloworld\src\main\java\com\example\hello
> > \HelloWorldCapabilities.java
> > connector-helloworld\src\main\java\com\example\hello
> > \HelloWorldConnection.java
> > connector-helloworld\src\main\java\com\example\hello
> > \HelloWorldConnector.java
> > connector-helloworld\src\main\java\com\example\hello
> > \HelloWorldExecution.java
> > connector-helloworld\src\main\java\com\example\hello
> > \HelloWorldProperties.java
> > connector-helloworld\src\main\resources\connector-helloworld.xml
> > connector-helloworld\src\test\java
> > connector-helloworld\src\test\resources
> > connector-helloworld\src\test\java\com
> > connector-helloworld\src\test\java\com\example
> > connector-helloworld\src\test\java\com\example\hello
> > connector-helloworld\src\test\java\com\example\hello
> > \TestHelloWorldAsynch.java
> > connector-helloworld\src\test\java\com\example\hello
> > \TestHelloWorldExecution.java
> > connector-helloworld\src\test\resources\connector-helloworld.xml
> > connector-helloworld\target\classes
> > connector-helloworld\target\test-classes
> > connector-helloworld\target\classes\com
> > connector-helloworld\target\classes\com\example
> > connector-helloworld\target\classes\com\example\hello
> > connector-helloworld\target\test-classes\com
> > connector-helloworld\target\test-classes\com\example
> > connector-helloworld\target\test-classes\com\example\hello
> >
> > These are the 3 project source folders and their corresponding output
> > folders:
> > src/main/java, target/classes/
> > src/main/resources, target/classes/
> > src/test/java, target/test-classes/
> >
> > Thanks
> >
> > Sanjay
> > _______________________________________________
> > teiid-dev mailing list
> > teiid-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/teiid-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/teiid-dev/attachments/20091024/80c53426/attachment.html 


More information about the teiid-dev mailing list