Re: [ANN]: Introducing lein-try

2013-07-14 Thread Sean Corfield
https://github.com/rkneufeld/lein-try/issues/3

Let me know if I can help with testing or provide any additional information.

Sean

On Sun, Jul 14, 2013 at 7:42 AM, Ryan Neufeld  wrote:
> Can you pop that in an issue on the project. In the mean time I'll see if I
> reproduce that problem.
>
> On Jul 13, 2013 11:30 PM, "Sean Corfield"  wrote:
>>
>> It doesn't work when I spell it correctly either (and I had done
>> several tests - but of course the results of misspelling it look the
>> same as it not working - and it's indicative of my day that I pasted
>> the result of a bad test! :)
>>
>> C:\Users\Sean\clojure>lein new five
>> ...
>> C:\Users\Sean\clojure>cd five
>> C:\Users\Sean\clojure\five>lein try hiccup 1.0.2
>> Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
>> Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
>> Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
>> nREPL server started on port 51113
>> REPL-y 0.2.0
>> Clojure 1.5.1
>> Docs: (doc function-name-here)
>>   (find-doc "part-of-name-here")
>>   Source: (source function-name-here)
>>  Javadoc: (javadoc java-object-or-class-here)
>> Exit: Control+D or (exit) or (quit)
>> user=> (use 'hiccup.core)
>> FileNotFoundException Could not locate hiccup/core__init.class or
>> hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
>> user=> ^D
>> Bye for now!
>>
>> C:\Users\Sean\clojure\five>cd ..
>> C:\Users\Sean\clojure>lein try hiccup 1.0.2
>> nREPL server started on port 51183
>> REPL-y 0.2.0
>> Clojure 1.5.1
>> Docs: (doc function-name-here)
>>   (find-doc "part-of-name-here")
>>   Source: (source function-name-here)
>>  Javadoc: (javadoc java-object-or-class-here)
>> Exit: Control+D or (exit) or (quit)
>> user=> (use 'hiccup.core)
>> nil
>> user=> ^D
>> Bye for now!
>> C:\Users\Sean\clojure>
>>
>> (and that's just to show it failing the same way on Windows 8 (with
>> GNU on Windows) as it does on Mac!)
>>
>> Sean
>>
>> On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld 
>> wrote:
>> > It looks like you tried to use hiccup.ocre instead of core
>> >
>> > --
>> > --
>> > 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/groups/opt_out.
>> >
>> >
>>
>>
>>
>> --
>> Sean A Corfield -- (904) 302-SEAN
>> An Architect's View -- http://corfield.org/
>> World Singles, LLC. -- http://worldsingles.com/
>>
>> "Perfection is the enemy of the good."
>> -- Gustave Flaubert, French realist novelist (1821-1880)
>>
>> --
>> --
>> 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 a topic in the
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> clojure+unsubscr...@googlegroups.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
> --
> --
> 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/groups/opt_out.
>
>



-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novel

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Softaddicts
Nice ... try :)

Luc


