Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread David Nolen
As I said above, you must specify Clojure 1.7.0-beta2 as your Clojure
dependency.

On Mon, May 11, 2015 at 3:59 AM, Max Gonzih  wrote:

> On Sunday, May 10, 2015 at 11:24:54 PM UTC+2, Dmitri Sotnikov wrote:
> > Is there possibly anything else missing in the package, figwheel doesn't
> appear to find the repl ns.
> >
> >
> >
> >
> >
> > lein figwheel
> > Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.pom
> from central
> > Retrieving org/clojure/clojurescript/0.0-3269/clojurescript-0.0-3269.jar
> from central
> > Exception in thread "main" java.io.FileNotFoundException: Could not
> locate cljs/repl__init.class or cljs/repl.clj on classpath: ,
> compiling:(figwheel_sidecar/repl.clj:1:1)
> >
> >
> > On Sunday, May 10, 2015 at 10:20:13 AM UTC-4, David Nolen wrote:
> > Just cut 0.0-3269 which adds the missing analysis and source map bits
> back into the artifacts. It also cleans up :libs support and fixes a
> related regression with Closure compatible libraries that follow classpath
> conventions (like transit-js). Both :libs Closure libraries and classpath
> aware Closure compatible libraries now enjoy REPL support.
> >
> >
> > David
> >
> >
> > On Sun, May 10, 2015 at 9:41 AM, David Nolen 
> wrote:
> >
> > It appears there are still some important bits missing from the
> artifacts. Working through the issues and will cut a release soon.
> >
> >
> > David
> >
> >
> >
> >
> > On Sun, May 10, 2015 at 12:22 AM, Rangel Spasov 
> wrote:
> >
> > Hey guys,
> >
> >
> > 0.0-3264 fails for me with:
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > clojure.lang.ExceptionInfo: failed compiling
> file:resources/public/js/compiled/out/cljs/core.cljs
> >
> >  at clojure.core$ex_info.invoke (core.clj:4591)
> >
> > Caused by: java.lang.IllegalArgumentException: No implementation of
> method: :make-reader of protocol: #'clojure.java.io/IOFactory found for
> class: nil
> >
> >  at clojure.core$_cache_protocol_fn.invoke (core_deftype.clj:554)
> >
> > 0.0-3255 seems fine.
> >
> >
> > @raspasov
> > On Saturday, May 9, 2015 at 12:33:52 PM UTC-7, David Nolen wrote:
> > Just released 0.0-3264, it fixes a critical issue where .js files were
> missing from the artifacts due to the changed build. Also included are a
> several fixes around the :libs feature, REPLs, and stack trace mapping.
> >
> >
> > David
> >
> >
> >
> >
> > On Fri, May 8, 2015 at 3:23 PM, David Nolen  wrote:
> >
> >
> > ClojureScript, the Clojure compiler that emits JavaScript source code.
> >
> >
> > README and source code: https://github.com/clojure/clojurescript
> >
> >
> > Leiningen dependency information:
> >
> >
> > [org.clojure/clojurescript "0.0-3255"]
> >
> >
> > A big thanks goes out to Jonathan Boston and Shaun Lebron for this
> > release. Thanks to their efforts ClojureScript now includes a full
> > port of clojure.pprint under the cljs.pprint namespace. This was the
> > last major namespace in need of porting to ClojureScript.
> >
> >
> > The release also bumps several dependencies: Clojure 1.7.0-beta2,
> > tools.reader 0.9.2, Closure Compiler v20150505, and Closure Library
> > 0.0-20150505-021ed5b3.
> >
> >
> > This release also fixes some regressions around async testing,
> > docstring REPL support, arglist meta, and more.
> >
> >
> > As always feedback welcome!
> >
> >
> > ## 0.0-3255
> >
> >
> > ### Changes
> > * Update Closure Library dependency
> > * CLJS-1252: Update Closure Compiler Dependency to v20150505
> > * .clj -> .cljc for important analysis / compilation bits
> > * add public cljs.compiler.api namespace
> > * CLJS-1224: cljs.repl: Memoize stack frame mapping
> > * depend on tools.reader 0.9.2
> >
> >
> > ### Enhancements
> > * add cljs.pprint/pp macro
> > * CLJS-710: port clojure.pprint
> > * CLJS-1178: Compiler does not know Math ns is not not-native
> > * add getBasis methods to deftype and defrecord ctors a la Clojure JVM
> > * support ^long and ^double type hints
> >
> >
> > ### Fixes
> > * fix cljs-1198 async testing regression
> > * CLJS-1254: Update REPL browser agent detection CLJS-1253: Create/Use
> >   new Closure Library Release
> > * CLJS-1225: Variadic function with same name as parent function gives
> >   runtime error in advanced compile mode.
> > * CLJS-1246: Add cljs.core/record? predicate.
> > * CLJS-1239: Make eduction variadic.
> > * CLJS-1244: tagged-literal precondition check missing wrapping vector
> > * CLJS-1243: Add TaggedLiteral type & related fns
> > * CLJS-1240: Add cljs.core/var?
> > * CLJS-1214: :arglists meta has needless quoting CLJS-1232: bad
> >   arglists for doc, regression
> > * CLJS-1212: Error in set ctor for > 8-entry map literal
> > * CLJS-1218: Syntax quoting an alias created with :require-macros
> >   throws ClassCastException
> > * CLJS-1213: cljs.analyzer incorrectly marks all defs as tests when
> >   eliding test metadata
> > * CLJS-742: Compilation with :output-file option set fails
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> >
> > You received this message because you

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-11 Thread Ruslan Prokopchuk
Thanks for the tip, `:libs ["lib"]` is more convenient and does not produce 
error.

