Skip to content

Commit

Permalink
Had to add files in order to get git to store the directories for the…
Browse files Browse the repository at this point in the history
… project templates.
  • Loading branch information
Eric Thorsen authored and Eric Thorsen committed Jul 6, 2010
1 parent 3044f41 commit 9c46791
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,12 @@ See the Enclojure category under preferences to view your settings"

(defmethod as-str org.openide.filesystems.FileObject
[f]
(as-str (str f)))
(as-str (str (.getPath f))))

(defn- as-canonical-str
[s]
(.getCanonicalPath (File. (str s))))
(as-str s))
; (.getCanonicalPath (File. (str s))))


;(defn add-jvm-properties
Expand Down Expand Up @@ -304,6 +305,9 @@ See the Enclojure category under preferences to view your settings"
with java launcher."
[#^Project p]
(let [pbean (bean p)
_ (logger/info "project bean: {}"
(apply str (interpose " " (keys pbean))))
_ (logger/info "project dir: {}" (str (pbean :projectDirectory)))
projectDirectory (as-canonical-str (pbean :projectDirectory))
contentDirectory (when (contains? pbean :webModule)
(as-canonical-str (:contentDirectory
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 9c46791

Please sign in to comment.