Hi Laurent,

My questions and current beliefs are:

1) Does Eclipse use the server for resolving references?
2) Is the server visible to the user, or hidden inside Eclipse?
3) Does the server call load-file?
4) Can the user break the server with bogus code in a file?
5) What happens if a file has top level code that pops up a 
window/starts a process?
6) How does the user know when the server is broken?

Thanks, this is very helpful to me
P


... skipping the top

>>> This bridge function runs on the eclipse JVM, and calls a server we
>>> systematically install in the remote JVM when the user launches his
>>> project.
>>>       
>>> The code for the client part is here :
>>> http://code.google.com/p/clojure-dev/source/browse/clojuredev/trunk/s...
>>> The code for the server part is here :
>>> http://code.google.com/p/clojure-dev/source/browse/clojuredev/trunk/s...
>>> (and yes, it's yet another variation on the repl over socket)
>>>       
>> Thanks, I shall take a look at this.
>>
>> However, if there is only one Clojure image used for references and the
>> like, what happens if someone calls an infinite loop, or infinite
>> recursion, in a file.  Does the Clojure server hang/blow up?  How do you
>> detect it/protect from it?
>>     
>
> No, currently, clojuredev's dynamism is tied to an existing (and
> visible via its REPL console) launched configuration.
> It is this configuration that is used.
>
> So the user has only access to the launched JVM, and if he breaks it,
> then he just has to click on the "stop VM" button on the classic
> console view.
>
> Was that your question ?
>
>   
>> For example, I was using the SmallSnake code for testing, and when that
>> file is loaded, it pops up a window and runs a process forever.  I don't
>> want that to happen, just because someone included that file in their
>> IntelliJ project.
>>
>> This must be a problem common to all Swank based IDEs.  What is the
>> "Clojure way" here?
>>     
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to