Hi,

2009/4/1 Daniel Jomphe <danieljom...@gmail.com>

>
> Would you fellow clojurians have wise advice for me? While I await
> your answers, I'm going to try eclipse. I think I've read Laurent
> Petit, the other day, saying his eclipse plugin automatically handles
> classpaths.
>

Indeed, with clojuredev, initializing a new clojure project installs clojure
and clojure-contrib in the classpath of the project for you. These are
versions bundled with clojuredev.
Then, if you want to change them for your own version, call the project's
context menu > Properties > Java Build Path > Libraries >  and change them
to suit your needs.

If you want to give a quick try to the plugin, without compromising your
(potentially) existing eclipse installation :

- download and install eclipse for java :
http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/ganymedesr2
- start it
- Go to Help > Software updates > Available Software > Add Site
- Add the update site : http://clojure-dev.googlecode.com/svn/updatesite/
- Expand the tree through to the "Clojuredev feature" leaf , check it, click
install (in the top right corner)
- agree to all licensing / approval requests stuff, quit the download
installer, accept to restart eclipse
- optionally : quick check that the plugin is correctly installed by
verifying that you see clojuredev's feature in Help > About Eclipse Platform
> (you should see a clojure logo, and by clicking on it and then clicking on
"plugin details" it you should see 4 installed plugins)
- you should be in the java perspective (if not : Window > Open perspective
> Other > Java )
- create a clojure project File > New > clojure project  (if you don't see
clojure project, just refresh the perspective via Window > Refresh
Perspective), enter a name, and voila!
- select your project's node in the package explore. Clic Ctr+F11 on windows
(or more generally the shortcut for your OS can be seen via Run > Run menu),
this will start the java project by calling repl_ln, and you will see the
REPL in the console of the launched project

To be sure that you will not encounter any problem, I've reproduced the
above steps while writing, it took me about 10 minutes. I hope you have a
similar experience.


As a final word, I would say that I'm pretty sure there are also decent ways
to add libraries to other IDE's platforms. Since they're all open source
initiatives, there is certainly still a lack of coverage in documentation,
and bugs and ... (they are plenty of bugs in clojuredev too :-), so I would
invite you to try and use the plugin for your editor of choice, and help the
plugins authors for this environment improve it by submitting bugs (even if
you find a workaround to a bug, submitting a bug will help other users not
having to re-find this same workaround), request enhancement. Don't also
hesitate to explicit what would be your priorities for new functionalities
...

I personally, as a contributor to Eclipse, am not willing to attract people
to eclipse that would have no interest in learning it. My intend is to help
spread clojure over the developers community, by letting them use their
favorite tool, Eclipse being one of the choices.

Regards,

-- 
Laurent

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