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


Reply via email to