For those looking to get this working on Mac OS X, this worked for me:

(Tested using revision 22594, IDEA 8.1, 32-bit Macintel with Java 1.5
and Mac OS X 10.5.6)
- $ mkdir ~/clojure-build-dir
- $ cd ~/clojure-build-dir
- $ mkdir ~/clojure-build-dir/fake-idea-home
- $ cd ~/clojure-build-dir/fake-idea-home
- $ ln -s /Applications/IntelliJ IDEA 8.1.app/lib
- $ ln -s /Users/matt/Library/Application Support/IntelliJIDEA80/
plugin
- $ cd ~/clojure-build-dir
- $ svn co http://svn.jetbrains.org/idea/Trunk/clojure-plugin
- $ cd clojure-plugin
- edit clojure.properties, adding these lines:
    idea.home=../fake-idea-home
    java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5/
Home
    clojure.plugin.version=trunk
- $ ant
- $ unzip clojure-intellij-bin-trunk.unknown.zip
- $ mv clojure-plugin ~/Library/Application Support/IntelliJIDEA80/
- restart IDEA

Now you should be able to create a clojure file by right-clicking on a
folder and doing "New -> Clojure File".

I also needed to add a separate dependency on clojure.jar (in project
settings) to start the REPL via a Run configuration.

Cool plugin!
--~--~---------~--~----~------------~-------~--~----~
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