Comments (9)
There's a send! function in boot that circumvents these method code limits.
We should probably use that.
On Sat, 9 Apr 2016 at 03:41, Andrea Richiardi [email protected]
wrote:
The title is actually an attempt to an explanation, but it can be
something else.The exception is the following:
Deploying on bucket devel.clojurescript.io...
Pack source files...
Sifting output files...clojure.lang.ExceptionInfo: java.lang.RuntimeException: Method code too large!, compiling:(NO_SOURCE_PATH:0:0) data: {:file "/tmp/boot.user8095246900604741649.clj", :line 67}
clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Method code too large!, compiling:(NO_SOURCE_PATH:0:0)
java.lang.RuntimeException: Method code too large!
clojure.asm.MethodWriter.getSize MethodWriter.java: 1872
clojure.asm.ClassWriter.toByteArray ClassWriter.java: 775
...
clojure.core/eval core.clj: 3081
boot.pod/eval-in* pod.clj: 437
...
boot.pod/eval-in* pod.clj: 440
confetti.boot-confetti/eval2817/fn/fn/fn boot_confetti.clj: 155
replumb.boot-pack-source/eval2560/fn/fn/fn boot_pack_source.clj: 45
replumb.boot-pack-source/eval2606/fn/fn/fn boot_pack_source.clj: 57
boot.task.built-in/fn/fn/fn/fn built_in.clj: 416
boot.user/eval3014/fn/fn/fn boot.user8095246900604741649.clj: 45
boot.core/run-tasks core.clj: 927
boot.core/boot/fn core.clj: 937
clojure.core/binding-conveyor-fn/fn core.clj: 1916
...I am basically including the following dependencies:
(def deps '[[org.clojure/clojurescript "1.7.228"]
[org.clojure/core.async "0.2.374"]
[reagent "0.5.1"]
[re-frame "0.5.0"]
[replumb/replumb "0.2.2-SNAPSHOT"]
[org.clojure/tools.reader "1.0.0-alpha3"]])And the following task:
(core/deftask count-files
[](core/with-pre-wrap fileset
%28util/warn "Fileset count %s" %28count %28tmpdir/ls fileset)))
fileset))I get Fileset count 1704. Maybe I am pushing it to the limit [image:
😄 ]—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#22
from confetti.
I can do it, what is this send! about?
from confetti.
Ok I read the issue on Slack.
If I read the code correctly I should wrap (->str fmaps*)
. Just wanted your ack, I will try anyways.
from confetti.
Yes I think that should basically be it. Don't have the code in front of me
but sounds about right
On Sat, 9 Apr 2016 at 21:33, Andrea Richiardi [email protected]
wrote:
Ok I read the issue boot-clj/boot#339 on
Slack.
If I read the code correctly I should wrap (->str fmaps*)
https://github.com/confetti-clj/confetti/blob/master/src/confetti/boot_confetti.clj#L157.
Just wanted your ack, I will try anyways. [image:😄 ]—
You are receiving this because you commented.Reply to this email directly or view it on GitHub
#22 (comment)
from confetti.
Thanks will try it out
from confetti.
Can I ask you why do you use bootlaces 0.1.14
? What bug does it solve that I am not aware of
from confetti.
Huh, very valid question, 0.1.14 isn't even released so I probably used some fork locally. 0.1.13 should be fine
from confetti.
Yeah I can patch that as well if you want
from confetti.
sure go for it
from confetti.
Related Issues (20)
- make create-site return earlier HOT 5
- Allow Record Set to be added to an existing HostedZone
- sync-bucket task option to specify file-maps directly
- Problem creating site for root domain HOT 2
- Support CloudFront Invalidations HOT 1
- Allow custom invalidation path for cloudfront HOT 3
- The parameter previousObjectListing must be specified HOT 3
- Update objects when metadata changed HOT 4
- create-site never finishes HOT 2
- Failed to contact the origin HOT 3
- Revisit instructions HOT 6
- sync-bucket NullPointerException HOT 1
- "Cannot create enum from eu-west-2 value" HOT 5
- Don't create confetti.edn; recommend direnv
- Consider Lambda@Edge for immutable deploys
- Allow specification of other regions than us-east HOT 1
- Clarify Readme regarding access key HOT 3
- Provide way to create Cloudformation template HOT 1
- Auhentication warning during s3 sync HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confetti.