> Why not just uberjar it? 
Good point. I didn't know that was an option at the time. My google-fu 
didn't reveal this option at the time. As someone originally coming from 
non-java lands, I wasn't asking the right questions.

Just few weeks later I learned hard way that uberjars are not my good 
friend:
https://github.com/binaryage/dirac/releases/tag/v0.1.3

I assume those concepts are basic to someone with experience with java. I'm 
sorry for my ignorance. My path was ... -> Javascript -> ClojureScript -> 
Clojure. Not Java -> Clojure -> ClojureScript. 

I was just looking for a way to let people run my brand new cli tool from a 
command-line, a task originally estimated to 5 minutes :-)

On Sunday, June 12, 2016 at 3:24:31 AM UTC+2, James Reeves wrote:
>
> On 12 June 2016 at 01:36, Antonin Hildebrand <antonin.h...@gmail.com 
> <javascript:>> wrote:
>
>> I wanted users of my library (which has dependencies) to run a helper 
>> tool from command-line (ideally with a simple wrapper bash script). And I 
>> didn't want to make them dependent on lein or boot.
>>
>> I came up with this (bash+maven+java):
>> https://github.com/binaryage/dirac/blob/master/scripts/agent-launcher.sh
>>
>> writing it was a horrific experience, I want that day back!
>> Antonin
>>
>
> Why not just uberjar it? You could upload it to GitHub as part of a 
> release (or S3, or wherever), then write a small script to download and run 
> it. It would be a couple of lines of bash, but have the same effect.
>
> - James
>

-- 
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.

Reply via email to