Maven clojure:repl

2010-03-20 Thread alux
Hello, I'm just go through the Incanter getting-started http://data-sorcery.org/2009/12/20/getting-started/ There I find, that I can use mvn clojure:repl But that doesnt work. [ERROR] BUILD ERROR [INFO] [INFO] The plugin

Re: Maven clojure:repl

2010-03-20 Thread Meikel Brandmeyer
Hi, On Sat, Mar 20, 2010 at 04:56:39AM -0700, alux wrote: > [INFO] The plugin 'org.apache.maven.plugins:maven-clojure-plugin' does > not exist > or no valid version could be found > > I dont know where to search for a solution, so I ask here. Just guessing: you don't have clojure-maven plugin

Re: Maven clojure:repl

2010-03-20 Thread alux
Hm. Wer lesen kann, ist klar im Vorteil ;-) Well, so I hope there is THE plugin, and not some plugins, and try the first google shows: git clone git://github.com/talios/clojure-maven-plugin cd clojure-maven-plugin mvn install back to incanter, try again. Still the same. Sad, I had hope thats

Re: Maven clojure:repl

2010-03-20 Thread liebke
There are two solutions to your problem, 1) use the bin/clj script which calls mvn clojure:repl from the modules/incanter-app directory, or 2) just cd to the modules/incanter-app directory and then run mvn clojure:repl your self. That was described in the post you linked to, but it's easy to miss.

Re: Maven clojure:repl

2010-03-20 Thread alux
Ah, hello David ;-) Thanks for the quick answer. The script, at least the windows one (and as far as I understand the linux one too) is standalone, without maven. It worked, but I was stuck some steps later when I tried to start the swank server - there is a linux script only. Trying to start sw

Re: Maven clojure:repl

2010-03-20 Thread liebke
Ah, you're right, only the bin/swank script calls maven the clj and clj.bat scripts are stand-alone, I thought I had changed them (but it's better that they're stand-alone). Was the following the actual error? > [ERROR] BUILD ERROR > [INFO] > --

Re: Maven clojure:repl

2010-03-20 Thread alux
Um, thats been copy and paste, yes. (side remark, I read on about the plugin, and now I installed the needed swank file too) Thanks and greetings, alux liebke schrieb: > Ah, you're right, only the bin/swank script calls maven the clj and > clj.bat scripts are stand-alone, I thought I had changed

Re: Maven clojure:repl

2010-03-20 Thread alux
Hm. It cant be an incanter problem. In an empty directory, I get: D:\projekts\test>mvn clojure:swank [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'clojure'. [INFO] [ERROR] BUILD ERROR [

Re: Maven clojure:repl

2010-03-20 Thread liebke
When I'm having inexplicable Maven problems, I rm ~/.m2/* and then mvn install again. Good luck, David On Mar 20, 2:27 pm, alux wrote: > Hm. > > It cant be an incanter problem. In an empty directory, I get: > > D:\projekts\test>mvn clojure:swank > [INFO] Scanning for projects... > [INFO] Search

Re: Maven clojure:repl

2010-03-20 Thread alux
So, I found a file: %repo%\org\apache\maven\plugins\maven-clojure-plugin\maven-metadata- central.xml containing org.apache.maven.plugins maven-clojure-plugin No, I dont know where it comes from. a. alux schrieb: > Hm. > > It cant be an incanter problem. In an empty directory, I get:

Re: Maven clojure:repl

2010-03-20 Thread alux
deleting it doesnt help, it seems to be reloaded when I run clojure:swank a. alux schrieb: > So, I found a file: > > %repo%\org\apache\maven\plugins\maven-clojure-plugin\maven-metadata- > central.xml > > containing > > > > org.apache.maven.plugins > maven-clojure-plugin > > > No, I dont

Re: Maven clojure:repl

2010-03-20 Thread alux
But even if I delete it, and do mvn -o clojure:swank I get the same error. Black maven magic. ;-( Regards, a. alux schrieb: > deleting it doesnt help, it seems to be reloaded when I run > clojure:swank > > a. > > > > alux schrieb: > > So, I found a file: > > > > %repo%\org\apache\maven\plugins

Re: Maven clojure:repl

2010-03-20 Thread Mark Derricutt
If this was a fresh project with no plugins defined, maven would look in the default group, for either clojure-maven-plugin or maven-clojure-plugin. -- Pull me down under... On Sun, Mar 21, 2010 at 7:09 AM, liebke wrote: > The Clojure Maven plugin should be called clojure-maven-plugin, not > m

Re: Maven clojure:repl

2010-03-20 Thread alux
Hi Mark, sound plausible. But what should I do now? If there is any way to tell maven what it should use, I'd be happy. Preferred in settings.xml, so i can use it in every project. Thank you, alux Mark Derricutt schrieb: > If this was a fresh project with no plugins defined, maven would look in

Re: Maven clojure:repl

2010-03-20 Thread Brian Schlining
> > I'm just go through the Incanter getting-started > http://data-sorcery.org/2009/12/20/getting-started/ > > There I find, that I can use > > mvn clojure:repl > > I dont know where to search for a solution, so I ask here. > > There's a pom.xml that works at http://hohonuuli.blogspot.com/2010/01/m

Re: Maven clojure:repl

2010-03-21 Thread Mark Derricutt
The plugin is in central, tho you need to declare it in your project as outlined in the README: com.theoryinpractise clojure-maven-plugin 1.3.2 -- Pull me down under... On Sun, Mar 21, 2010 at 4:55 AM, alux wrote: > Well, so I hope there is THE plugin, and not some plugin

Re: Maven clojure:repl

2010-03-21 Thread alux
Thank you Mark, now I get two new problems. (I'm still in the testproject, not in incanter.) clojure:repl The REPL starts. Now when I type something in, it is not echoed until I hit enter. So I have to use the REPL blind. Difficult. clojure:swank This has already been described as a windows prob

Re: Maven clojure:repl

2010-03-21 Thread Stuart Sierra
On Mar 20, 7:56 am, alux wrote: > mvn clojure:repl > > But that doesnt work. > > [ERROR] BUILD ERROR > [INFO] > > [INFO] The plugin 'org.apache.maven.plugins:maven-clojure-plugin' does > not exist Those instructions appear t

Re: Maven clojure:repl

2010-03-21 Thread alux
Hello Stuart, yes, thats not in. I'm not enough into maven to know where the plugins have to be specified. I had the hope that maven searches its repository, when I call a specific goal of the form xxx:yyy - so this hope was in vain? Thank you for the comment. Regards, alux Stuart Sierra schri

Re: Maven clojure:repl

2010-03-21 Thread Stuart Sierra
Maven has a default search path, but it only works for the standard plugins distributed by Apache. To use the Clojure plugin (any of the clojure:* commands) the pom.xml must contain a section like this: ... ... com.theoryinpractise clojure-maven-plugin

Re: Maven clojure:repl

2010-03-22 Thread alux
Thank you Stuart, this closes some of my thinking loops. Greetings from Europe, alux Stuart Sierra schrieb: > Maven has a default search path, but it only works for the standard > plugins distributed by Apache. > > To use the Clojure plugin (any of the clojure:* commands) the pom.xml > must cont

JLine in maven clojure:repl in eshell

2010-04-05 Thread alux
Hello, if I include the follwing lines in my maven pom, shouldn't I have some line editing stuff (like cursor up or so) even in Emacs' eshell? (I ask because this is the only shell I get an keyboard echo.) jline jline 0.9.9 Thank you, alux -- You received this message because you a