Browse files

Fix regular expression to detect compilation dependency failures

  • Loading branch information...
1 parent d0fe9e5 commit 8b81732970206b9f65a23cb65909965123381014 @sattvik committed Dec 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 build-support/clojure-compile.clj
View
2 build-support/clojure-compile.clj
@@ -55,7 +55,7 @@
true
(catch clojure.lang.Compiler$CompilerException e
(let [msg (.getMessage e)
- cnfe-pattern #"^java\.lang\.ClassNotFoundException: ([a-zA-z0-9-_.]+) \(.*:\d+\)$"]
+ cnfe-pattern #"^java\.lang\.ClassNotFoundException: ([a-zA-z0-9-_.]+)(, compiling:| )\(.*:\d+\)$"]
(let [matches (re-matches cnfe-pattern msg)]
(if matches
(let [not-found-ns (symbol (matches 1))]

0 comments on commit 8b81732

Please sign in to comment.