Thanks for trying to help --- I know my first stab at this was vague
so I'll try to be more clear this time.


I have a java project in eclipse, and I'm using the clojure repl in
emacs to try and debug the java.

I've just but the special eclipse "/bin" folder for that project on
the classpath so that I can get at the class files that are
iteratively compiled by eclipse

I have an object with a "toString" method which I'm munging in
eclipse, and then I go to the repl in emacs and try to see my changes.
 But no matter what I do I can't see the changes I made in the
toString function reflected in the repl.  Neither reloading the
namespace, reimporting the class, or doing a fill clean in eclipse
changes anything.  However, killing the jvm running the repl and
restarting does work.

Is there a less  painful way to make the changes in eclipse on java
code propogate to another repl in emacs outside eclipse?

--Robert McIntyre



On Wed, Dec 15, 2010 at 5:54 PM, Laurent PETIT <laurent.pe...@gmail.com> wrote:
> 2010/12/15 Robert McIntyre <r...@mit.edu>
>>
>> I'm trying to move between emacs and eclipse, and was wondering the
>> following:
>>
>> When I change code in eclipse, how do I get those changes to propagate
>> to the repl without restarting?
>>
>> sorry if this is vague....
>
> Hi,
>
> You can send code at any time :
>   * via Ctrl+Alt+X : send to the repl either the top level expr where the
> cursor stands (if there's no current selection), or the current selection
>   * via Ctrl+Alt+S : loads the current file in the REPL
>
> Optionally, if you've started the REPL from the project's node (and not from
> a particular clojure file's node), then you're in 'project mode' aka
> everytime you save an editor's content, the whole project libs are
> tentatively reloaded (not that currently this will not automagically remove
> deleted vars)
>
> All the currently available commands usable from an editor in eclipse
> (assuming you're talking really about Counterclockwise plugin aka ccw) are
> summed up in this wiki page
> :http://code.google.com/p/counterclockwise/wiki/EditorKeyBindingsFeatures
>>
>>
>> --Robert McIntyre
>>
>> --
>> 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
>
> --
> 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

-- 
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