Basic about setting upp Clojure and editor enviroment

11 views
Skip to first unread message

anderspe

unread,
Jan 21, 2009, 9:05:52 AM1/21/09
to Clojure
Hello, i am waiting for the book "Programming Clojure" by Stuart
Halloway,
I have set upp a enviroment that i can run a REPL and
load script.

But i am looking for som basic info about sett upp interaction
to a editor, EMACS or...

I have tryed Plugin to Netbeans but it was Alpha and have
som problem running Windows.

Tutorials, Links, tips would be nice

// Anders

bOR_

unread,
Jan 21, 2009, 10:00:50 AM1/21/09
to Clojure
If you are running windows, clojurebox is the easiest way to set
things up. On linux, this guide might help: http://riddell.us/clojure/

Matt Clark

unread,
Jan 21, 2009, 10:40:39 AM1/21/09
to Clojure
If you're not already an emacs user, I found it can be quite the
learning curve getting into it. So I'd recommend you also give the
eclipse clojure-dev plugin a shot. It now has a REPL, namespace
browser, syntax highlighting, etc and works fine on windows.
http://code.google.com/p/clojure-dev/

Tom Ayerst

unread,
Jan 21, 2009, 11:33:15 AM1/21/09
to clo...@googlegroups.com
If you are an emacs fan I am told Clojurebox, no contest. 

