Great, this sounds really nice. I will have a look at it. I created a clojure library bundle from the clojure.jar and a second bundle that depends on the first. The seconds bundle activator calls two clojure functions for start and stop of the bundle passing the BundleContext to the clojure functions. These two functions currently just print that they had been started and stopped. Well, that is not that much, I know. However, there was no need to work with reflection.
Tschüß, Stefan On Oct 14, 4:49 am, Casey Marshall <[EMAIL PROTECTED]> wrote: > Hi, > I humbly present my first steps toward an Clojure Eclipse plugin > (http://code.google.com/p/clojure-dev/). So far, here's where its at: > > * Clojure nature, project type and builder (which doesn't do much > yet). > * Added a Clojure REPL to the console. You can open it with the "New > Console" button on the console view. > * When editing a *.clj file, you can run the current file, which will > get loaded into the REPL console. > > The REPL console has direct access to the Eclipse runtime and should > be able to manipulate the workbench. That's right.. its an Eclipse > minibuffer! > > Some background on clojure-dev... for some reason, I had to add a > Class.forName("clojure.lang.RT") in my Clojure OSGi bundle's start(). > Otherwise I was not able to run Clojure within Equinox -- I believe it > was a Compiler.loadFile issue on the core Clojure files. I originally > tried basing my plugin on the DLTK without much luck -- the DLTK does > not seem very relevant to targeting the JVM, its more like something > you'd use for an out-of-process scripting language environment. I'm > going to go my own way and hook into the JDT where I have to. I'm > looking at CUSP, PyDev, and Scala SDT for inspiration. > > My next steps are to focus on Clojure language support and better JDT > integration (classpath, etc.). Deployment and tooling is a big deal > to me, I think they're essential to being productive with the Java > platform -- even if the Clojure language is more productive, the Java > batteries included still require a lot of typing! > > I know the Eclipse platform pretty well but from an Equinox & RCP > background. I'm new to IDE development, so this is quite a learning > experience! > > Cheers, > Casey --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---