           (appengine :verbose verbose)
           (builtin/sift :move {#"(.*clj$)" (str classes-dir "/$1")})
           (builtin/sift :move {#"(.*\.class$)" (str classes-dir "/$1")})
-          (if servlet
-            identity
-            (comp
-             (builtin/pom)
-             (builtin/jar)))
+          ;; (if servlet
+          ;;   identity
+          ;;   (comp
+          ;;    (builtin/pom)
+          ;;    (builtin/jar)))
           #_(target :servlet servlet :verbose verbose)
           #_(builtin/sift :include #{(re-pattern (str mod ".*jar"))})
           #_(builtin/install)


(defn- normalize-servlet-configs
  [configs]
  {:servlets
   (vec (flatten (for [config (:servlets configs)]
          (let [urls (into [] (for [url (:urls config)]
                                {:path (str url)}))
                ns (if (:ns config) (:ns config) (:class config)) ]
            (merge config {:urls urls
                           :servlet {:ns ns}})))))})

(boot/deftask servlets
  "generate servlets class files"

(def web-inf-dir "WEB-INF")
  ;; (let [mod (-> (boot/get-env) :gae :module :name)]
  ;;   (str (if mod (str mod "/")) "WEB-INF")))

(defn name-to-path
  "Constructs directory structure from fully qualified artifact name:
  \"foo-bar.baz\" becomes \"foo_bar/baz\"
  and so on. Uses platform-specific file separators."
  [s]
  (-> s (str/replace "-" "_") (str/replace "." java.io.File/separator)))

;; http://stackoverflow.com/questions/2751033/clojure-program-reading-its-own-manifest-mf
(defn manifest-map
