changeset 316:2c7fbcbd5ebb

replaced clojure.contrib.shell-out with clojure.java.shell
author Robert McIntyre <rlm@mit.edu>
date Tue, 28 Feb 2012 13:44:46 -0600
parents a48a75e5876c
children bb3f8a4af87f
files org/hearing.org org/integration.org org/movement.org org/proprioception.org org/sense.org org/touch.org org/vision.org
diffstat 7 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
     1.1 --- a/org/hearing.org	Tue Feb 28 13:32:44 2012 -0600
     1.2 +++ b/org/hearing.org	Tue Feb 28 13:44:46 2012 -0600
     1.3 @@ -1091,7 +1091,7 @@
     1.4  #+begin_src clojure
     1.5  (ns cortex.video.magick3
     1.6    (:import java.io.File)
     1.7 -  (:use clojure.contrib.shell-out))
     1.8 +  (:use clojure.java.shell))
     1.9  
    1.10  (defn images [path]
    1.11    (sort (rest (file-seq (File. path)))))
     2.1 --- a/org/integration.org	Tue Feb 28 13:32:44 2012 -0600
     2.2 +++ b/org/integration.org	Tue Feb 28 13:44:46 2012 -0600
     2.3 @@ -48,8 +48,8 @@
     2.4  
     2.5  For this demonstration I have to manually drive the muscles of the
     2.6  hand. I do this by creating a little mini-language to describe
     2.7 +
     2.8  simulated muscle contraction.
     2.9 -
    2.10  #+name: integration-2
    2.11  #+begin_src clojure
    2.12  (defn motor-control-program
    2.13 @@ -315,7 +315,7 @@
    2.14  #+begin_src clojure
    2.15  (ns cortex.video.magick8
    2.16    (:import java.io.File)
    2.17 -  (:use clojure.contrib.shell-out))
    2.18 +  (:use clojure.java.shell))
    2.19  
    2.20  (comment
    2.21  ;; list of touch targets
    2.22 @@ -587,7 +587,7 @@
    2.23  
    2.24  (def background (File. base "background.png"))
    2.25  
    2.26 -(use 'clojure.contrib.shell-out)
    2.27 +(use 'clojure.java.shell)
    2.28  
    2.29  (defn vision []
    2.30    (file-groups
     3.1 --- a/org/movement.org	Tue Feb 28 13:32:44 2012 -0600
     3.2 +++ b/org/movement.org	Tue Feb 28 13:44:46 2012 -0600
     3.3 @@ -250,7 +250,7 @@
     3.4  #+begin_src clojure
     3.5  (ns cortex.video.magick7
     3.6    (:import java.io.File)
     3.7 -  (:use clojure.contrib.shell-out))
     3.8 +  (:use clojure.java.shell))
     3.9  
    3.10  (defn images [path]
    3.11    (sort (rest (file-seq (File. path)))))
     4.1 --- a/org/proprioception.org	Tue Feb 28 13:32:44 2012 -0600
     4.2 +++ b/org/proprioception.org	Tue Feb 28 13:44:46 2012 -0600
     4.3 @@ -299,7 +299,7 @@
     4.4  #+begin_src clojure
     4.5  (ns cortex.video.magick6
     4.6    (:import java.io.File)
     4.7 -  (:use clojure.contrib.shell-out))
     4.8 +  (:use clojure.java.shell))
     4.9  
    4.10  (defn images [path]
    4.11    (sort (rest (file-seq (File. path)))))
     5.1 --- a/org/sense.org	Tue Feb 28 13:32:44 2012 -0600
     5.2 +++ b/org/sense.org	Tue Feb 28 13:44:46 2012 -0600
     5.3 @@ -497,7 +497,7 @@
     5.4  #+begin_src clojure :results silent
     5.5  (ns cortex.video.magick
     5.6    (:import java.io.File)
     5.7 -  (:use clojure.contrib.shell-out))
     5.8 +  (:use clojure.java.shell))
     5.9  
    5.10  (defn combine-images []
    5.11    (let    
     6.1 --- a/org/touch.org	Tue Feb 28 13:32:44 2012 -0600
     6.2 +++ b/org/touch.org	Tue Feb 28 13:44:46 2012 -0600
     6.3 @@ -578,7 +578,7 @@
     6.4  #+begin_src clojure
     6.5  (ns cortex.video.magick4
     6.6    (:import java.io.File)
     6.7 -  (:use clojure.contrib.shell-out))
     6.8 +  (:use clojure.java.shell))
     6.9  
    6.10  (defn images [path]
    6.11    (sort (rest (file-seq (File. path)))))
    6.12 @@ -676,7 +676,7 @@
    6.13  #+begin_src clojure
    6.14  (ns cortex.video.magick5
    6.15    (:import java.io.File)
    6.16 -  (:use clojure.contrib.shell-out))
    6.17 +  (:use clojure.java.shell))
    6.18  
    6.19  (defn images [path]
    6.20    (sort (rest (file-seq (File. path)))))
     7.1 --- a/org/vision.org	Tue Feb 28 13:32:44 2012 -0600
     7.2 +++ b/org/vision.org	Tue Feb 28 13:44:46 2012 -0600
     7.3 @@ -627,7 +627,7 @@
     7.4  #+begin_src clojure
     7.5  (ns cortex.video.magick2
     7.6    (:import java.io.File)
     7.7 -  (:use clojure.contrib.shell-out))
     7.8 +  (:use clojure.java.shell))
     7.9  
    7.10  (defn images [path]
    7.11    (sort (rest (file-seq (File. path)))))