I'm running Netbeans 6.9.1 on Windows XP SP3 and followed the
instructions on the Enclojure site.
I cannot actually start a REPL, it couldn't find clojure-1.2.0.jar or
clojure-contrib-1.2.0.jar in .m2/org/etc... I tried counterclockwise
+ eclipse earlier, so I just copied and renamed the .jar files from
there into the locations that Netbeans was asking.
But that still doesn't work.
Now I get "Project REPL failed to start. Make sure you have Clojure
and Clojure.contrib jars in your project ... etc."
I'm new to Netbeans. I'm new to Java IDEs. I'm a C#/Visual Studio
dev.
Why doesn't this work? What do I do?
(Besides learn Emacs...)
Thanks,
Jonathan Mitchem
--
You received this message because you are subscribed to the Google Groups "enclojure" group.
To post to this group, send email to encl...@googlegroups.com.
To unsubscribe from this group, send email to enclojure+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/enclojure?hl=en.
This failed at home, but I tried at work today. It "partially"
works. I'm running Windows 7 x64 at work.
This is what I did:
1. Install JDK 1.6.14 (or whatever the latest is)
2. Install NetBeans SE 6.9.1
3. Update NetBeans AutoUpdater, restart
4. Install Enclojure, restart
5. Update everything else, restart
6. Create new Clojure 1.2 maven project
7. Added some code into defpackage.clj
8. Right click on MyClojureProject -> Start Project REPL
9. "There does not appear to be both valid clojure and clojure-contrib
jars present in the classpath." Huh? What do I do?
10. Click "Yes" to "Do you want to use the default platform
"Clojure-1.0.0"
11. Play with the REPL, load the file into the REPL, it works
12. Try (use 'clojure-contrib)
13. Get "FileNotFoundException"
14. ???
This isn't any fun. Can't get counterclockwise/eclipse to work with
clojure-contrib. Can't get enclojure/netbeans to work with 1.2.0 or
clojure-contrib. Can't get la clojure/intellij to work.
What is maven? why do I need it? Likewise for leiningen?
How do I know if maven 2 is installed?
As I said, I'm a visual studio developer. As "Apple" as it sounds,
Microsoft led me to expect the IDE to "just work". Even using
plugins, I expect them to just work.
I'm annoyed, but still patient. I still really really want to use
clojure with a "modern" IDE. And NetBeans + Enclojure seems like the
nicest option of the 3.
Help please? Thanks.
On Feb 21, 8:30 am, László Török <ltoro...@gmail.com> wrote:
> Hi,
>
> this issue has been reported multiple times, but as it is quite sporadic, it
> has not been further addressed. Apart from this I really like enclojure and
> I beleive I found a workaround which I am going to share now.
>
> Prequisites:
> - Make sure you have Maven 2 installed.
> - I use leiningen as a build tool for all of my clojure projects, make sure
> you have that as well.
>
> After I set up my leiningen configuration in the project.clj file, I run:
>
> lein pom
>
> That generates the maven configuration file. Make sure you have the Maven
> plugin for Netbeans. If you do, you can open the project in Netbeans as a
> Maven project. Should you change the project.clj file, just rerun lein pom
> to regenerate the config file.
>
> Wehn I start the project Repl (right click on the project tree root in
> Netbeans and select Start Repl) every now and then I get this ugly exception
> window saying that I have missing dependencies blabla.
>
> I usually run lein deps followed by lein clean, and ... it magically does
> fix the problem. Don't ask me how.
>
> Hope this helps.
>
> Las
>
> 2011/2/21 JMitc...@gmail.com <jmitc...@gmail.com>
Since Enclojure creates a "Clojure 1.2 maven project", where does lein
fit into all of this?