I glanced at this a while back - does carica support
java -jar myuberjar.jar config.clj
type invocation, or is it strictly "compile the config in" a la bundle
into the class path?
I generally ship the same uberjar around for prod/dev/etc. along with
a per-environment
config.clj file, and that se
t [fsymbol (binding [*read-eval* false]
> (read-string fstr))]
> (when-not (#{'println 'str 'list} fsymbol)
> (throw (Exception. "Invalid function")))
> (apply (eval fsymbol) args)))
>
>
> Marc
>
>
>
> On Sun
Nice one, looks pretty dead on.
On 12 May 2013 14:07, Ray Miller wrote:
> On 12 May 2013 10:37, Dick Davies wrote
>
>>
>> I've got a half-decent utility written that i want to provide to our
>> ops team (and not let them know it's Clojure based ssshhh)
Hi all
I've got a half-decent utility written that i want to provide to our
ops team (and not let them know it's Clojure based ssshhh).
Works great with 'lein run -m thingy.core/fn1 arg', but there are several
functions
I want to expose as 'subcommands' e.g.
java -jar thingy.jar fn1 arg
On 16 December 2012 10:59, Peter West wrote:
> This effect is, on the face of it, unpredictable: you just have to know that
> that is what apply does. Users of clojure learn that pretty quickly. I've
> just learned it. Doc doesn't help.
>
>>> user=> (doc apply)
If you're using leiningen (2 at l
Thanks, that's helpful to know (I was a java dev a long time ago,
before Maven took over
the world), but really I wanted to isolate this hack to a specific
project directory, rather
than globallly.
On 21 November 2012 12:00, Jim foo.bar wrote:
> On 21/11/12 11:47, Dick Davies wrote:
&g
Glad it's not me who keeps hitting this :0
"lein new app hello" seems to be more helpful for setting you up as I'd expect,
just need to wait for my fingers to learn to type it now.
On 14 November 2012 21:44, Marek Šrank wrote:
> Yep, leiningen now doesn't create -main function in the default tem
I've got a couple of projects that need a newer version of a JAR
than is available in Maven.
Is there any support/syntax in project.clj that will allow me to point
at a local JAR file?
Also, is it possible to 'override' a given dependency to favour a local JAR
over the 'official' maven one?
[ sp
Heroku was pretty painless (so long as your project/app is git based).
https://devcenter.heroku.com/articles/clojure
On 3 September 2012 21:22, Simone Mosciatti wrote:
> Yes, I know it is an issue, but I didn't really find any other PaaS (free to
> start) without such problem...
>
>
> On Monday,