> I figured there was a joke somewhere in there, but I just couldn't tease a
> good one out ;)
> On Jul 14, 2013 9:54 AM, "Softaddicts"  wrote:
> 
> > After reading this thread, I think we need another plug in to try the try
> > plugin
> > which in turn may fail which would trigger the need for another try plugin
> > which 
> >
> > Isn't this recursive a bit ? :
> >
> > Luc
> >
> >
> > > Can you pop that in an issue on the project. In the mean time I'll see
> > if I
> > > reproduce that problem.
> > > On Jul 13, 2013 11:30 PM, "Sean Corfield" 
> > wrote:
> > >
> > > > It doesn't work when I spell it correctly either (and I had done
> > > > several tests - but of course the results of misspelling it look the
> > > > same as it not working - and it's indicative of my day that I pasted
> > > > the result of a bad test! :)
> > > >
> > > > C:\Users\Sean\clojure>lein new five
> > > > ...
> > > > C:\Users\Sean\clojure>cd five
> > > > C:\Users\Sean\clojure\five>lein try hiccup 1.0.2
> > > > Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
> > > > Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
> > > > Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
> > > > nREPL server started on port 51113
> > > > REPL-y 0.2.0
> > > > Clojure 1.5.1
> > > > Docs: (doc function-name-here)
> > > >   (find-doc "part-of-name-here")
> > > >   Source: (source function-name-here)
> > > >  Javadoc: (javadoc java-object-or-class-here)
> > > > Exit: Control+D or (exit) or (quit)
> > > > user=> (use 'hiccup.core)
> > > > FileNotFoundException Could not locate hiccup/core__init.class or
> > > > hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
> > > > user=> ^D
> > > > Bye for now!
> > > >
> > > > C:\Users\Sean\clojure\five>cd ..
> > > > C:\Users\Sean\clojure>lein try hiccup 1.0.2
> > > > nREPL server started on port 51183
> > > > REPL-y 0.2.0
> > > > Clojure 1.5.1
> > > > Docs: (doc function-name-here)
> > > >   (find-doc "part-of-name-here")
> > > >   Source: (source function-name-here)
> > > >  Javadoc: (javadoc java-object-or-class-here)
> > > > Exit: Control+D or (exit) or (quit)
> > > > user=> (use 'hiccup.core)
> > > > nil
> > > > user=> ^D
> > > > Bye for now!
> > > > C:\Users\Sean\clojure>
> > > >
> > > > (and that's just to show it failing the same way on Windows 8 (with
> > > > GNU on Windows) as it does on Mac!)
> > > >
> > > > Sean
> > > >
> > > > On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld  > >
> > > > wrote:
> > > > > It looks like you tried to use hiccup.ocre instead of core
> > > > >
> > > > > --
> > > > > --
> > > > > 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/groups/opt_out.
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Sean A Corfield -- (904) 302-SEAN
> > > > An Architect's View -- http://corfield.org/
> > > > World Singles, LLC. -- http://worldsingles.com/
> > > >
> > > > "Perfection is the enemy of the good."
> > > > -- Gustave Flaubert, French realist novelist (1821-1880)
> > > >
> > > > --
> > > > --
> > > > 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 a topic in the
> > > > Google Groups "Clojure" group.
> > > > To unsubscribe from this topic, visit
> > > > https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
> > > > To unsubscribe from this group and all its topics, send an email to
> > > > clojure+unsubscr...@googlegroups.com.
> > > > For more options, visit https://groups.google.com/groups/opt_out.
> > > >
> > > >
> > > >
> > >
> > > --
> > > --
> > > You received this message because you are subscribed to the Google
> > > Groups "Clojure" group.
> > > To post to this group, send email to clojure

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
I figured there was a joke somewhere in there, but I just couldn't tease a
good one out ;)
On Jul 14, 2013 9:54 AM, "Softaddicts"  wrote:

