antifuchs / aoi-swank-plugin
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
e1a9d28
commit e1a9d281b94d23d31d51451e2eb0186df9bcf0e2
tree 05075e7589a067b340068a66bfa5b6f6e0665462
parent 54d090e4530abf27d744549fa065adffb4721d2e
tree 05075e7589a067b340068a66bfa5b6f6e0665462
parent 54d090e4530abf27d744549fa065adffb4721d2e
aoi-swank-plugin / README.markdown
This is a simple plugin for Art of Illusion. Also, it serves as an example for how to embed clojure in a large java system.
How to build
You'll need:
- Art of Illusion
- Emacs and these packages:
- Slime (http://common-lisp.net/project/slime)
- Clojure-mode (http://github.com/jochu/clojure-mode)
- Swank-clojure (http://github.com/jochu/swank-clojure)
To build the plugin, follow these steps:
- Download Art of Illusion and install it somewhere.
- Edit build.properties to reflect the directory where you installed Art of Illusion. There should be a file called aoidir/ArtOfIllusion.jar.
- Type "ant" on the root directory and you'll get a file called Plugins/SwankRepl.jar
- Symlink this file to your Art of Illusion Plugins/ dir.
- Start AoI, and in Tools, select "Start Swank REPL". This will open a swank listener port on localhost:4006. You can M-x slime-connect to this port from emacs and then drive Art of Illusion. Yay!
