librelist archives

« back to archive

Leiningen Windows Installer

Leiningen Windows Installer

From:
David Powell
Date:
2013-06-10 @ 15:15
The installer that I put together at
http://leiningen-win-installer.djpowell.net/ is getting on for 200
downloads now.

I haven't really had much feedback, but it seems to work fine.

It downloads the latest stable lein.bat, presents a selection of an
installed JDKs, and configures Leiningen to use the installed JDK.

Can we link to this from the site somewhere?  I can publish a new version
without the beta suffix...

Has anyone got any feedback?

-- 
Dave

Re: Leiningen Windows Installer

From:
David Powell
Date:
2013-06-10 @ 16:51
I notice that the new README recommends Windows users install via
Chocolatey.


I think supporting Chocolatey users is fine, but not many Windows users use
Chocolatey.  Recommending that beginners install one niche package manager
via first installing another niche package manager, seems unnecessarily
complicated.  I was hoping that we could make getting leiningen up and
running on Windows would be easier than the manual approach, and in a way
familiar to Windows users.

I just tried to install Chocolatey, and hit two problems straight away.

Firstly, chocolatey doesn't seem to broadcast the system settings change
when it adds itself to the path, so I wasn't able to actually run
chocolatey from another console after I'd installing it.  (I assume if I'd
relogged or rebooted it'ld pick the changes up, but that isn't something I
ever normally have to do.)

Secondly, when I fixed my path and tried to install Leiningen, it failed
because it couldn't install the JDK because the Oracle URL that the package
is using is broken, so I couldn't get any further.

When all this is done (assuming that the user had the pre-requisites of
Powershell and the right version of .NET installed in order to install
Chocolatey), I think that lein will still need configuring to explicitly
use the JDK version of Java.


An alternative to recommending install via chocolatey, would be to
recommend leiningen-win-installer to windows users, and to provide a
chocolatey package (for chocolatey users) that downloads and installs
leiningen-win-installer.  Then we aren't forcing chocolatey on leiningen
users, and we only have one installer to maintain.

-- 
Dave




On Mon, Jun 10, 2013 at 4:15 PM, David Powell <djpowell@djpowell.net> wrote:

> The installer that I put together at
> http://leiningen-win-installer.djpowell.net/ is getting on for 200
> downloads now.
>
> I haven't really had much feedback, but it seems to work fine.
>
> It downloads the latest stable lein.bat, presents a selection of an
> installed JDKs, and configures Leiningen to use the installed JDK.
>
> Can we link to this from the site somewhere?  I can publish a new version
> without the beta suffix...
>
> Has anyone got any feedback?
>
> --
> Dave
>
>