Mercurial > cortex
annotate org/setup.org @ 249:95a9f6f1cb82
added touch-cube and fixed some problems with touch which it flushed out
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Mon, 13 Feb 2012 06:06:02 -0700 |
parents | 1381a6ebd08b |
children | 2ffda8e9b2a5 |
rev | line source |
---|---|
rlm@22 | 1 #+title: Setup jMonkeyEngine3 |
rlm@22 | 2 #+author: Robert McIntyre |
rlm@22 | 3 #+email: rlm@mit.edu |
rlm@22 | 4 #+description: Simulating senses for AI research using JMonkeyEngine3 |
rlm@34 | 5 #+keywords: JMonkeyEngine3, clojure, java, setup |
rlm@22 | 6 #+SETUPFILE: ../../aurellem/org/setup.org |
rlm@22 | 7 #+INCLUDE: ../../aurellem/org/level-0.org |
rlm@22 | 8 #+babel: :mkdirp yes :noweb yes :exports both |
rlm@22 | 9 |
rlm@22 | 10 * Setup |
rlm@22 | 11 |
rlm@22 | 12 First, I checked out the source to jMonkeyEngine: |
rlm@22 | 13 |
rlm@66 | 14 #+name: checkout |
rlm@22 | 15 #+begin_src sh :results verbatim |
rlm@34 | 16 svn checkout http://jmonkeyengine.googlecode.com/svn/trunk/engine \ |
rlm@34 | 17 /home/r/proj/jMonkeyEngine3 |
rlm@22 | 18 #+end_src |
rlm@22 | 19 |
rlm@22 | 20 #+results: checkout |
rlm@22 | 21 : Checked out revision 7975. |
rlm@22 | 22 |
rlm@22 | 23 |
rlm@22 | 24 Building jMonkeyEngine is easy enough: |
rlm@22 | 25 |
rlm@66 | 26 #+name: build |
rlm@22 | 27 #+begin_src sh :results verbatim |
rlm@34 | 28 cd /home/r/proj/jMonkeyEngine3 |
rlm@22 | 29 ant jar | tail -n 2 |
rlm@22 | 30 #+end_src |
rlm@22 | 31 |
rlm@22 | 32 #+results: build |
rlm@22 | 33 : BUILD SUCCESSFUL |
rlm@34 | 34 : Total time: 5 seconds |
rlm@22 | 35 |
rlm@22 | 36 |
rlm@22 | 37 Also build the javadoc: |
rlm@22 | 38 |
rlm@66 | 39 #+name: javadoc |
rlm@22 | 40 #+begin_src sh :results verbatim |
rlm@34 | 41 cd /home/r/proj/jMonkeyEngine3 |
rlm@22 | 42 ant javadoc | tail -n 2 |
rlm@22 | 43 #+end_src |
rlm@22 | 44 |
rlm@22 | 45 #+results: javadoc |
rlm@22 | 46 : BUILD SUCCESSFUL |
rlm@34 | 47 : Total time: 10 seconds |
rlm@22 | 48 |
rlm@22 | 49 |
rlm@34 | 50 The java classpath should have all the jars from the jMonkeyEngine |
rlm@34 | 51 directory. |
rlm@22 | 52 |
rlm@22 | 53 For example, here is the file I use to run my REPL for clojure. |
rlm@22 | 54 |
rlm@22 | 55 #+include: "/home/r/bin/swank-all" src sh :exports code |
rlm@22 | 56 |
rlm@22 | 57 |
rlm@22 | 58 |