gen-class generates a stub java class that dispatches to clojure
functions, you can re-def the clojure functions that back the stubbed
out class.

On Sat, Sep 5, 2009 at 12:10 PM, Gorsal<s...@tewebs.com> wrote:
>
> I am trying to add clojure code to an eclipse plugin. To do so, the
> code i compiled into class files via the clojure-dev plugin. I have a
> generate class, ParenMatcher, which i use ever so often. This class
> has a function which i would like to change dynamically while
> debugging it. In other words,  If an error is thrown inside it, i
> would like to change it instead of closing the plugin and restarting
> all over again!
>
> I've tried recompiling while the plugin is running, but that doesn't
> work. Any ideas how to do this code hot swapping?
> >
>



-- 
And what is good, Phaedrus,
And what is not good—
Need we ask anyone to tell us these things?

--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to