Re: [ClojureScript] CSS Modules with Clojurescript
On Saturday, 7 November 2015 14:13:54 UTC-5, Stephen Gilardi wrote: > On Nov 7, 2015, at 10:21 AM, Dhruv Bhatia wrote: > > There were a few quirks with getting it all working, so If anyone is > interested, I can clean up the code and create a sample GitHub project. > > I’d appreciate seeing that! > > > —Steve Sure! See https://github.com/dhruvbhatia/clojurescript-css-modules-demo for a quick sample project. Let me know if you have any issues - I plan on expanding on the documentation and improving structure shortly. -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
Re: [ClojureScript] Build error with Clojurescript 1.7.170
Yes, that was it, thanks. That one somehow slipped through. Thanks, Torsten. Am Samstag, 7. November 2015 19:22:43 UTC+1 schrieb David Nolen: > You need to use lein-cljsbuild 1.1.1. > > > HTH, > David > > > On Sat, Nov 7, 2015 at 2:51 AM, Torsten Uhlmann wrote: > Hi, > > > > I did update my project from Clojurescript 1.7.145 to 1.7.170 (thats the only > change) and now a "lein cljsbuild once" throws the exception below. > > > > I guess there's something in my project throwing it off, could you provide > any insight what I should be searching for? > > > > The project was created from a Chestnut template a while ago and has morphed > since then... > > > > lein cljsbuild once > > Compiling ClojureScript. > > Compiling "resources/public/js/app.js" from ("src/cljs" "env/dev/cljs")... > > Compiling "resources/public/js/app.js" failed. > > Exception in thread "main" java.lang.AbstractMethodError: Method > cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract, compiling:(/tmp/form-init5312459399003658114.clj:1:73) > > at clojure.lang.Compiler.load(Compiler.java:7239) > > at clojure.lang.Compiler.loadFile(Compiler.java:7165) > > at clojure.main$load_script.invoke(main.clj:275) > > at clojure.main$init_opt.invoke(main.clj:280) > > at clojure.main$initialize.invoke(main.clj:308) > > at clojure.main$null_opt.invoke(main.clj:343) > > at clojure.main$main.doInvoke(main.clj:421) > > at clojure.lang.RestFn.invoke(RestFn.java:421) > > at clojure.lang.Var.invoke(Var.java:383) > > at clojure.lang.AFn.applyToHelper(AFn.java:156) > > at clojure.lang.Var.applyTo(Var.java:700) > > at clojure.main.main(main.java:37) > > Caused by: java.lang.AbstractMethodError: Method > cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract > > at cljsbuild.compiler.SourcePaths._find_sources(compiler.clj) > > at cljs.closure$build$fn__4099.invoke(closure.clj:1774) > > at clojure.lang.Atom.swap(Atom.java:37) > > at clojure.core$swap_BANG_.invoke(core.clj:2238) > > at cljs.closure$build.invoke(closure.clj:1768) > > at cljs.closure$build.invoke(closure.clj:1752) > > at cljsbuild.compiler$compile_cljs$fn__4203.invoke(compiler.clj:81) > > at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80) > > at cljsbuild.compiler$run_compiler.invoke(compiler.clj:187) > > at > user$eval4337$iter__4373__4377$fn__4378$fn__4396.invoke(form-init5312459399003658114.clj:1) > > at > user$eval4337$iter__4373__4377$fn__4378.invoke(form-init5312459399003658114.clj:1) > > at clojure.lang.LazySeq.sval(LazySeq.java:40) > > at clojure.lang.LazySeq.seq(LazySeq.java:49) > > at clojure.lang.RT.seq(RT.java:507) > > at clojure.core$seq__4128.invoke(core.clj:137) > > at clojure.core$dorun.invoke(core.clj:3009) > > at clojure.core$doall.invoke(core.clj:3025) > > at user$eval4337.invoke(form-init5312459399003658114.clj:1) > > at clojure.lang.Compiler.eval(Compiler.java:6782) > > at clojure.lang.Compiler.eval(Compiler.java:6772) > > at clojure.lang.Compiler.load(Compiler.java:7227) > > ... 11 more > > Subprocess failed > > > > Thanks, > > Torsten. > > > > -- > > 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. -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
Re: [ClojureScript] CSS Modules with Clojurescript
> On Nov 7, 2015, at 10:21 AM, Dhruv Bhatia wrote: > > There were a few quirks with getting it all working, so If anyone is > interested, I can clean up the code and create a sample GitHub project. I’d appreciate seeing that! —Steve -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
Re: [ClojureScript] Build error with Clojurescript 1.7.170
You need to use lein-cljsbuild 1.1.1. HTH, David On Sat, Nov 7, 2015 at 2:51 AM, Torsten Uhlmann wrote: > Hi, > > I did update my project from Clojurescript 1.7.145 to 1.7.170 (thats the > only change) and now a "lein cljsbuild once" throws the exception below. > > I guess there's something in my project throwing it off, could you provide > any insight what I should be searching for? > > The project was created from a Chestnut template a while ago and has > morphed since then... > > lein cljsbuild once > Compiling ClojureScript. > Compiling "resources/public/js/app.js" from ("src/cljs" "env/dev/cljs")... > Compiling "resources/public/js/app.js" failed. > Exception in thread "main" java.lang.AbstractMethodError: Method > cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract, compiling:(/tmp/form-init5312459399003658114.clj:1:73) > at clojure.lang.Compiler.load(Compiler.java:7239) > at clojure.lang.Compiler.loadFile(Compiler.java:7165) > at clojure.main$load_script.invoke(main.clj:275) > at clojure.main$init_opt.invoke(main.clj:280) > at clojure.main$initialize.invoke(main.clj:308) > at clojure.main$null_opt.invoke(main.clj:343) > at clojure.main$main.doInvoke(main.clj:421) > at clojure.lang.RestFn.invoke(RestFn.java:421) > at clojure.lang.Var.invoke(Var.java:383) > at clojure.lang.AFn.applyToHelper(AFn.java:156) > at clojure.lang.Var.applyTo(Var.java:700) > at clojure.main.main(main.java:37) > Caused by: java.lang.AbstractMethodError: Method > cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract > at cljsbuild.compiler.SourcePaths._find_sources(compiler.clj) > at cljs.closure$build$fn__4099.invoke(closure.clj:1774) > at clojure.lang.Atom.swap(Atom.java:37) > at clojure.core$swap_BANG_.invoke(core.clj:2238) > at cljs.closure$build.invoke(closure.clj:1768) > at cljs.closure$build.invoke(closure.clj:1752) > at cljsbuild.compiler$compile_cljs$fn__4203.invoke(compiler.clj:81) > at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80) > at cljsbuild.compiler$run_compiler.invoke(compiler.clj:187) > at > user$eval4337$iter__4373__4377$fn__4378$fn__4396.invoke(form-init5312459399003658114.clj:1) > at > user$eval4337$iter__4373__4377$fn__4378.invoke(form-init5312459399003658114.clj:1) > at clojure.lang.LazySeq.sval(LazySeq.java:40) > at clojure.lang.LazySeq.seq(LazySeq.java:49) > at clojure.lang.RT.seq(RT.java:507) > at clojure.core$seq__4128.invoke(core.clj:137) > at clojure.core$dorun.invoke(core.clj:3009) > at clojure.core$doall.invoke(core.clj:3025) > at user$eval4337.invoke(form-init5312459399003658114.clj:1) > at clojure.lang.Compiler.eval(Compiler.java:6782) > at clojure.lang.Compiler.eval(Compiler.java:6772) > at clojure.lang.Compiler.load(Compiler.java:7227) > ... 11 more > Subprocess failed > > Thanks, > Torsten. > > -- > 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 clojurescript@googlegroups.com. > Visit this group at http://groups.google.com/group/clojurescript. > -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
Re: [ClojureScript] Build error with Clojurescript 1.7.170
What version of lein-cljsbuild are you using? It works fine for me with 1.1.1-SNAPSHOT, I imagine it's fine with 1.1.1 too. On Nov 7, 2015 10:01 AM, "Torsten Uhlmann" wrote: > Hi, > > I did update my project from Clojurescript 1.7.145 to 1.7.170 (thats the > only change) and now a "lein cljsbuild once" throws the exception below. > > I guess there's something in my project throwing it off, could you provide > any insight what I should be searching for? > > The project was created from a Chestnut template a while ago and has > morphed since then... > > lein cljsbuild once > Compiling ClojureScript. > Compiling "resources/public/js/app.js" from ("src/cljs" "env/dev/cljs")... > Compiling "resources/public/js/app.js" failed. > Exception in thread "main" java.lang.AbstractMethodError: Method > cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract, compiling:(/tmp/form-init5312459399003658114.clj:1:73) > at clojure.lang.Compiler.load(Compiler.java:7239) > at clojure.lang.Compiler.loadFile(Compiler.java:7165) > at clojure.main$load_script.invoke(main.clj:275) > at clojure.main$init_opt.invoke(main.clj:280) > at clojure.main$initialize.invoke(main.clj:308) > at clojure.main$null_opt.invoke(main.clj:343) > at clojure.main$main.doInvoke(main.clj:421) > at clojure.lang.RestFn.invoke(RestFn.java:421) > at clojure.lang.Var.invoke(Var.java:383) > at clojure.lang.AFn.applyToHelper(AFn.java:156) > at clojure.lang.Var.applyTo(Var.java:700) > at clojure.main.main(main.java:37) > Caused by: java.lang.AbstractMethodError: Method > cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract > at cljsbuild.compiler.SourcePaths._find_sources(compiler.clj) > at cljs.closure$build$fn__4099.invoke(closure.clj:1774) > at clojure.lang.Atom.swap(Atom.java:37) > at clojure.core$swap_BANG_.invoke(core.clj:2238) > at cljs.closure$build.invoke(closure.clj:1768) > at cljs.closure$build.invoke(closure.clj:1752) > at cljsbuild.compiler$compile_cljs$fn__4203.invoke(compiler.clj:81) > at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80) > at cljsbuild.compiler$run_compiler.invoke(compiler.clj:187) > at > user$eval4337$iter__4373__4377$fn__4378$fn__4396.invoke(form-init5312459399003658114.clj:1) > at > user$eval4337$iter__4373__4377$fn__4378.invoke(form-init5312459399003658114.clj:1) > at clojure.lang.LazySeq.sval(LazySeq.java:40) > at clojure.lang.LazySeq.seq(LazySeq.java:49) > at clojure.lang.RT.seq(RT.java:507) > at clojure.core$seq__4128.invoke(core.clj:137) > at clojure.core$dorun.invoke(core.clj:3009) > at clojure.core$doall.invoke(core.clj:3025) > at user$eval4337.invoke(form-init5312459399003658114.clj:1) > at clojure.lang.Compiler.eval(Compiler.java:6782) > at clojure.lang.Compiler.eval(Compiler.java:6772) > at clojure.lang.Compiler.load(Compiler.java:7227) > ... 11 more > Subprocess failed > > Thanks, > Torsten. > > -- > 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 clojurescript@googlegroups.com. > Visit this group at http://groups.google.com/group/clojurescript. > -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
Re: [ClojureScript] Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline
Have you tried the 0.5-SNAPSHOT? On Nov 7, 2015 00:59, "Francis Avila" wrote: > I'm getting the following exception with figwheel builds (using 0.4.1): > > java.lang.AbstractMethodError: Method > clojurescript_build/core/CompilableSourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract > at clojurescript_build.core.CompilableSourcePaths._find_sources > (core.clj:-1) > > > (cljsbuild works fine with version 1.1.1) > > Nolan said "All the mentioned tools [inc. figwheel] have already accounted > for this change." I don't see any mention in the figwheel docs about cljs > 1.7.170 compatibility or any commit message that mentions it. Can anyone > confirm this is actually true for figwheel? > > On Friday, November 6, 2015 at 6:05:19 AM UTC-6, 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 "1.7.170"] > > > > > > This release includes a major refactor of the build pipeline thanks to > > Juho Teperi. This change along with some greatly simplified > > recompilation logic will mean much faster cold build times for larger > > projects (some users have already reported >10X). > > > > > > This is a breaking change for existing tooling. You will need to > > upgrade lein-cljsbuild, lein-figwheel, and boot-cljs if you intend to > > adopt this version of ClojureScript. All the mentioned tools have > > already accounted for this change. Refer to the appropriate > > documentation for your tooling to determine which version number you > > should adopt. > > > > > > Other interesting changes and fixes include newer Google Closure > > Compiler and Library dependencies, self hosting tweaks, a Google > > Closure modules (:modules compiler option) regression, > > improved warnings, and minor REPL enhancements. > > > > > > As always feedback welcome! > > > > > > ### Enhancements > > * Refactor build pipeline > > * CLJS-1478: Self-host: Allow static-fns opt > > > > > > ### Changes > > * Generate larger range of random UUIDs > > * make browser REPL file reloads less chatty > > * CLJS-1475: indicate that cljs.reader/read is safe > > * CLJS-1470: Bump GCL Dependency > > * bump Google Closure dep > > > > > > ### Fixes > > * in system-time check that js/process.hrtime is actually a thing > > * CLJS-1228: cljs.util/topo-sort is polynomial on larger dependency > graphs > > * check that performance.now method actually exists > > * CLJS-1476: Self-host: Protocol prefixing broken for three- (or more) > segment namespaces > > * CLJS-1472 Patch for CLJS-1467 causes regression for nodejscli > > * CLJS-1469 :modules regression > > * CLJS-1445: Syntax error for var args in protocol methods > > * Warn if protocol impl methods do not match its protocol > > * CLJS-1451 Protocol impl do not support qualified method names > > * CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple > optimizations > > * CLJS-1423: self-host: Requiring analyzer/compiler breaks unchecked > Boolean > > * CLJS-1466: Improperly munged output path for GClosure JavaScript > > * CLJS-1467: Foreign Libraries not included when using :main with > :simple or :advanced > > -- > 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 clojurescript@googlegroups.com. > Visit this group at http://groups.google.com/group/clojurescript. > -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Build error with Clojurescript 1.7.170
Hi, I did update my project from Clojurescript 1.7.145 to 1.7.170 (thats the only change) and now a "lein cljsbuild once" throws the exception below. I guess there's something in my project throwing it off, could you provide any insight what I should be searching for? The project was created from a Chestnut template a while ago and has morphed since then... lein cljsbuild once Compiling ClojureScript. Compiling "resources/public/js/app.js" from ("src/cljs" "env/dev/cljs")... Compiling "resources/public/js/app.js" failed. Exception in thread "main" java.lang.AbstractMethodError: Method cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; is abstract, compiling:(/tmp/form-init5312459399003658114.clj:1:73) at clojure.lang.Compiler.load(Compiler.java:7239) at clojure.lang.Compiler.loadFile(Compiler.java:7165) at clojure.main$load_script.invoke(main.clj:275) at clojure.main$init_opt.invoke(main.clj:280) at clojure.main$initialize.invoke(main.clj:308) at clojure.main$null_opt.invoke(main.clj:343) at clojure.main$main.doInvoke(main.clj:421) at clojure.lang.RestFn.invoke(RestFn.java:421) at clojure.lang.Var.invoke(Var.java:383) at clojure.lang.AFn.applyToHelper(AFn.java:156) at clojure.lang.Var.applyTo(Var.java:700) at clojure.main.main(main.java:37) Caused by: java.lang.AbstractMethodError: Method cljsbuild/compiler/SourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; is abstract at cljsbuild.compiler.SourcePaths._find_sources(compiler.clj) at cljs.closure$build$fn__4099.invoke(closure.clj:1774) at clojure.lang.Atom.swap(Atom.java:37) at clojure.core$swap_BANG_.invoke(core.clj:2238) at cljs.closure$build.invoke(closure.clj:1768) at cljs.closure$build.invoke(closure.clj:1752) at cljsbuild.compiler$compile_cljs$fn__4203.invoke(compiler.clj:81) at cljsbuild.compiler$compile_cljs.invoke(compiler.clj:80) at cljsbuild.compiler$run_compiler.invoke(compiler.clj:187) at user$eval4337$iter__4373__4377$fn__4378$fn__4396.invoke(form-init5312459399003658114.clj:1) at user$eval4337$iter__4373__4377$fn__4378.invoke(form-init5312459399003658114.clj:1) at clojure.lang.LazySeq.sval(LazySeq.java:40) at clojure.lang.LazySeq.seq(LazySeq.java:49) at clojure.lang.RT.seq(RT.java:507) at clojure.core$seq__4128.invoke(core.clj:137) at clojure.core$dorun.invoke(core.clj:3009) at clojure.core$doall.invoke(core.clj:3025) at user$eval4337.invoke(form-init5312459399003658114.clj:1) at clojure.lang.Compiler.eval(Compiler.java:6782) at clojure.lang.Compiler.eval(Compiler.java:6772) at clojure.lang.Compiler.load(Compiler.java:7227) ... 11 more Subprocess failed Thanks, Torsten. -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: CSS Modules with Clojurescript
On Friday, 6 November 2015 07:24:59 UTC-5, Dhruv Bhatia wrote: > Hi All, > > Curious to know whether anyone has successfully built a CLJS workflow for > using CSS Modules within Clojurescript: > > http://glenmaddern.com/articles/css-modules > > It looks like a really solid way to write maintainable CSS, but I haven't > been able to find any references to Clojure based workflows. > > I'm specifically interested in understanding how one can include CSS modules > within CLJS where we don't have a bundle tool like Browserify to also process > the CLJS file itself. > > I'm thinking about using something like Gulp to build and watch my css files, > outputting a bundle which I can then reference within my CLJS file - but not > sure whether that will work as the JS examples seem to "import" the CSS > modules directly in order to get the references to the style names. > > Will give it a go and see where I get, but any thoughts would be appreciated. Good news - I managed to get this working using a Gulp/Browserify compile process which builds a CommonJS module that is consumed by my CLJS project (using foreign-libs). I can then use the generated CSS Module class names within my CLJS files. It works with live-reloading through figwheel too, so quite happy. There were a few quirks with getting it all working, so If anyone is interested, I can clean up the code and create a sample GitHub project. -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline
For future travelers. If you use figwheel 0.5.0-SNAPSHOT you will get this exception: clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: No such var: ana/forms-seq*, compiling:(figwheel_sidecar/utils.clj:49:21) figwheel 0.5.0-SNAPSHOT has a dependency on cljs 1.7.145 even though it needs 1.7.170. To resolve this error you must explicitly depend on clojurescript in your plugins. Example: :plugins [[lein-figwheel "0.5.0-SNAPSHOT"] [org.clojure/clojurescript "1.7.170"]] ;; Overrides broken lein-figwheel dependency. lein deps :tree shows cljs 1.7.170 is used. So, On Saturday, November 7, 2015 at 3:30:05 AM UTC-6, Maria Geller wrote: > Try using 0.5.0-SNAPSHOT for figwheel ;) > > On Saturday, November 7, 2015 at 9:59:24 PM UTC+13, Francis Avila wrote:I'm > getting the following exception with figwheel builds (using 0.4.1): > > > > java.lang.AbstractMethodError: Method > clojurescript_build/core/CompilableSourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > is abstract > > at clojurescript_build.core.CompilableSourcePaths._find_sources (core.clj:-1) > > > > > > (cljsbuild works fine with version 1.1.1) > > > > Nolan said "All the mentioned tools [inc. figwheel] have already accounted > for this change." I don't see any mention in the figwheel docs about cljs > 1.7.170 compatibility or any commit message that mentions it. Can anyone > confirm this is actually true for figwheel? > > > > On Friday, November 6, 2015 at 6:05:19 AM UTC-6, 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 "1.7.170"] > > > > > > > > > This release includes a major refactor of the build pipeline thanks to > > > Juho Teperi. This change along with some greatly simplified > > > recompilation logic will mean much faster cold build times for larger > > > projects (some users have already reported >10X). > > > > > > > > > This is a breaking change for existing tooling. You will need to > > > upgrade lein-cljsbuild, lein-figwheel, and boot-cljs if you intend to > > > adopt this version of ClojureScript. All the mentioned tools have > > > already accounted for this change. Refer to the appropriate > > > documentation for your tooling to determine which version number you > > > should adopt. > > > > > > > > > Other interesting changes and fixes include newer Google Closure > > > Compiler and Library dependencies, self hosting tweaks, a Google > > > Closure modules (:modules compiler option) regression, > > > improved warnings, and minor REPL enhancements. > > > > > > > > > As always feedback welcome! > > > > > > > > > ### Enhancements > > > * Refactor build pipeline > > > * CLJS-1478: Self-host: Allow static-fns opt > > > > > > > > > ### Changes > > > * Generate larger range of random UUIDs > > > * make browser REPL file reloads less chatty > > > * CLJS-1475: indicate that cljs.reader/read is safe > > > * CLJS-1470: Bump GCL Dependency > > > * bump Google Closure dep > > > > > > > > > ### Fixes > > > * in system-time check that js/process.hrtime is actually a thing > > > * CLJS-1228: cljs.util/topo-sort is polynomial on larger dependency graphs > > > * check that performance.now method actually exists > > > * CLJS-1476: Self-host: Protocol prefixing broken for three- (or more) > > segment namespaces > > > * CLJS-1472 Patch for CLJS-1467 causes regression for nodejscli > > > * CLJS-1469 :modules regression > > > * CLJS-1445: Syntax error for var args in protocol methods > > > * Warn if protocol impl methods do not match its protocol > > > * CLJS-1451 Protocol impl do not support qualified method names > > > * CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple > > optimizations > > > * CLJS-1423: self-host: Requiring analyzer/compiler breaks unchecked Boolean > > > * CLJS-1466: Improperly munged output path for GClosure JavaScript > > > * CLJS-1467: Foreign Libraries not included when using :main with :simple > > or :advanced -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline
Try using 0.5.0-SNAPSHOT for figwheel ;) On Saturday, November 7, 2015 at 9:59:24 PM UTC+13, Francis Avila wrote: > > I'm getting the following exception with figwheel builds (using 0.4.1): > > java.lang.AbstractMethodError: Method > clojurescript_build/core/CompilableSourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; > > is abstract > at clojurescript_build.core.CompilableSourcePaths._find_sources > (core.clj:-1) > > > (cljsbuild works fine with version 1.1.1) > > Nolan said "All the mentioned tools [inc. figwheel] have already accounted > for this change." I don't see any mention in the figwheel docs about cljs > 1.7.170 compatibility or any commit message that mentions it. Can anyone > confirm this is actually true for figwheel? > > On Friday, November 6, 2015 at 6:05:19 AM UTC-6, 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 "1.7.170"] > > > > > > This release includes a major refactor of the build pipeline thanks to > > Juho Teperi. This change along with some greatly simplified > > recompilation logic will mean much faster cold build times for larger > > projects (some users have already reported >10X). > > > > > > This is a breaking change for existing tooling. You will need to > > upgrade lein-cljsbuild, lein-figwheel, and boot-cljs if you intend to > > adopt this version of ClojureScript. All the mentioned tools have > > already accounted for this change. Refer to the appropriate > > documentation for your tooling to determine which version number you > > should adopt. > > > > > > Other interesting changes and fixes include newer Google Closure > > Compiler and Library dependencies, self hosting tweaks, a Google > > Closure modules (:modules compiler option) regression, > > improved warnings, and minor REPL enhancements. > > > > > > As always feedback welcome! > > > > > > ### Enhancements > > * Refactor build pipeline > > * CLJS-1478: Self-host: Allow static-fns opt > > > > > > ### Changes > > * Generate larger range of random UUIDs > > * make browser REPL file reloads less chatty > > * CLJS-1475: indicate that cljs.reader/read is safe > > * CLJS-1470: Bump GCL Dependency > > * bump Google Closure dep > > > > > > ### Fixes > > * in system-time check that js/process.hrtime is actually a thing > > * CLJS-1228: cljs.util/topo-sort is polynomial on larger dependency > graphs > > * check that performance.now method actually exists > > * CLJS-1476: Self-host: Protocol prefixing broken for three- (or more) > segment namespaces > > * CLJS-1472 Patch for CLJS-1467 causes regression for nodejscli > > * CLJS-1469 :modules regression > > * CLJS-1445: Syntax error for var args in protocol methods > > * Warn if protocol impl methods do not match its protocol > > * CLJS-1451 Protocol impl do not support qualified method names > > * CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple > optimizations > > * CLJS-1423: self-host: Requiring analyzer/compiler breaks unchecked > Boolean > > * CLJS-1466: Improperly munged output path for GClosure JavaScript > > * CLJS-1467: Foreign Libraries not included when using :main with > :simple or :advanced > -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Re: ANN: ClojureScript 1.7.170, Enhanced Build Pipeline
I'm getting the following exception with figwheel builds (using 0.4.1): java.lang.AbstractMethodError: Method clojurescript_build/core/CompilableSourcePaths._find_sources(Ljava/lang/Object;)Ljava/lang/Object; is abstract at clojurescript_build.core.CompilableSourcePaths._find_sources (core.clj:-1) (cljsbuild works fine with version 1.1.1) Nolan said "All the mentioned tools [inc. figwheel] have already accounted for this change." I don't see any mention in the figwheel docs about cljs 1.7.170 compatibility or any commit message that mentions it. Can anyone confirm this is actually true for figwheel? On Friday, November 6, 2015 at 6:05:19 AM UTC-6, 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 "1.7.170"] > > > This release includes a major refactor of the build pipeline thanks to > Juho Teperi. This change along with some greatly simplified > recompilation logic will mean much faster cold build times for larger > projects (some users have already reported >10X). > > > This is a breaking change for existing tooling. You will need to > upgrade lein-cljsbuild, lein-figwheel, and boot-cljs if you intend to > adopt this version of ClojureScript. All the mentioned tools have > already accounted for this change. Refer to the appropriate > documentation for your tooling to determine which version number you > should adopt. > > > Other interesting changes and fixes include newer Google Closure > Compiler and Library dependencies, self hosting tweaks, a Google > Closure modules (:modules compiler option) regression, > improved warnings, and minor REPL enhancements. > > > As always feedback welcome! > > > ### Enhancements > * Refactor build pipeline > * CLJS-1478: Self-host: Allow static-fns opt > > > ### Changes > * Generate larger range of random UUIDs > * make browser REPL file reloads less chatty > * CLJS-1475: indicate that cljs.reader/read is safe > * CLJS-1470: Bump GCL Dependency > * bump Google Closure dep > > > ### Fixes > * in system-time check that js/process.hrtime is actually a thing > * CLJS-1228: cljs.util/topo-sort is polynomial on larger dependency graphs > * check that performance.now method actually exists > * CLJS-1476: Self-host: Protocol prefixing broken for three- (or more) > segment namespaces > * CLJS-1472 Patch for CLJS-1467 causes regression for nodejscli > * CLJS-1469 :modules regression > * CLJS-1445: Syntax error for var args in protocol methods > * Warn if protocol impl methods do not match its protocol > * CLJS-1451 Protocol impl do not support qualified method names > * CLJS-1422: cljs.js/eval-str fails for ns form on node.js with simple > optimizations > * CLJS-1423: self-host: Requiring analyzer/compiler breaks unchecked Boolean > * CLJS-1466: Improperly munged output path for GClosure JavaScript > * CLJS-1467: Foreign Libraries not included when using :main with :simple or > :advanced -- 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 clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.