> After reading this thread, I think we need another plug in to try the try
> plugin
> which in turn may fail which would trigger the need for another try plugin
> which 
>
> Isn't this recursive a bit ? :
>
> Luc
>
>
> > Can you pop that in an issue on the project. In the mean time I'll see
> if I
> > reproduce that problem.
> > On Jul 13, 2013 11:30 PM, "Sean Corfield" 
> wrote:
> >
> > > It doesn't work when I spell it correctly either (and I had done
> > > several tests - but of course the results of misspelling it look the
> > > same as it not working - and it's indicative of my day that I pasted
> > > the result of a bad test! :)
> > >
> > > C:\Users\Sean\clojure>lein new five
> > > ...
> > > C:\Users\Sean\clojure>cd five
> > > C:\Users\Sean\clojure\five>lein try hiccup 1.0.2
> > > Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
> > > Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
> > > Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
> > > nREPL server started on port 51113
> > > REPL-y 0.2.0
> > > Clojure 1.5.1
> > > Docs: (doc function-name-here)
> > >   (find-doc "part-of-name-here")
> > >   Source: (source function-name-here)
> > >  Javadoc: (javadoc java-object-or-class-here)
> > > Exit: Control+D or (exit) or (quit)
> > > user=> (use 'hiccup.core)
> > > FileNotFoundException Could not locate hiccup/core__init.class or
> > > hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
> > > user=> ^D
> > > Bye for now!
> > >
> > > C:\Users\Sean\clojure\five>cd ..
> > > C:\Users\Sean\clojure>lein try hiccup 1.0.2
> > > nREPL server started on port 51183
> > > REPL-y 0.2.0
> > > Clojure 1.5.1
> > > Docs: (doc function-name-here)
> > >   (find-doc "part-of-name-here")
> > >   Source: (source function-name-here)
> > >  Javadoc: (javadoc java-object-or-class-here)
> > > Exit: Control+D or (exit) or (quit)
> > > user=> (use 'hiccup.core)
> > > nil
> > > user=> ^D
> > > Bye for now!
> > > C:\Users\Sean\clojure>
> > >
> > > (and that's just to show it failing the same way on Windows 8 (with
> > > GNU on Windows) as it does on Mac!)
> > >
> > > Sean
> > >
> > > On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld  >
> > > wrote:
> > > > It looks like you tried to use hiccup.ocre instead of core
> > > >
> > > > --
> > > > --
> > > > 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/groups/opt_out.
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Sean A Corfield -- (904) 302-SEAN
> > > An Architect's View -- http://corfield.org/
> > > World Singles, LLC. -- http://worldsingles.com/
> > >
> > > "Perfection is the enemy of the good."
> > > -- Gustave Flaubert, French realist novelist (1821-1880)
> > >
> > > --
> > > --
> > > 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 a topic in the
> > > Google Groups "Clojure" group.
> > > To unsubscribe from this topic, visit
> > > https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
> > > To unsubscribe from this group and all its topics, send an email to
> > > clojure+unsubscr...@googlegroups.com.
> > > For more options, visit https://groups.google.com/groups/opt_out.
> > >
> > >
> > >
> >
> > --
> > --
> > 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/clojur

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Softaddicts
After reading this thread, I think we need another plug in to try the try plugin
which in turn may fail which would trigger the need for another try plugin 
which 

Isn't this recursive a bit ? :

Luc


> Can you pop that in an issue on the project. In the mean time I'll see if I
> reproduce that problem.
> On Jul 13, 2013 11:30 PM, "Sean Corfield"  wrote:
> 
> > It doesn't work when I spell it correctly either (and I had done
> > several tests - but of course the results of misspelling it look the
> > same as it not working - and it's indicative of my day that I pasted
> > the result of a bad test! :)
> >
> > C:\Users\Sean\clojure>lein new five
> > ...
> > C:\Users\Sean\clojure>cd five
> > C:\Users\Sean\clojure\five>lein try hiccup 1.0.2
> > Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
> > Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
> > Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
> > nREPL server started on port 51113
> > REPL-y 0.2.0
> > Clojure 1.5.1
> > Docs: (doc function-name-here)
> >   (find-doc "part-of-name-here")
> >   Source: (source function-name-here)
> >  Javadoc: (javadoc java-object-or-class-here)
> > Exit: Control+D or (exit) or (quit)
> > user=> (use 'hiccup.core)
> > FileNotFoundException Could not locate hiccup/core__init.class or
> > hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
> > user=> ^D
> > Bye for now!
> >
> > C:\Users\Sean\clojure\five>cd ..
> > C:\Users\Sean\clojure>lein try hiccup 1.0.2
> > nREPL server started on port 51183
> > REPL-y 0.2.0
> > Clojure 1.5.1
> > Docs: (doc function-name-here)
> >   (find-doc "part-of-name-here")
> >   Source: (source function-name-here)
> >  Javadoc: (javadoc java-object-or-class-here)
> > Exit: Control+D or (exit) or (quit)
> > user=> (use 'hiccup.core)
> > nil
> > user=> ^D
> > Bye for now!
> > C:\Users\Sean\clojure>
> >
> > (and that's just to show it failing the same way on Windows 8 (with
> > GNU on Windows) as it does on Mac!)
> >
> > Sean
> >
> > On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld 
> > wrote:
> > > It looks like you tried to use hiccup.ocre instead of core
> > >
> > > --
> > > --
> > > 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/groups/opt_out.
> > >
> > >
> >
> >
> >
> > --
> > Sean A Corfield -- (904) 302-SEAN
> > An Architect's View -- http://corfield.org/
> > World Singles, LLC. -- http://worldsingles.com/
> >
> > "Perfection is the enemy of the good."
> > -- Gustave Flaubert, French realist novelist (1821-1880)
> >
> > --
> > --
> > 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 a topic in the
> > Google Groups "Clojure" group.
> > To unsubscribe from this topic, visit
> > https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
> > To unsubscribe from this group and all its topics, send an email to
> > clojure+unsubscr...@googlegroups.com.
> > For more options, visit https://groups.google.com/groups/opt_out.
> >
> >
> >
> 
> -- 
> -- 
> 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/groups/opt_out.
> 
> 
> 
--
Softaddicts sent by ibisMail from my ipad!

-- 
-- 
You received this message 

Re: [ANN]: Introducing lein-try

2013-07-14 Thread Ryan Neufeld
Can you pop that in an issue on the project. In the mean time I'll see if I
reproduce that problem.
On Jul 13, 2013 11:30 PM, "Sean Corfield"  wrote:

> It doesn't work when I spell it correctly either (and I had done
> several tests - but of course the results of misspelling it look the
> same as it not working - and it's indicative of my day that I pasted
> the result of a bad test! :)
>
> C:\Users\Sean\clojure>lein new five
> ...
> C:\Users\Sean\clojure>cd five
> C:\Users\Sean\clojure\five>lein try hiccup 1.0.2
> Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
> Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
> Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
> nREPL server started on port 51113
> REPL-y 0.2.0
> Clojure 1.5.1
> Docs: (doc function-name-here)
>   (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Exit: Control+D or (exit) or (quit)
> user=> (use 'hiccup.core)
> FileNotFoundException Could not locate hiccup/core__init.class or
> hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
> user=> ^D
> Bye for now!
>
> C:\Users\Sean\clojure\five>cd ..
> C:\Users\Sean\clojure>lein try hiccup 1.0.2
> nREPL server started on port 51183
> REPL-y 0.2.0
> Clojure 1.5.1
> Docs: (doc function-name-here)
>   (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Exit: Control+D or (exit) or (quit)
> user=> (use 'hiccup.core)
> nil
> user=> ^D
> Bye for now!
> C:\Users\Sean\clojure>
>
> (and that's just to show it failing the same way on Windows 8 (with
> GNU on Windows) as it does on Mac!)
>
> Sean
>
> On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld 
> wrote:
> > It looks like you tried to use hiccup.ocre instead of core
> >
> > --
> > --
> > 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/groups/opt_out.
> >
> >
>
>
>
> --
> Sean A Corfield -- (904) 302-SEAN
> An Architect's View -- http://corfield.org/
> World Singles, LLC. -- http://worldsingles.com/
>
> "Perfection is the enemy of the good."
> -- Gustave Flaubert, French realist novelist (1821-1880)
>
> --
> --
> 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Sean Corfield
It doesn't work when I spell it correctly either (and I had done
several tests - but of course the results of misspelling it look the
same as it not working - and it's indicative of my day that I pasted
the result of a bad test! :)

C:\Users\Sean\clojure>lein new five
...
C:\Users\Sean\clojure>cd five
C:\Users\Sean\clojure\five>lein try hiccup 1.0.2
Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.pom from clojars
Retrieving lein-try/lein-try/0.1.1/lein-try-0.1.1.jar from clojars
Retrieving org/clojure/clojure/1.2.1/clojure-1.2.1.jar from central
nREPL server started on port 51113
REPL-y 0.2.0
Clojure 1.5.1
Docs: (doc function-name-here)
  (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
user=> (use 'hiccup.core)
FileNotFoundException Could not locate hiccup/core__init.class or
hiccup/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
user=> ^D
Bye for now!

C:\Users\Sean\clojure\five>cd ..
C:\Users\Sean\clojure>lein try hiccup 1.0.2
nREPL server started on port 51183
REPL-y 0.2.0
Clojure 1.5.1
Docs: (doc function-name-here)
  (find-doc "part-of-name-here")
  Source: (source function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
user=> (use 'hiccup.core)
nil
user=> ^D
Bye for now!
C:\Users\Sean\clojure>

(and that's just to show it failing the same way on Windows 8 (with
GNU on Windows) as it does on Mac!)

Sean

On Sat, Jul 13, 2013 at 9:26 PM, Ryan Neufeld  wrote:
> It looks like you tried to use hiccup.ocre instead of core
>
> --
> --
> 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/groups/opt_out.
>
>



-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
I use zsh too and have to prefix commands with noglob. Additional robustness 
and caveats documentation will be necessary.

Pull requests welcomed. 

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Ryan Neufeld
It looks like you tried to use hiccup.ocre instead of core

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Daniel Dinnyes
Also, I would call it repl-deps or repl-with-deps. Not as short, but who 
knows, maybe later on it will be merged into `repl` as some option 
argument; such naming would support that intention. It is more descriptive 
too. When I first saw the post I thought `lein try` will be about testing 
exception handling or something.

On Sunday, July 14, 2013 12:58:51 AM UTC+1, Daniel Dinnyes wrote:
>
> Looks promising though. Pomegranate is significantly more complex, and I 
> could never remember the name of the function which dynamically loads the 
> libs.
>
> On Sunday, July 14, 2013 12:55:55 AM UTC+1, Daniel Dinnyes wrote:
>>
>> Well, that's the most convenient way it should work anyway, just a list 
>> of key, value, key, value, key, value argument list. Easy to implement. 
>> Accepting brackets is criminal.
>>
>> On Saturday, July 13, 2013 6:13:21 PM UTC+1, Steven Degutis wrote:
>>>
>>> I think it also works with just: lein try clj-time 0.5.1, no quotes, no 
>>> brackets.
>>>
>>>
>>> On Sat, Jul 13, 2013 at 11:54 AM, Brandon Bloom wrote:
>>>
 Odd. I just assumed that the arguments were being joined by spaces, 
 then clojure.core/read, rather than parsed as individual arguments.

 Not all of us use Bash... square brackets are used for special patterns 
 in Zsh.

 Without quotes, the arguments are being interpreted in this way:

 lein try '[clj-time' '"0.5.1"]'

 That seems to work, but it a bit awkward to use.


 On Sat, Jul 13, 2013 at 12:44 PM, Steven Degutis wrote:

> It looks like you're not supposed to quote the arguments you pass it.
>
>
> On Sat, Jul 13, 2013 at 11:27 AM, Brandon Bloom 
> wrote:
>
>> This is awesome! I've totally wanted this.
>>
>> Unfortunately, I can't get it to work...
>>
>> ~ $ lein try '[clj-time "0.5.1"]'
>> nREPL server started on port 61689
>> REPL-y 0.1.10
>> Clojure 1.5.1
>> Exit: Control+D or (exit) or (quit)
>> Commands: (user/help)
>> Docs: (doc function-name-here)
>>   (find-doc "part-of-name-here")
>>   Source: (source function-name-here)
>>   (user/sourcery function-name-here)
>>  Javadoc: (javadoc java-object-or-class-here)
>> Examples from clojuredocs.org: [clojuredocs or cdoc]
>>   (user/clojuredocs name-here)
>>   (user/clojuredocs "ns-here" "name-here")
>> user=> (use 'clj-time.core)
>> FileNotFoundException Could not locate clj_time/core__init.class or 
>> clj_time/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
>>
>> What gives?
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>  -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@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 a topic in the 
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> clojure+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>

  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@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+u...@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"

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Daniel Dinnyes
Looks promising though. Pomegranate is significantly more complex, and I 
could never remember the name of the function which dynamically loads the 
libs.

On Sunday, July 14, 2013 12:55:55 AM UTC+1, Daniel Dinnyes wrote:
>
> Well, that's the most convenient way it should work anyway, just a list of 
> key, value, key, value, key, value argument list. Easy to implement. 
> Accepting brackets is criminal.
>
> On Saturday, July 13, 2013 6:13:21 PM UTC+1, Steven Degutis wrote:
>>
>> I think it also works with just: lein try clj-time 0.5.1, no quotes, no 
>> brackets.
>>
>>
>> On Sat, Jul 13, 2013 at 11:54 AM, Brandon Bloom wrote:
>>
>>> Odd. I just assumed that the arguments were being joined by spaces, then 
>>> clojure.core/read, rather than parsed as individual arguments.
>>>
>>> Not all of us use Bash... square brackets are used for special patterns 
>>> in Zsh.
>>>
>>> Without quotes, the arguments are being interpreted in this way:
>>>
>>> lein try '[clj-time' '"0.5.1"]'
>>>
>>> That seems to work, but it a bit awkward to use.
>>>
>>>
>>> On Sat, Jul 13, 2013 at 12:44 PM, Steven Degutis wrote:
>>>
 It looks like you're not supposed to quote the arguments you pass it.


 On Sat, Jul 13, 2013 at 11:27 AM, Brandon Bloom 
 wrote:

> This is awesome! I've totally wanted this.
>
> Unfortunately, I can't get it to work...
>
> ~ $ lein try '[clj-time "0.5.1"]'
> nREPL server started on port 61689
> REPL-y 0.1.10
> Clojure 1.5.1
> Exit: Control+D or (exit) or (quit)
> Commands: (user/help)
> Docs: (doc function-name-here)
>   (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>   (user/sourcery function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Examples from clojuredocs.org: [clojuredocs or cdoc]
>   (user/clojuredocs name-here)
>   (user/clojuredocs "ns-here" "name-here")
> user=> (use 'clj-time.core)
> FileNotFoundException Could not locate clj_time/core__init.class or 
> clj_time/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
>
> What gives?
>
> -- 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
>
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  
>

  -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@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+u...@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 a topic in the 
 Google Groups "Clojure" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 clojure+u...@googlegroups.com.

 For more options, visit https://groups.google.com/groups/opt_out.
  
  

>>>
>>>  -- 
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>

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

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Sean Corfield
This seems to work beautifully outside a project - and it's very
useful! I will no longer need to create a million scratch projects to
try stuff out - thank you!

However, inside a project, I can't get it to work.

(! 501)-> cd clojure
(! 502)-> lein try hiccup 1.0.2
nREPL server started on port 59442
...
user=> (use 'hiccup.core)
nil
user=> (html [:p "It works!"])
"It works!"
user=> Bye for now!

(! 503)-> lein new testproject
Generating a project called testproject based on the 'default' template.
To see other templates (app, lein plugin, etc), try `lein help new`.
(! 504)-> cd testproject
(! 505)-> lein try hiccup 1.0.2
nREPL server started on port 59477
...
user=> (use 'hiccup.ocre)
FileNotFoundException Could not locate hiccup/ocre__init.class or
hiccup/ocre.clj on classpath:   clojure.lang.RT.load (RT.java:443)

user=>

Inside a project, it only seems to pick up the project's deps, not add
to them. Am I doing something wrong?

Sean


On Sat, Jul 13, 2013 at 6:56 AM, Ryan Neufeld  wrote:
> Hey folks,
>
> Don't you hate it when someone releases a cool new library and you have to go 
> into a project and add an unwanted dependency just to try it out? Worse, 
> maybe you decide to 'lein new delete-me' and add it there.
>
> No more! Stop this madness. Use lein-try to quickly launch a REPL with new 
> dependencies download automatically - inside of a project, or out.
>
> Once you've dropped [lein-try "0.1.1"] in your ~/.lein/profiles.clj's :user 
> :plugins key, simply copy-paste the leiningen-style dependency after "lein 
> try". For example:
>
> $ lein try [io.rkn/core.async "0.1.0-SNAPSHOT"]
> nREPL server started on port 50472
> REPL-y 0.2.0
> Clojure 1.5.1
> Docs: (doc function-name-here)
>   (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Exit: Control+D or (exit) or (quit)
>
> user=> (require '[clojure.core.async :as async :refer [timeout go  nil
> user=> (go ( channels."))
> # clojure.core.async.impl.channels.ManyToManyChannel@3b43b598>
> user=>
>
> # one second later...
>
> Now we're cooking with channels.
>
> Wow, that's cool!
>
> Find out more or contribute at https://github.com/rkneufeld/lein-try
>
> -Ryan
>
> --
> --
> 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/groups/opt_out.
>
>



-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Daniel Dinnyes
Well, that's the most convenient way it should work anyway, just a list of 
key, value, key, value, key, value argument list. Easy to implement. 
Accepting brackets is criminal.

On Saturday, July 13, 2013 6:13:21 PM UTC+1, Steven Degutis wrote:
>
> I think it also works with just: lein try clj-time 0.5.1, no quotes, no 
> brackets.
>
>
> On Sat, Jul 13, 2013 at 11:54 AM, Brandon Bloom 
> 
> > wrote:
>
>> Odd. I just assumed that the arguments were being joined by spaces, then 
>> clojure.core/read, rather than parsed as individual arguments.
>>
>> Not all of us use Bash... square brackets are used for special patterns 
>> in Zsh.
>>
>> Without quotes, the arguments are being interpreted in this way:
>>
>> lein try '[clj-time' '"0.5.1"]'
>>
>> That seems to work, but it a bit awkward to use.
>>
>>
>> On Sat, Jul 13, 2013 at 12:44 PM, Steven Degutis 
>> 
>> > wrote:
>>
>>> It looks like you're not supposed to quote the arguments you pass it.
>>>
>>>
>>> On Sat, Jul 13, 2013 at 11:27 AM, Brandon Bloom 
>>> 
>>> > wrote:
>>>
 This is awesome! I've totally wanted this.

 Unfortunately, I can't get it to work...

 ~ $ lein try '[clj-time "0.5.1"]'
 nREPL server started on port 61689
 REPL-y 0.1.10
 Clojure 1.5.1
 Exit: Control+D or (exit) or (quit)
 Commands: (user/help)
 Docs: (doc function-name-here)
   (find-doc "part-of-name-here")
   Source: (source function-name-here)
   (user/sourcery function-name-here)
  Javadoc: (javadoc java-object-or-class-here)
 Examples from clojuredocs.org: [clojuredocs or cdoc]
   (user/clojuredocs name-here)
   (user/clojuredocs "ns-here" "name-here")
 user=> (use 'clj-time.core)
 FileNotFoundException Could not locate clj_time/core__init.class or 
 clj_time/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)

 What gives?

 -- 
 -- 
 You received this message because you are subscribed to the Google
 Groups "Clojure" group.
 To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com .

 For more options, visit https://groups.google.com/groups/opt_out.
  
  

>>>
>>>  -- 
>>> -- 
>>> You received this message because you are subscribed to the Google
>>> Groups "Clojure" group.
>>> To post to this group, send email to clo...@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+u...@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 a topic in the 
>>> Google Groups "Clojure" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> clojure+u...@googlegroups.com .
>>>
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>  
>>>  
>>>
>>
>>  -- 
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>

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

Re: [ANN]: Introducing lein-try

2013-07-13 Thread Steven Degutis
I think it also works with just: lein try clj-time 0.5.1, no quotes, no
brackets.


On Sat, Jul 13, 2013 at 11:54 AM, Brandon Bloom
wrote:

> Odd. I just assumed that the arguments were being joined by spaces, then
> clojure.core/read, rather than parsed as individual arguments.
>
> Not all of us use Bash... square brackets are used for special patterns in
> Zsh.
>
> Without quotes, the arguments are being interpreted in this way:
>
> lein try '[clj-time' '"0.5.1"]'
>
> That seems to work, but it a bit awkward to use.
>
>
> On Sat, Jul 13, 2013 at 12:44 PM, Steven Degutis wrote:
>
>> It looks like you're not supposed to quote the arguments you pass it.
>>
>>
>> On Sat, Jul 13, 2013 at 11:27 AM, Brandon Bloom <
>> brandon.d.bl...@gmail.com> wrote:
>>
>>> This is awesome! I've totally wanted this.
>>>
>>> Unfortunately, I can't get it to work...
>>>
>>> ~ $ lein try '[clj-time "0.5.1"]'
>>> nREPL server started on port 61689
>>> REPL-y 0.1.10
>>> Clojure 1.5.1
>>> Exit: Control+D or (exit) or (quit)
>>> Commands: (user/help)
>>> Docs: (doc function-name-here)
>>>   (find-doc "part-of-name-here")
>>>   Source: (source function-name-here)
>>>   (user/sourcery function-name-here)
>>>  Javadoc: (javadoc java-object-or-class-here)
>>> Examples from clojuredocs.org: [clojuredocs or cdoc]
>>>   (user/clojuredocs name-here)
>>>   (user/clojuredocs "ns-here" "name-here")
>>> user=> (use 'clj-time.core)
>>> FileNotFoundException Could not locate clj_time/core__init.class or
>>> clj_time/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
>>>
>>> What gives?
>>>
>>> --
>>> --
>>> 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/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> --
>> 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 a topic in the
>> Google Groups "Clojure" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> clojure+unsubscr...@googlegroups.com.
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> --
> 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/groups/opt_out.
>
>
>

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Brandon Bloom
Odd. I just assumed that the arguments were being joined by spaces, then
clojure.core/read, rather than parsed as individual arguments.

Not all of us use Bash... square brackets are used for special patterns in
Zsh.

Without quotes, the arguments are being interpreted in this way:

lein try '[clj-time' '"0.5.1"]'

That seems to work, but it a bit awkward to use.


On Sat, Jul 13, 2013 at 12:44 PM, Steven Degutis wrote:

> It looks like you're not supposed to quote the arguments you pass it.
>
>
> On Sat, Jul 13, 2013 at 11:27 AM, Brandon Bloom  > wrote:
>
>> This is awesome! I've totally wanted this.
>>
>> Unfortunately, I can't get it to work...
>>
>> ~ $ lein try '[clj-time "0.5.1"]'
>> nREPL server started on port 61689
>> REPL-y 0.1.10
>> Clojure 1.5.1
>> Exit: Control+D or (exit) or (quit)
>> Commands: (user/help)
>> Docs: (doc function-name-here)
>>   (find-doc "part-of-name-here")
>>   Source: (source function-name-here)
>>   (user/sourcery function-name-here)
>>  Javadoc: (javadoc java-object-or-class-here)
>> Examples from clojuredocs.org: [clojuredocs or cdoc]
>>   (user/clojuredocs name-here)
>>   (user/clojuredocs "ns-here" "name-here")
>> user=> (use 'clj-time.core)
>> FileNotFoundException Could not locate clj_time/core__init.class or
>> clj_time/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
>>
>> What gives?
>>
>> --
>> --
>> 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/groups/opt_out.
>>
>>
>>
>
>  --
> --
> 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/YZDYufCtKRA/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Steven Degutis
It looks like you're not supposed to quote the arguments you pass it.


On Sat, Jul 13, 2013 at 11:27 AM, Brandon Bloom
wrote:

> This is awesome! I've totally wanted this.
>
> Unfortunately, I can't get it to work...
>
> ~ $ lein try '[clj-time "0.5.1"]'
> nREPL server started on port 61689
> REPL-y 0.1.10
> Clojure 1.5.1
> Exit: Control+D or (exit) or (quit)
> Commands: (user/help)
> Docs: (doc function-name-here)
>   (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>   (user/sourcery function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Examples from clojuredocs.org: [clojuredocs or cdoc]
>   (user/clojuredocs name-here)
>   (user/clojuredocs "ns-here" "name-here")
> user=> (use 'clj-time.core)
> FileNotFoundException Could not locate clj_time/core__init.class or
> clj_time/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)
>
> What gives?
>
> --
> --
> 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/groups/opt_out.
>
>
>

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Brandon Bloom
This is awesome! I've totally wanted this.

Unfortunately, I can't get it to work...

~ $ lein try '[clj-time "0.5.1"]'
nREPL server started on port 61689
REPL-y 0.1.10
Clojure 1.5.1
Exit: Control+D or (exit) or (quit)
Commands: (user/help)
Docs: (doc function-name-here)
  (find-doc "part-of-name-here")
  Source: (source function-name-here)
  (user/sourcery function-name-here)
 Javadoc: (javadoc java-object-or-class-here)
Examples from clojuredocs.org: [clojuredocs or cdoc]
  (user/clojuredocs name-here)
  (user/clojuredocs "ns-here" "name-here")
user=> (use 'clj-time.core)
FileNotFoundException Could not locate clj_time/core__init.class or 
clj_time/core.clj on classpath:   clojure.lang.RT.load (RT.java:443)

What gives?

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread xumingmingv
cool!

发自我的 iPhone

在 2013-7-13,21:56,Ryan Neufeld  写道:

> Hey folks,
> 
> Don't you hate it when someone releases a cool new library and you have to go 
> into a project and add an unwanted dependency just to try it out? Worse, 
> maybe you decide to 'lein new delete-me' and add it there.
> 
> No more! Stop this madness. Use lein-try to quickly launch a REPL with new 
> dependencies download automatically - inside of a project, or out.
> 
> Once you've dropped [lein-try "0.1.1"] in your ~/.lein/profiles.clj's :user 
> :plugins key, simply copy-paste the leiningen-style dependency after "lein 
> try". For example:
> 
>$ lein try [io.rkn/core.async "0.1.0-SNAPSHOT"]
>nREPL server started on port 50472
>REPL-y 0.2.0
>Clojure 1.5.1
>Docs: (doc function-name-here)
>  (find-doc "part-of-name-here")
>  Source: (source function-name-here)
> Javadoc: (javadoc java-object-or-class-here)
>Exit: Control+D or (exit) or (quit)
> 
>user=> (require '[clojure.core.async :as async :refer [timeout go nil
>user=> (go ( channels."))
># clojure.core.async.impl.channels.ManyToManyChannel@3b43b598>
>user=>
> 
># one second later...
> 
>Now we're cooking with channels.
> 
> Wow, that's cool!
> 
> Find out more or contribute at https://github.com/rkneufeld/lein-try
> 
> -Ryan
> 
> -- 
> -- 
> 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/groups/opt_out.
> 
> 

-- 
-- 
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/groups/opt_out.




Re: [ANN]: Introducing lein-try

2013-07-13 Thread Steven Degutis
Very handy! I have to admit, the lack of this functionality has kept me
from trying out several libs. Looking forward to "trying" it out! ;)


On Sat, Jul 13, 2013 at 8:56 AM, Ryan Neufeld wrote:

> Hey folks,
>
> Don't you hate it when someone releases a cool new library and you have to
> go into a project and add an unwanted dependency just to try it out? Worse,
> maybe you decide to 'lein new delete-me' and add it there.
>
> No more! Stop this madness. Use lein-try to quickly launch a REPL with new
> dependencies download automatically - inside of a project, or out.
>
> Once you've dropped [lein-try "0.1.1"] in your ~/.lein/profiles.clj's
> :user :plugins key, simply copy-paste the leiningen-style dependency after
> "lein try". For example:
>
> $ lein try [io.rkn/core.async "0.1.0-SNAPSHOT"]
> nREPL server started on port 50472
> REPL-y 0.2.0
> Clojure 1.5.1
> Docs: (doc function-name-here)
>   (find-doc "part-of-name-here")
>   Source: (source function-name-here)
>  Javadoc: (javadoc java-object-or-class-here)
> Exit: Control+D or (exit) or (quit)
>
> user=> (require '[clojure.core.async :as async :refer [timeout go  nil
> user=> (go ( channels."))
> # clojure.core.async.impl.channels.ManyToManyChannel@3b43b598>
> user=>
>
> # one second later...
>
> Now we're cooking with channels.
>
> Wow, that's cool!
>
> Find out more or contribute at https://github.com/rkneufeld/lein-try
>
> -Ryan
>
> --
> --
> 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/groups/opt_out.
>
>
>

-- 
-- 
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/groups/opt_out.