Hi Laurent, thanks for your feedback. In fact, it seems to be a problem with the m2eclipse plugin. By the way, I was wrong about the missing dependencies on my machine. Maven correctly installed everything into an invisible folder in my home directory. That's why I couldn't find those files at first. But although all necessary files are in the build path of the Eclipse project, Eclipse can't find them.
However, I've found a solution. Instead of Maven, I used Leiningen to install all dependencies and then created a new Eclipse project, copied all files into the project folder and configured the build path manually. Now everything works fine. I don't know what's wrong with the m2eclipse plugin, but I recommend everyone to use Leiningen instead of Maven. Leiningen installs all dependencies in one single folder. This is far more manageable than what Maven does. Maven installs hundreds of files in hundreds of folders and you don't know when and where and why something is installed. I hate such a behavior. Anyway, thanks again Laurent for your help. :-) Best regards, Peter On 1 Sep., 00:29, Laurent PETIT <[email protected]> wrote: > Well, you seem to describe a problem with the m2eclipse plugin, which > may not have recognized the project as a maven project. This is a > third party plugin, hard to help with this. > > Alternatively, could you try the (still experimental) labrepl support > ccw offers ? > > Go to File > New > Examples > Other > Clojure examples > xxx labrepl xxx. > > Don't be afraid if the installation takes a long time, labrepl has > lots of dependencies to dowload. > > (note: on Mac OS, maybe the top menu to reach is not named File, but > under Eclipse > File ?) > > 2010/8/31 Peter Stahl <[email protected]>: > > > > > Hi everyone, > > > I'm a computational linguist coming from Python and want to learn > > Clojure. So I thought it would be a good idea to start with labrepl. > > I'm working on Mac OS X 10.6 (Snow Leopard) with the 32bit Cocoa > > version of Eclipse 3.6 (Helios). I followed the instructions on the > > labrepl github page (http://github.com/relevance/labrepl) and > > everything went just fine except for running labrepl. > > > I right clicked on the project in the Package Explorer and started a > > REPL. I typed (require 'labrepl), hit Enter and then got the following > > error message: > > > java.io.FileNotFoundException: Could not locate compojure/ > > core__init.class or compojure/core.clj on classpath: (labrepl.clj:1) > > > After looking into the local Eclipse and labrepl directories, it seems > > that Compojure and Incanter have not been installed. In fact, I can > > only find the clojure.jar and clojure-contrib.jar that have been > > installed by the Counterclockwise plugin. On the labrepl website it > > says that "up-to-date versions of Clojure, contrib, incanter, > > compojure and a bunch of other libraries to explore" should be > > installed together with labrepl. But Compojure and Incanter are > > definitely missing on my machine. > > > So what did I do wrong? I did not encounter an error during > > installation. Do I have to install Compojure manually? > > > I greatly appreciate any advice from you. Thank you very much in > > advance! :-) > > > Best regards from Germany, > > Peter > > > -- > > You received this message because you are subscribed to the Google > > Groups "Clojure" group. > > To post to this group, send email to [email protected] > > Note that posts from new members are moderated - please be patient with > > your first post. > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/clojure?hl=en -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
