 (ns ccw.repl.cmdhistory
   (:use [clojure.core.incubator :only [-?>]])
+  (:require [ccw.util.edn :refer [read-vector]])
   (:import
     ccw.CCWPlugin
     org.eclipse.core.runtime.jobs.Job

    (if pref-node
      [(into (or (-?> pref-node
                   (.get history-key "[]")
                   read-string)
               [])
         (@queued-commands project-name))
       (partial queue-expression project-name)]

    ccw.launching.LaunchUtils/getProject
    org.eclipse.core.resources.ProjectScope.
    (.getNode pref-node-id)
    (doto .sync)))

(defn- queue-expression
  [project-name expr]
