           ;; _ (println "ARGS: " args)
           ;; jargs (into-array String (conj jargs "build/exploded-app"))
 
-          target-dir (if service (str (-> (boot/get-env) :gae :module :app-dir)
+          target-dir (if service (str (-> (boot/get-env) :gae :app :dir)
                                       "/target/"
                                       (-> (boot/get-env) :gae :module :name))
                          "target")

   k keep bool str "keep intermediate .clj files"
   m module MODULE str "module dirpath"
   v verbose bool "Print trace messages."]
  (let [tmp-dir (boot/tmp-dir!)
        prev-pre (atom nil)
        dir (if dir dir web-inf-dir)]
    (boot/with-pre-wrap fileset
      (let [webapp-edn-files (->> (boot/fileset-diff @prev-pre fileset)
                                  boot/input-files

    (comp (install-sdk)
          (libs :verbose verbose)
          (appstats :verbose verbose)
          (builtin/javac :options ["-target" "1.7"])
          (if prod identity (reloader :keep keep :service service :verbose verbose))
          (filters :keep keep :verbose verbose)
          (servlets :keep keep :verbose verbose)
