         [cake.file :only [file global-file]]
         [cake.ant :only [fileset-seq]]
         [clojure.string :only [join]]
-        [cake.utils.useful :only [assoc-or update merge-in tap]])
+        [cake.utils.useful :only [update merge-in tap]])
   (:import [java.io File]))
 
 (defn- make-url [file]

    (eval-in cl '(do (require 'cake)
                     (require 'bake.io)
                     (require 'bake.reload)
                     (require 'clojure.main)))    
    cl))

(defn reload! []

  (let [artifact (name project-name)
        artifact-version (str artifact "-" version)]
    (-> opts
        (assoc :artifact-id      artifact
               :group-id         (group project-name)
               :version          version
               :name             (or (:name opts) artifact)
               :aot              (or (:aot opts) (:namespaces opts))
               :context          (symbol (or (:context opts) "dev"))
               :jar-name         (or (:jar-name opts) artifact-version)
               :war-name         (or (:war-name opts) artifact-version)
               :uberjar-name     (or (:uberjar-name opts) (str artifact-version "-standalone"))
               :dependencies     (dep-map (or (:dependencies     opts) (:deps     opts)))
               :dev-dependencies (dep-map (or (:dev-dependencies opts) (:dev-deps opts)))
               :ext-dependencies (dep-map (or (:ext-dependencies opts) (:ext-deps opts)))))))