If you are not comfortable with emacs I would recommend using a basic editor (if you want syntax highlighting you could use JEdit with the clojure config (search for it in the e-mail archive)) and a repl running from the commeand line (for a clj bat file look in http://en.wikibooks.org/wiki/Clojure_Programming/Getting_Started).

I am using Scite with a hacked up Lisp syntax config and a Lisp lexer.  It ain't pretty but I don't spend any time fiddling with it and more time on Clojure.

(I have high hopes for enclojure or the eclipse or intellij versions, but not yet,and my Clojure isn't yet good enough to help.

Cheers

Tom


2009/1/21 anderspe <anders.u...@gmail.com>

Matt Revelle

unread,
Jan 21, 2009, 12:27:51 PM1/21/09
to clo...@googlegroups.com
On Jan 21, 2009, at 11:33 AM, Tom Ayerst wrote:

If you are an emacs fan I am told Clojurebox, no contest. 

If you already use Emacs but aren't sure how to get Clojure support setup, Bill Clementson has plenty of helpful posts:

lpetit

unread,
Jan 21, 2009, 12:32:46 PM1/21/09
to Clojure
Hello,

If you want to give a "try" to clojure-dev (but you may well end up
using it if you can afford all its current limitations :-), I'll
recommand these two links :

- documentation page : the first lines explain how to install it (as
easy as installing any eclipse plugin from an eclipse update site, but
it is re-explained)

URL : http://code.google.com/p/clojure-dev/wiki/Documentation


- snapshots page : for you to view how it does look

URL : http://code.google.com/p/clojure-dev/wiki/ScreenShots

==> AH ! And we now have RAINBOW PARENS in the clojuredev editor,
TADA ! :-)
(Must still choose more adapted colors, though)


If you want to follow on clojure-dev, then I'll recommand you
subscribe to its user ml too. Indeed, you may well end up finding
clojure-dev not mature enough currently (it depends on your
"standards" in this area :-), but things will change, and news on the
development of the plugin are constantly published to this ml (low
traffic, you won't be spammed :-).

Cheers,

--
Laurent


On 21 jan, 16:40, Matt Clark <matt.clar...@gmail.com> wrote:
> If you're not already an emacs user, I found it can be quite the
> learning curve getting into it.  So I'd recommend you also give the
> eclipse clojure-dev plugin a shot. It now has a REPL, namespace
> browser, syntax highlighting, etc and works fine on windows.http://code.google.com/p/clojure-dev/

Tom Ayerst

unread,
Jan 21, 2009, 4:30:57 PM1/21/09
to clo...@googlegroups.com
Sadly, it would not install for me.  I am running 3.4.1 and I do Java dev so I should have all the dependencies.  It installs without complaint but comes up broken in the about plugins and there is no function ality to be found.

Tom

2009/1/21 lpetit <lauren...@gmail.com>

lpetit

unread,
Jan 21, 2009, 6:10:50 PM1/21/09
to Clojure
Did you encounter these problems with a recent codebase, or was it
days or weeks ago ?

We had reports of correct installations on Windows, Imac and Linux
boxes with recent codebase.

One use solved a problem on mac that could be the one you are faced
with ? :

"
The issue was that clojure.jar was listed
twice in the Java classpath... OH MY GOD. That's it! On Mac, you are
supposed to place clojure.jar in /Library/Java/Extensions , but
because eclipse puts clojure-0.0.1.1 in /Applications/eclipse/
plugins , Eclipse looks for the locked one in the first directory
before it finds the one in the plugin directory, thus preventing
Clojure code from being executed in Eclipse. I moved clojure.jar out
of Extensions and out of the classpath, and it works like a charm
"

Please see http://groups.google.com/group/clojuredev-users/browse_thread/thread/31c46afd057f7e30
for details.

And feel free to subscribe to clojure-user ml to talk about
installation problems.

--
Laurent

On 21 jan, 22:30, Tom Ayerst <tom.aye...@gmail.com> wrote:
> Sadly, it would not install for me.  I am running 3.4.1 and I do Java dev so
> I should have all the dependencies.  It installs without complaint but comes
> up broken in the about plugins and there is no function ality to be found.
>
> Tom
>
> 2009/1/21 lpetit <laurent.pe...@gmail.com>

Peter Wolf

unread,
Jan 23, 2009, 7:33:45 AM1/23/09
to clo...@googlegroups.com
Or try the IntelliJ plugin, if you like that IDE

http://code.google.com/p/clojure-intellij-plugin/

It works fine on Windows and Linux. We are currently fixing the Mac.

P

anderspe

unread,
Jan 23, 2009, 1:22:43 PM1/23/09
to Clojure
Thanks for "clojure-dev" that was exaktly what i was looking for.

I have first a problem get it running, the reason was i download
EasyEclipse-JavaDesktop
on Vista it have problem both with clojure-dev and internal update,
and still i dide't install
it in "Program Files"

I removed it and download "Normal Version" and added clojure-dev

I found 1 thing, if i make a error in my code the process hangs after
error and a have to press STOP button
this was a suprice becurse i could not find way my correction in the
code didn't got thure, may this is
a Eclipse way.

// Anders

Laurent PETIT

unread,
Jan 23, 2009, 2:40:18 PM1/23/09
to clo...@googlegroups.com
2009/1/23 anderspe <anders.u...@gmail.com>


Thanks for "clojure-dev" that was exaktly what i was looking for.

I have first a problem get it running, the reason was i download
EasyEclipse-JavaDesktop
on Vista it have problem both with clojure-dev and internal update,
and still i dide't install
it  in "Program Files"

I removed it and download "Normal Version" and added clojure-dev

I found 1 thing, if i make a error in my code the process hangs after
error and a have to press STOP button
this was a suprice becurse i could not find way my correction in the
code didn't got thure, may this is
a Eclipse way.

I'm not sure I understand correctly. Did you encounter the problem in the REPL ?
If so, I think that's nothing special to clojure-dev, but due to the fact that clojure reader was still waiting for the current s-expr to be terminated (e.g. by a closing paren, a closing doublequote ..) ?

 


// Anders


On 23 Jan, 13:33, Peter Wolf <opus...@gmail.com> wrote:
> Or try the IntelliJ plugin, if you like that IDE
>
> http://code.google.com/p/clojure-intellij-plugin/
>
> It works fine on Windows and Linux.  We are currently fixing the Mac.
>
> P
>
> Matt Clark wrote:
> > If you're not already an emacs user, I found it can be quite the
> > learning curve getting into it.  So I'd recommend you also give the
> > eclipse clojure-dev plugin a shot. It now has a REPL, namespace
> > browser, syntax highlighting, etc and works fine on windows.
> >http://code.google.com/p/clojure-dev/
>
> > On Jan 21, 10:05 am, anderspe <anders.u.pers...@gmail.com> wrote:
>
> >> Hello, i am waiting for the book "Programming Clojure" by Stuart
> >> Halloway,
> >> I have set upp a enviroment that i can run a REPL and
> >> load script.
>
> >> But i am looking for som basic info about sett upp interaction
> >> to a editor, EMACS or...
>
> >> I have tryed Plugin to Netbeans but it was Alpha and have
> >> som problem running Windows.
>
> >> Tutorials, Links, tips would be nice
>
> >> // Anders




--
Cordialement,

Laurent PETIT
Reply all
Reply to author
Forward
0 new messages