Jules: between the current doc improvement for lein we're both participating in ( https://github.com/technomancy/leiningen/issues/1007) and the available doc for CCW (installation is one step really), are there any pain points that such a starter kit would address?
On Fri, Feb 15, 2013 at 6:42 PM, Jules <julesjac...@gmail.com> wrote: > It is reproducible from a clean install, as far as I can tell (but it is > possible that I had not deleted previous leiningen fully). I have posted it > on the issue tracker. > > What I was thinking is not to integrate CCW installation to leiningen, but > instead a "Clojure Starter Kit" just for windows that installs > leiningen+CCW. This is a bit easier since you just need to worry about > windows. > > > On Friday, February 15, 2013 6:33:51 PM UTC+1, vemv wrote: > >> On `lein repl` hanging - it could be anything, from the repl is used ( >> https://github.com/trptcolin/**reply/<https://github.com/trptcolin/reply/>) >> to who knows. If your issue is reproducible with a clean lein install, >> there should be no reason why a bug report wouldn't be welcome. >> >> File hosting wouldn't be as much as problem a setting up a mini build >> system that continuously fetched the latest stable release of CCW and >> applied it to Eclipse, making sure it works for users from every OS... it's >> much more maintainable to let the user figure out what IDE/editor to use >> and how to get it working. >> >> It'd be ideal if `lein self-install` saved a lot of work / decisions to >> the newcomers, but making that happen requires a lot of effort - which >> might or might not be worth it, especially considering lein devs' >> contributions come from their free time (afaict). Same thing for Clojure >> the language, the library ecosystem, etc. >> >> On Fri, Feb 15, 2013 at 6:11 PM, Jules <jules...@gmail.com> wrote: >> >>> Yes, just zipping up a clean eclipse+ccw was my first thought too, but >>> the resulting file is rather large 200MB or so, so we'd need to find >>> hosting for that. >>> >>> >>> On Friday, February 15, 2013 6:09:14 PM UTC+1, vemv wrote: >>> >>>> Now I think it, if automating the CCW plugin install is too difficult >>>> (Eclipse is very script-unfriendly) we could just mantain an >>>> already-configured setup ready to download. In other words, zipping and >>>> uploading a clean `eclipse` folder. >>>> >>>> On Fri, Feb 15, 2013 at 6:03 PM, Víctor M. V. <ve...@vemv.net> wrote: >>>> >>>>> on the CCW hang you mention - I saw an issue that was marked as >>>>> "critical" on the bug tracker, two weeks ago. As I can't find it anymore I >>>>> assume it's been fixed. Are you sure you're using the absolute latest >>>>> version? >>>>> >>>>> If you are, you should open an issue. >>>>> >>>>> I like your idea. Assuming curl is installed, when running `lein.bat >>>>> self-install` the user could be asked whether he wants to download "a >>>>> fully >>>>> functioning Clojure development environment" or something like that. >>>>> >>>>> >>>>> On Fri, Feb 15, 2013 at 5:36 PM, Jules <jules...@gmail.com> wrote: >>>>> >>>>>> By the way, I've been trying to write an install script for windows >>>>>> that installs leiningen + CCW. Creating a folder for all Clojure stuff, >>>>>> putting that folder on the PATH, downloading lein.bat, running lein >>>>>> self-install, downloading eclipse works OK. So far there are two >>>>>> problems I >>>>>> ran into that prevented full installation: >>>>>> >>>>>> 1. How to install CCW into eclipse from the command line? There >>>>>> should be a way to do it according to this page: >>>>>> http://help.eclipse.org/****galileo/index.jsp?topic=/org.**e** >>>>>> clipse.platform.doc.isv/**guide/**p2_director.html<http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/p2_director.html>but >>>>>> I haven't been able to come up with an actual command that succesfully >>>>>> installs CCW. I suppose the -repository should have the ccw update site, >>>>>> but what should be the -installIU argument? >>>>>> >>>>>> 2. How to prevent CCW from hanging when creating a leiningen project. >>>>>> >>>>>> >>>>>> On Friday, February 15, 2013 5:19:01 PM UTC+1, Jules wrote: >>>>>>> >>>>>>> lpetit, I'll describe my experience with CCW on windows. Installing >>>>>>> CCW is fairly easy, though not as easy as just downloading and running. >>>>>>> If >>>>>>> you go to the counterclockwise site (https://code.google.com/p/**cou >>>>>>> ****nterclockwise/ <https://code.google.com/p/counterclockwise/>) >>>>>>> it is reasonably clear what you should do, but not as clear as it could >>>>>>> be >>>>>>> by a long shot. New users would be inclined to click the download >>>>>>> button on >>>>>>> the top, which takes you to a page with two jars, which is not the >>>>>>> correct >>>>>>> way to install CCW. On the main page there are links, and one of them in >>>>>>> the middle is "Installation / Feature description / >>>>>>> Documentation<https://code.google.com/p/counterclockwise/wiki/Documentation#Install_Counterclockwise_plugin>". >>>>>>> That should really be very prominent. On that page you find these >>>>>>> instructions, among a page with a lot of other stuff: >>>>>>> >>>>>>> ---- >>>>>>> >>>>>>> Pre-requisites: >>>>>>> >>>>>>> - Java Virtual Machine (JVM) 6 or higher (for running Eclipse. >>>>>>> Your projects can still use Java 5) >>>>>>> - Eclipse 3.5 or higher installed : "Eclipse SDK" package, >>>>>>> "Eclipse for Java Developers" package, "Eclipse for Java EE >>>>>>> Developers" >>>>>>> package, etc. (really, any packaging including JDT -Java Development >>>>>>> Tools- >>>>>>> features will work) >>>>>>> >>>>>>> Update site : >>>>>>> http://ccw.cgrand.net/**update****site/<http://ccw.cgrand.net/updatesite/> >>>>>>> >>>>>>> --- >>>>>>> >>>>>>> So you download java 6+. Then you download eclipse, which uses a >>>>>>> non-standard way to install (on windows). But then what? Turns out >>>>>>> you have to go to Help -> Install new software, paste that url, select >>>>>>> counterclockwise, press next a couple of times and then you're good to >>>>>>> go. >>>>>>> >>>>>>> But now you still don't have leiningen, which is essential if you >>>>>>> want to do anything non toy. The installation page of CCW does describe >>>>>>> how >>>>>>> to create a leiningen project, but doesn't say that you first have to >>>>>>> manually install leiningen. Even if you manage to install it, which is >>>>>>> quite a feat for a newbie (as described previously), how do you then >>>>>>> use it >>>>>>> from CCW? For me, if I create a new leiningen project, the a new project >>>>>>> gets created but then the IDE hangs and the project doesn't have >>>>>>> anything >>>>>>> in it... >>>>>>> >>>>>>> A quick way to improve the situation is to make it prominently clear >>>>>>> on the homepage of CCW what the steps are for installing a full featured >>>>>>> CCW + leiningen. Even better would be to create a package to automate >>>>>>> those >>>>>>> steps of course. >>>>>>> vemv, I don't know how the situation is now with Ruby, but when I >>>>>>> used it it was really easy (and I did use it for non-toy purposes -- I >>>>>>> got >>>>>>> paid to use it). You downloaded the ruby installer, ran it, opened a >>>>>>> command line and typed "gem install rails" and you have everything you >>>>>>> need. The "it's hard no matter what you do if you use open source" >>>>>>> really >>>>>>> doesn't match with my experience. There *are* easy to use open source >>>>>>> projects. Python is another example. You're right that there are a lot >>>>>>> of >>>>>>> open source projects that aren't as easy, like OCaml for example, and >>>>>>> look >>>>>>> how successful that is. But this isn't a pissing match between different >>>>>>> projects. Don't we want people to use Clojure? >>>>>>> >>>>>>> Jules >>>>>>> >>>>>> -- >>>>>> -- >>>>>> 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<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/**grou**ps/opt_out<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<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<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.