Wanted: CouchDB Eclipse Plug-in

An Eclipse Plug-in for Apache CouchDB would be a big help for Java adoption, particularly within IBM.

It's fairly simple as a plug-in I think, we only need something that installs and runs a local CouchDB instance. However, since it's not native Java, each each OS supported will required special build/install work.

It will launch with it's port set to 0, then the OS will assign it an available port and the VM will return the port # back to plug-in. Application code will get the port # from the plug-in then access the API using one of the available Java CouchDB client libraries.

Know Eclipse and interested in helping CouchDB?

Posted August 4, 2009 12:52 PM

Comments

Yes !!! Yes !!! Yes !!! Yes !!! Please !!! ;)

CouchDB + Symphony = replicating symphony
CouchDB + Notes = multi storage Notes
CouchDB + Eclipse = Replicating rich client
CouchDB + OSGI Bundle = replicating datastore for WebSphere Appserver
CouchDB + OSGI Bundle = extra datastore for Domino OSGI container (the Idea from Bob Balfe).

Any extra reason ?

I've been looking for a win32 build of couchdb. If I can get it then I can transform it into a working bundle for Eclipse.

We need to choose:

- Which eclipse version to create plugins for
- The lifecylcle we want
- Debugging/Control features we need etc.

Daniele Vistalli, August 4, 2009 5:00 PM

@Danielle: CouchDB is platform independent (Damien correct me if I'm wrong). What is platform dependent is the Erlang Runtime which you can get here: www.erlang.org

What the plug-in would need to do:
a) Deploy the Erlang runtime (that's the most platform dependent part)
b) give access to the CouchDB config in the preferences dialog (e.g. db location)
c) Allow start/stop of CouchDB
d) Capture the output either into the Eclipse log and/or a Eclipse Panel.

The same UI as the "server" plug-in for J2Ee development would be sufficient.

Stephan H. Wissel, August 4, 2009 7:39 PM

Who ever takes this on may want to consider approaching the problem like how Eclipse currently handles JavaEE. Where you can use the tool to install it, or manage already existing instances, or spin up new instances as long as you specify the application path.

Also for Eclipse Support, better Windows support will be useful as my understanding is that a significant number of Eclipse users are also Windows users.

Scott, August 4, 2009 7:43 PM

Ok, I tried to look into the install process for Couch on Windows.... argh... Too bad it's not "quick" .. I've to schedule some time to build CouchDB on windows before starting any consideration for the plugin.

Do you think the Erlang runtime can be embedded easily (no dependency on Windows registry or filesystem layout ) ???

Daniele Vistalli, August 5, 2009 5:39 PM

Stephan, right, each platform is going to need special binaries. I don't know if a plug-in for each platform is the way to go, or a single plun-in with all the supported platform binaries included.

For ease of distribution (and assuming there aren't licensing issues), I think the Erlang runtime should be bundled inside the Eclipse plug-in. It will be huge at first, but can be smallified by removing everything unused.

If we bundle the Erlang VM, I'm thinking we should have one plug-in per platform.

Damien Katz, August 7, 2009 12:38 PM

I`d been interested in contributing to CouchDB plugin if development work has started. I`m pretty new to CouchDB but I have some ,though it was a while ago, Eclipse RCP experiance.

With regards to bundling the Erlang VM I think this should be provided as an optional plugin as some users may already have Erlang installed. I think eclipse features can be used to distribute different binaries for different platforms.

Darran White, August 21, 2009 3:32 AM

Just noticed that the Eclipse Help system runs via an embedded HTTP server on port 62965. I assume a plugin could setup a server in a similar fashion. For what that's worth...

Benjamin, October 15, 2009 10:58 AM

Just noticed that Eclipse hosts it's Help docs on an "embedded" server at port 62965. So, I assume plugins could do the same. For what that's worth...

Benjamin, October 15, 2009 11:02 AM

This would be really useful for one of the projects which we have ongoing, I will check back regularly to see if there has been any progress
Thanks

Tim Driver, November 2, 2009 8:55 PM

The erlide Eclipse project (http://erlide.sourceforge.net/) has integrated erlang and Eclipse. Maybe you can take tips from there for using Erlang and Eclipse.

I looks like for erlide you install Erlang independent of any plugins and set the Properties to point to ther erlang install (similar how you point to different JVM installations for the JDT tooling).

Jeremy Raymond, November 6, 2009 3:53 PM

The plugin should provide an abstraction layer over design documents. It should be like domino designer where what you create is a page or a view or a form, etc.. with a shortcut 'preview'. Interest is pretty high for couchdb: google trends show its only going higher everyday.

Thanks Damien for what you did with couch ;)

Simon Létourneau, March 10, 2010 8:53 AM

Post a comment




Remember Me?

(you may use HTML tags for style)