Mercurial > cortex
annotate org/setup.org @ 555:c8f7d10b1a2a
further clarification about skin partitioning per winston's request
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 02 May 2014 14:27:29 -0400 |
parents | 2ffda8e9b2a5 |
children | 819968c8a391 |
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@318 | 14 |
rlm@66 | 15 #+name: checkout |
rlm@318 | 16 #+begin_src sh :results verbatim :exports both |
rlm@34 | 17 svn checkout http://jmonkeyengine.googlecode.com/svn/trunk/engine \ |
rlm@34 | 18 /home/r/proj/jMonkeyEngine3 |
rlm@22 | 19 #+end_src |
rlm@22 | 20 #+results: checkout |
rlm@318 | 21 #+begin_example |
rlm@318 | 22 Checked out revision 9220. |
rlm@318 | 23 #+end_example |
rlm@22 | 24 |
rlm@22 | 25 Building jMonkeyEngine is easy enough: |
rlm@22 | 26 |
rlm@66 | 27 #+name: build |
rlm@318 | 28 #+begin_src sh :results verbatim :exports both |
rlm@34 | 29 cd /home/r/proj/jMonkeyEngine3 |
rlm@22 | 30 ant jar | tail -n 2 |
rlm@22 | 31 #+end_src |
rlm@22 | 32 |
rlm@22 | 33 #+results: build |
rlm@318 | 34 #+begin_example |
rlm@318 | 35 BUILD SUCCESSFUL |
rlm@318 | 36 Total time: 2 seconds |
rlm@318 | 37 #+end_example |
rlm@22 | 38 |
rlm@22 | 39 |
rlm@22 | 40 Also build the javadoc: |
rlm@22 | 41 |
rlm@66 | 42 #+name: javadoc |
rlm@318 | 43 #+begin_src sh :results verbatim :exports both |
rlm@34 | 44 cd /home/r/proj/jMonkeyEngine3 |
rlm@22 | 45 ant javadoc | tail -n 2 |
rlm@22 | 46 #+end_src |
rlm@22 | 47 |
rlm@22 | 48 #+results: javadoc |
rlm@318 | 49 #+begin_example |
rlm@318 | 50 BUILD SUCCESSFUL |
rlm@318 | 51 Total time: 13 seconds |
rlm@318 | 52 #+end_example |
rlm@22 | 53 |
rlm@22 | 54 |
rlm@34 | 55 The java classpath should have all the jars from the jMonkeyEngine |
rlm@34 | 56 directory. |
rlm@22 | 57 |
rlm@22 | 58 For example, here is the file I use to run my REPL for clojure. |
rlm@22 | 59 |
rlm@318 | 60 #+include: "/home/r/bin/swank-all" src perl :exports code |
rlm@22 | 61 |
rlm@22 | 62 |
rlm@22 | 63 |