понедельник, 11 мая 2015 г., 9:52:16 UTC+3 пользователь David Nolen написал:
> Enhancing :libs support was pretty finicky work so I'm not particularly 
> surprised by the regression. Looking into it. In the meantime you don't need 
> specify each library, `:libs ["lib"]` should suffice.
> 
> 
> David
> 
> 
> 
> On Mon, May 11, 2015 at 1:10 AM, Ruslan Prokopchuk  wrote:
> With 3269 I have the following error:
> 
> 
> 
> java.lang.IllegalArgumentException: 
> /home/ul/Projects/project1/lib/transformflatgeom.js is not a relative path
> 
>  at clojure.java.io$as_relative_path.invoke (io.clj:405)
> 
> 
> 
> config is:
> 
> 
> 
> :compiler     {
> 
> :output-to      "resources/public/js/dev.js"
> 
> :output-dir     "resources/public/js/dev"
> 
> :source-map     "resources/public/js/dev.js.map"
> 
> :libs           ["lib/simplegeometry.js" "lib/transformflatgeom.js"
> 
>                  "lib/scaleinteraction.js" "lib/translateinteraction.js"]
> 
> :cache-analysis true
> 
> :optimizations  :none
> 
> :pretty-print   true}
> 
> 
> 
> 
> 
> --
> 
> Note that posts from new members are moderated - please be patient with your 
> first post.
> 
> ---
> 
> You received this message because you are subscribed to the Google Groups 
> "ClojureScript" group.
> 
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to clojurescrip...@googlegroups.com.
> 
> To post to this group, send email to clojur...@googlegroups.com.
> 
> Visit this group at http://groups.google.com/group/clojurescript.

-- 
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/d/optout.


Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3255 - pretty printer & latest Closure Compiler / Library

2015-05-10 Thread David Nolen
Enhancing :libs support was pretty finicky work so I'm not particularly
surprised by the regression. Looking into it. In the meantime you don't
need specify each library, `:libs ["lib"]` should suffice.

David

On Mon, May 11, 2015 at 1:10 AM, Ruslan Prokopchuk 
wrote:

> With 3269 I have the following error:
>
> java.lang.IllegalArgumentException:
> /home/ul/Projects/project1/lib/transformflatgeom.js is not a relative path
>  at clojure.java.io$as_relative_path.invoke (io.clj:405)
>
> config is:
>
> :compiler {
> :output-to  "resources/public/js/dev.js"
> :output-dir "resources/public/js/dev"
> :source-map "resources/public/js/dev.js.map"
> :libs   ["lib/simplegeometry.js" "lib/transformflatgeom.js"
>  "lib/scaleinteraction.js" "lib/translateinteraction.js"]
> :cache-analysis true
> :optimizations  :none
> :pretty-print   true}
>
> --
> Note that posts from new members are moderated - please be patient with
> your first post.
> ---
> You received this message because you are subscribed to the Google Groups
> "ClojureScript" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescr...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojurescript.
>

-- 
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/d/optout.