Very good nose :) That was the problem. It works fine now. Thank you
Zlaja On Wed, May 25, 2011 at 1:17 PM, Ambrose Bonnaire-Sergeant < abonnaireserge...@gmail.com> wrote: > Hi Zlaja, > > I'm no maven expert but I'll try and point you in the right direction. > > See the clojure-maven-plugin docs here: > https://github.com/talios/clojure-maven-plugin > > You should be able to add source folders to the classpath by using the > <configuration> element inside the plugin declaration: > > <plugin> > <groupId>com.theoryinpractise</groupId> > <artifactId>clojure-maven-plugin</artifactId> > <configuration> > <sourceDirectories> > <sourceDirectory>src/main/clojure</sourceDirectory> > </sourceDirectories> > <testSourceDirectories> > <testSourceDirectory>src/test/clojure</testSourceDirectory> > </testSourceDirectories> > </configuration> > </plugin> > > I imagine if you have an extra directory with clojure sources you should > add it as another <sourceDirectory> tag. > > NB: I haven't tested this, just following my nose. > > Thanks, > Ambrose > > On Wed, May 25, 2011 at 6:54 PM, Zlatko Josic <zlatko.jo...@gmail.com>wrote: > >> Hi, >> >> I have test cases ( clojure.test) . I use Maven for runing tests. >> If I start it from Eclipse (clojure:test) it works fine but if I start it >> from console (mvn clojure:test) >> it complains that can not found Clojure's scripts on classpath. >> I've got this : >> Caused by: java.io.FileNotFoundException: Could not locate >> amsi/common/worker__init.class or amsi/common/worker.clj on classpath: >> >> What is the best approach to solve this problem (easy way to add scripts >> to classpath)? >> >> Thaks >> >> Zlaja >> >> -- >> 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 >> Note that posts from new members are moderated - please be patient with >> your first post. >> 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 > > > -- > 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 > Note that posts from new members are moderated - please be patient with > your first post. > 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 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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