Looking for help building la clojure (0.5.286), idea (12.1.4)

My environment: Win7, IntelliJ IDEA Community Edition 12.1.4, la clojure 0.5.286. Jdk 1.7.0_17

I've forked github repository. Then i’ve loaded (via open project) the project directory using master branch for that.

The first problem was invalid version of jdk (1.6 and I've only got 1.7)

I've tried changing project sdk to java 1.7. It helped for core java classes, but not for the plugin specifis stuff. After a little bit of googling I've changed sdk again. This time I used IDEA IC-129.713 (with java 1.7 under the hood). After that most of the code compiled without errors except for:

  • ClojureCopyrightProvider (com.maddyhome namespace was not found)
  • jdi related stuff


It seems I have to properly set up all the dependencies for this project. AFAIK the right tool for handling dependencies in java is pom, but not here probably :)

I would really appreciate if you could provide me with simple build instructions. I’m a c# programmer myself and all that java environment is a bit unusual for me. I could give me more information if I knew which would help. Please ask me if you need any. BTW, it would be really nice if you could include build instructions in readme.md

Thanks,
Pavel

0

Hi, Pavel,

Sorry for long response. I hope you still want to configure it properly.

First of all, our main branch is cmf now: https://github.com/JetBrains/la-clojure/tree/cmf
It will be merged to master soon, but right now it's separate branch.
What's actually new in this branch: it contains Clojure code. So we will be able to test ourselves writing Clojure code.

So how to configure it:
1. Checkout branch
2. Create folder LedaSDK in lib
3. Put to LedaSDK folder IDEA distribution.
4. Now open the project.
5. Configure JDK
6. Add to JDK tools.jar from %JDK_HOME%\lib\

Now everything should be ok.

Best regards,
Aleksandr Podkhaliuzin.

0
Avatar
Permanently deleted user

That works! Thank you

Writing plugin for clojure in clojure looks promising! I'll look into that :)

0

请先登录再写评论。