     (comp
      (core/with-pre-wrap fs
        (let [tmp-dir (core/tmp-dir!)
-             _ (println "odir: " odir)
+             ;; _ (println "odir: " odir)
              out-file (doto (io/file tmp-dir (str odir "/" out-path)) io/make-parents)]
          (spit out-file content)
          (-> fs (core/add-resource tmp-dir) core/commit!))))))


(core/deftask servlets
  "aot compile master servlet file"
  [c clj bool "Save intermediate generated .clj file"
   d odir DIR str "output dir for generated class files"
   n namespace NS str "namespace to aot"
   s servleter SERVELETER str "namespace for master servlet generator"

    #_(. method invoke nil invoke-args))
    )

(core/deftask libs
  "" []
  (comp
   (builtin/uber :as-jars true)
   (builtin/sift :include #{#"jar$"} :move {#"(.*jar$)" "WEB-INF/lib/$1"})
   (builtin/target :dir #{"build"} :no-clean true)))

(core/deftask deps
  "Install dependency jars in <build-dir>/WEB-INF/lib"
  [v verbose bool "Print traces"]
