Fork me on GitHub
#boot
<
2016-03-14
>
escherize03:03:27

Have you guys discussed inlein at all?

alandipert04:03:50

i just saw it today

alandipert04:03:17

got a rudimentary proguard task going over at https://github.com/alandipert/e2j, cuts uberjar size by more than 1/3 for my CLI tool

alandipert04:03:47

doesn't seem to improve startup time or performance in any other way

nha10:03:38

@alandipert: Nice ! The uberjar size is something preventing me from uploading from my laptop to deploy directly currently.

juhoteperi11:03:12

Yeah, uploading 70MB uberjars is annoyingly slow 😄

martinklepsch11:03:41

@juhoteperi: @nha with rsync it can be pretty fast, no?

juhoteperi11:03:15

Unfortunately ansible doesn't know how to use rsync or compression

juhoteperi11:03:16

Proper solution is to have proper 1Gbit connection but unfortunately our office is at very old building and there is no ethernet wiring here 😄

juhoteperi12:03:44

Also, doesn't look like rsync is any faster. Jar file is already compressed and it can't send only the changed parts because of jar compression etc.

dm312:03:47

could be unzipping the jar, then rsyncing contents and zipping up back on the host simple_smile

juhoteperi12:03:55

Yeah, that would probably work but I don't want the additional complexity

alandipert12:03:17

Build on Travis, push to s3? That's how I usually get around uploading things

juhoteperi12:03:37

We have now one project running on AWS but most projects are still running on Finnish IaaS, and will be for foreseeable future

juhoteperi13:03:08

But yeah, we should probably run some CI system on the IaaS network and deploy from there

nha13:03:51

We have a script that runs the tests locally then git push / git pull on remote and builds the uberjar there. Agree, CI would be nice.

martinklepsch21:03:41

@juhoteperi: re webjars builds for transitive deps: https://github.com/webjars/webjars/issues/1186

richiardiandrea21:03:32

so are webjars the same as cljsjs in a way?

martinklepsch21:03:17

@richiardiandrea: they're jars, not much overlap why you want to use either besides that

richiardiandrea22:03:41

@martinklepsch: I was wondering exactly that, but maybe boot could explode and sift externs and stuff automagically

richiardiandrea22:03:56

is there any task that does that already?

juhoteperi22:03:04

but where would such task get the externs?