Hi Mark,

On Sun, Nov 24, 2013 at 6:54 PM, Mark Mandel <mark.man...@gmail.com> wrote:
> I just upgraded from 0.0-2030
>
> And now when I run lein-cljsbuild, I keep getting the error:
> Compiling "resources/public/js/main.js" from ["src-cljs"]...
> Compiling "resources/public/js/main.js" failed.
> java.lang.AssertionError: Assert failed: :output-dir
> "/home/mark/workspace/chaperone/target/cljsbuild-compiler-0" must specify a
> directory in :output-to's parent
> "/home/mark/workspace/chaperone/resources/public/js" if optimization setting
> applied
> (same-or-subdirectory-of? (absolute-parent output-to) output-dir)
>
> Does this look like a bug? "/home/mark/workspace/chaperone" seems to be the
> common parent directory here, no?

I guess the error message isn't as clear as I was hoping it would be. :\

In this case, `:output-dir` must be
`/home/mark/workspace/chaperone/resources/public/js` or deeper to
work. The common parent of `/home/mark/workspace/chaperone` isn't
enough.

This should only be the case if you've specified a `:source-map`
option though. As long as you're specifying that option, then this is
the expected behavior.

--

In Christ,

Timmy V.

http://blog.twonegatives.com/
http://five.sentenc.es/ -- Spend less time on mail

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to