Hi,
My goal is to get swank running and connect to it with SLIME. Mark
your suggestion planted a seed in my mind lol. To do so I'm doing:
mvn clean install
mvn clojure:swank
and get the following error, abbreviated:
Exception in thread "main" java.lang.RuntimeException: Unable to
resolve symbol: print-doc in this context, compiling:(swank/commands/
basic.clj:180)
Not sure what I'm doing wrong and need some ideas/suggestions/
corrections!
My pom:
<project xmlns="
http://maven.apache.org/POM/4.0.0"
xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.wisdomandwonder.clojure.repl</groupId>
<artifactId>clojure-repl</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>clojure-repl</name>
<url>
http://wisdomandwonder.com/</url>
<properties>
<project.build.sourceEncoding>UTF-8</
project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>clojars</id>
<url>
http://clojars.org/repo/</url>
</repository>
<repository>
<id>clojure</id>
<url>
http://build.clojure.org/releases</url>
</repository>
<repository>
<id>central</id>
<url>
http://repo1.maven.org/maven2</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure</artifactId>
<version>1.4.0</version>
</dependency>
<dependency>
<groupId>org.clojure</groupId>
<artifactId>clojure-contrib</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>swank-clojure</groupId>
<artifactId>swank-clojure</artifactId>
<version>1.2.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.theoryinpractise</groupId>
<artifactId>clojure-maven-plugin</artifactId>
<version>1.3.10</version>
</plugin>
</plugins>
</build>
</project>
My environment:
Linux crux 3.0.0-17-generic #30-Ubuntu SMP Thu Mar 8 17:34:21 UTC 2012
i686 i686 i386 GNU/Linux
Apache Maven 3.0.4 (r1232337; 2012-01-17 02:44:56-0600)
Maven home: /usr/lib/apache-maven-3.0.4
Java version: 1.7.0_03, vendor: Oracle Corporation
Java home: /usr/lib/jvm/oracle-jdk-7/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.0.0-17-generic", arch: "i386", family:
"unix"