Sean,

Ah, you need to call the (-main) function in the script when running
it via Jark. We can discuss this issue further on IRC (#jark) or
mailing list (https://groups.google.com/group/clojure-jark)

-
isaac

On Tue, Apr 24, 2012 at 9:27 AM, Sean Neilan <sneil...@gmail.com> wrote:
> The persistent JVM is what makes jark worthwhile. I wish it for me, but, I
> have this issue: https://github.com/icylisper/jark-client/issues/76
>
> lein-exec is too slow because doesn't use a persistent JVM.
>
>
> On Mon, Apr 23, 2012 at 10:46 PM, isaac praveen <icylis...@gmail.com> wrote:
>>
>> Jark works with a persistent JVM. It runs the script by transferring
>> the contents of the script to a remotely running JVM using the nREPL
>> protocol. Thus the JVM startup overhead is negligible, which is needed
>> for scripting/IDEs.
>> The client is a light-weight binary (~80-100k, is written in OCaml and
>> compiled to native) and has very minimum runtime dependencies.
>>
>> lein-exec on the other hand spawns a new JVM upon each invocation of
>> the script. lein-exec integrates well with the lein2 ecosystem.
>>
>> -
>> isaac
>>
>>
>> On Tue, Apr 24, 2012 at 6:35 AM, Daniel <doubleagen...@gmail.com> wrote:
>> > I'm curious.  How does this differ from Jark?
>> >    http://icylisper.in/jark/scripting.html
>> >
>> >
>> > On Monday, April 23, 2012 2:03:20 AM UTC-5, Shantanu Kumar wrote:
>> >>
>> >> Hi,
>> >>
>> >> I'm happy to announce the Leiningen plugin lein-exec 0.2.0, that lets
>> >> one write scripts with shebang in Clojure as we do in other languages
>> >> like Python, Ruby Groovy etc.
>> >>
>> >> Github URL:
>> >> https://github.com/kumarshantanu/lein-exec
>> >>
>> >> Blog post with examples:
>> >>
>> >>
>> >> http://charsequence.blogspot.in/2012/04/scripting-clojure-with-leiningen-2.html
>> >>
>> >> Hacker News comments:
>> >> http://news.ycombinator.com/item?id=3875180
>> >>
>> >> Please let me know what you think.
>> >>
>> >> Shantanu
>> >
>> > --
>> > 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
>>
>>
>>
>> --
>> isaac
>> http://icylisper.in
>>
>> --
>> 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 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



-- 
isaac
http://icylisper.in

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

Reply via email to