Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

extended support for maven

  • Loading branch information...
commit a47152077409cf13fa265cb980fd14a4cf31af3f 1 parent 488ac7d
@alexott alexott authored
Showing with 42 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +11 −0 README.markdown
  3. +30 −0 pom.xml
View
1  .gitignore
@@ -4,3 +4,4 @@ lib/*
autodoc/*
.circumspec/*
log
+*~
View
11 README.markdown
@@ -38,6 +38,17 @@ This is minimally tested. Let me know if you have problems.
* Browse to localhost:8080 for instructions.
* Press Ctrl+D to exit the repl when you are done.
+## Getting Started (Maven)
+
+* Make sure you have Java installed.
+* Make sure you have Maven (http://maven.apache.org/) installed.
+* Run `mvn clojure:repl` to launch Clojure REPL (maven will download all necessary
+ dependencies).
+* Execute `(require 'labrepl) (set! *print-length* 100) (labrepl/-main)` to launch web
+ server.
+* Browse to localhost:8080 for instructions.
+* Press Ctrl+D to exit the repl when you are done.
+
# IDE Support
## NetBeans Enclojure Integration
View
30 pom.xml
@@ -15,6 +15,21 @@
<build>
<sourceDirectory>src</sourceDirectory>
<testSourceDirectory>test</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>com.theoryinpractise</groupId>
+ <artifactId>clojure-maven-plugin</artifactId>
+ <version>1.3</version>
+ <configuration>
+ <sourceDirectories>
+ <sourceDirectory>src</sourceDirectory>
+ </sourceDirectories>
+ <clojureOptions>-Xmx1G</clojureOptions>
+ <runWithTests>false</runWithTests>
+<!-- <script>script/run.clj</script>-->
+ </configuration>
+ </plugin>
+ </plugins>
</build>
<repositories>
<repository>
@@ -93,6 +108,21 @@
<artifactId>circumspec</artifactId>
<version>0.0.10</version>
</dependency>
+ <dependency>
+ <groupId>swank-clojure</groupId>
+ <artifactId>swank-clojure</artifactId>
+ <version>1.1.0-SNAPSHOT</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.clojure</groupId>
+ <artifactId>clojure-contrib</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
</dependencies>
</project>
Please sign in to comment.
Something went wrong with that request. Please try again.