Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-12 Thread Michael Kohl
On Thu, Feb 11, 2010 at 7:59 PM, Paul  Mooser  wrote:
> are a few things that seem to try to make this easier (like clojure-
> mode's install-clojure, or ClojureX) but they also seem unable to keep
> up with the speed of some of the changes that are happening (or, quite
> possibly, I'm using them incorrectly or ineffectively).

In the case of ClojureX you are right, we are struggling a bit to keep
up with things right now since both Scott and I are rather busy
lately. I soon should have a bit more time again which will be used on
making some changes to the overall structure of the project.

Michael

-- 
http://citizen428.net | http://twitter.com/citizen428

ClojureX: http://github.com/citizen428/ClojureX/

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Brent Millare
Michael,

I'm not sure of the full feature list of leiningen but since it
maintains a local repo, there might be a way (or if not, it should be
added) to install locally built libs and clojure versions (projects
normally without project.clj files). Perhaps there is a way to add
that information (by writing a special case project.clj file that's
handled differently) so that every person can have their own local
repository for ALL clojure software? To rephrase another way, have it
so that leiningen, in some projects, at most slaps a version number on
a jar and copies/installs it in the repo.

In my opinion, leiningen is still a long ways from being perfect, but
I think its good enough to be "the" package manager for clojure.
Another way to put it, instead of rolling your own package manager,
you should just fork leiningen. I could be wrong though... For me, at
least, it fulfills a lot of the common cases.

On Feb 11, 4:01 pm, Michael Wood  wrote:
> On 11 February 2010 21:07, Richard Newman  wrote:
>
> >> What are other people doing to maintain their installations? Is there
> >> some simple way to keep all of these projects up to date? Or do people
> >> simply not update all of these projects often?
>
> > I suck it up. Fortunately I was in the process of switching to Leiningen
> > when contrib suddenly moved to Maven, but I can't say I like it -- IMO there
> > was nothing wrong with ant for contrib, which has no dependencies!
>
> I must say that I *hate* it when I just want to compile something and
> the bloody build system decides to download a bunch of crap.
> Especially when it worked fine without all of that before.  And then
> it wants to download clojure-something-SNAPSHOT.jar when I have it
> compiled locally already!
>
> The recent packaging thread did give me some hope that maybe Maven was
> not such a bad idea, but it's yet another thing to learn because I
> don't like the defaults of wasting my precious bandwidth and time.
>
> Sorry for the rant :)
>
> --
> Michael Wood 

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Paul Mooser
Sadly, it looks like trying to follow the ELPA instructions to get
package.el going on my emacs ("carbon emacs") on the Mac doesn't
actually work - I'll have to debug into it later to figure out what's
actually going on, but unfortunately, for now, it's another dead end.

On Feb 11, 1:59 pm, Paul  Mooser  wrote:
> Thanks a lot for your reply, Phil - I had no idea it was deprecated.
> I'll make an effort to do what you've suggested!

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Brent Millare
Paul,

I first struggled to find a way to do everything manually cause I
didn't like someone else's self installer messing up my distributions
setup. I think I've found a satisfactory hybrid approach to setup my
IDE on any machine now in 4 chunked steps.

1. I rely on the distro to install emacs, slime, and git, and the base
system we would expect on a *nix machine.

2. I then bootstrap a checkouted out leiningen.
 -Download stable lein script (see Phil's github readme) and rename it
to lein-stable, put it in path
 -git clone developers version (I actually checkout my own fork that
has some modifications to swank-clojure and lein-swank plugin. This
makes it easy to deploy and it includes any potential new plugins I
would write. I build the jar for swank-clojure)
 -run lein-stable deps in the checkout directory. Symlink checkedout
lein script to path.
 -if you ever want to use a custom version of some clojure lib, check
it out, reversion it, and run lein install to put it in the local repo

3. I setup my .emacs for clojure
 -Link clojure-mode and swank-clojure
(add-to-list 'load-path "~/clj/clojure-mode")
(require 'clojure-mode)
(add-to-list 'load-path "~/clj/emacs-slime/swank-clojure")
(require 'swank-clojure)

4. Connect to a running swank-server
 -create a new project directory with a swank-clojure as a dependency
in the project.clj
 -run lein swank
 -in emacs M-x slime-connect

Hopefully that might give you some ideas.

Best,
Brent

On Feb 11, 1:59 pm, Paul  Mooser  wrote:
> I struggle fairly often with keeping clojure/contrib/slime up to date
> on my machine - it seems that every time I update it, something
> fundamental has broken (like build.xml going away in contrib). There
> are a few things that seem to try to make this easier (like clojure-
> mode's install-clojure, or ClojureX) but they also seem unable to keep
> up with the speed of some of the changes that are happening (or, quite
> possibly, I'm using them incorrectly or ineffectively).
>
> What are other people doing to maintain their installations? Is there
> some simple way to keep all of these projects up to date? Or do people
> simply not update all of these projects often?
>
> Thanks for any help!

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Paul Mooser
Thanks a lot for your reply, Phil - I had no idea it was deprecated.
I'll make an effort to do what you've suggested!

On Feb 11, 1:29 pm, Phil Hagelberg  wrote:
> On Thu, Feb 11, 2010 at 10:59 AM, Paul  Mooser  wrote:
>
> > I struggle fairly often with keeping clojure/contrib/slime up to date
> > on my machine - it seems that every time I update it, something
> > fundamental has broken (like build.xml going away in contrib). There
> > are a few things that seem to try to make this easier (like clojure-
> > mode's install-clojure, or ClojureX) but they also seem unable to keep
> > up with the speed of some of the changes that are happening (or, quite
> > possibly, I'm using them incorrectly or ineffectively).
>
> M-x install-clojure has been deprecated for quite some time now. If
> you work from the swank-clojure readme you should be able to get a
> usable setup with no headaches since it doesn't involve compiling code
> locally anymore. The CI server at build.clojure.org handles
> compilation issues for you, and only the stable versions of the elisp
> libraries are present on ELPA since those don't change very much any
> more.
>
> http://github.com/technomancy/swank-clojure
>
> If there are problems with the instructions there please bring them up
> on the mailing list or file a bug.
>
> > but it's hard for me to
> > think that this isn't especially frustrating for new users, who I
> > suspect will find that most tutorials or guides to setting up clojure
> > with slime (for example) aren't going to work at all.
>
> Outdated documentation is an annoyance for any project. I've kept the
> official docs up to date, but there are so many blog posts out there
> that point people towards methods that don't work any more; there's
> not much that can be done about that. Just pay attention to the
> posting date when you are looking for things like this; if you find a
> post that's over six months old you might need to think twice.
>
> -Phil

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Phil Hagelberg
On Thu, Feb 11, 2010 at 10:59 AM, Paul  Mooser  wrote:
> I struggle fairly often with keeping clojure/contrib/slime up to date
> on my machine - it seems that every time I update it, something
> fundamental has broken (like build.xml going away in contrib). There
> are a few things that seem to try to make this easier (like clojure-
> mode's install-clojure, or ClojureX) but they also seem unable to keep
> up with the speed of some of the changes that are happening (or, quite
> possibly, I'm using them incorrectly or ineffectively).

M-x install-clojure has been deprecated for quite some time now. If
you work from the swank-clojure readme you should be able to get a
usable setup with no headaches since it doesn't involve compiling code
locally anymore. The CI server at build.clojure.org handles
compilation issues for you, and only the stable versions of the elisp
libraries are present on ELPA since those don't change very much any
more.

http://github.com/technomancy/swank-clojure

If there are problems with the instructions there please bring them up
on the mailing list or file a bug.

> but it's hard for me to
> think that this isn't especially frustrating for new users, who I
> suspect will find that most tutorials or guides to setting up clojure
> with slime (for example) aren't going to work at all.

Outdated documentation is an annoyance for any project. I've kept the
official docs up to date, but there are so many blog posts out there
that point people towards methods that don't work any more; there's
not much that can be done about that. Just pay attention to the
posting date when you are looking for things like this; if you find a
post that's over six months old you might need to think twice.

-Phil

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Michael Wood
On 11 February 2010 21:07, Richard Newman  wrote:
>> What are other people doing to maintain their installations? Is there
>> some simple way to keep all of these projects up to date? Or do people
>> simply not update all of these projects often?
>
> I suck it up. Fortunately I was in the process of switching to Leiningen
> when contrib suddenly moved to Maven, but I can't say I like it -- IMO there
> was nothing wrong with ant for contrib, which has no dependencies!

I must say that I *hate* it when I just want to compile something and
the bloody build system decides to download a bunch of crap.
Especially when it worked fine without all of that before.  And then
it wants to download clojure-something-SNAPSHOT.jar when I have it
compiled locally already!

The recent packaging thread did give me some hope that maybe Maven was
not such a bad idea, but it's yet another thing to learn because I
don't like the defaults of wasting my precious bandwidth and time.

Sorry for the rant :)

-- 
Michael Wood 

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Michał Marczyk
On 11 February 2010 19:59, Paul  Mooser  wrote:
> What are other people doing to maintain their installations? Is there
> some simple way to keep all of these projects up to date? Or do people
> simply not update all of these projects often?

If you don't need to insist on running your own build, you can always
get the latest jars for Clojure and contrib from build.clojure.org.

On 11 February 2010 20:07, Richard Newman  wrote:
> I suck it up. Fortunately I was in the process of switching to Leiningen
> when contrib suddenly moved to Maven, but I can't say I like it -- IMO there
> was nothing wrong with ant for contrib, which has no dependencies!

inc! A hundred times inc!

(Also, it's an *essential feature* of contrib that it doesn't have any
external dependencies -- thus there's no point in using maven for it
*at all*.)

Sincerely,
Michał

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Paul Mooser
I just have a hard time keeping it working when I update. I understand
that being on the bleeding edge is rough, but it's hard for me to
think that this isn't especially frustrating for new users, who I
suspect will find that most tutorials or guides to setting up clojure
with slime (for example) aren't going to work at all.

On Feb 11, 11:07 am, Richard Newman  wrote:
> > What are other people doing to maintain their installations? Is there
> > some simple way to keep all of these projects up to date? Or do people
> > simply not update all of these projects often?
>
> I suck it up. Fortunately I was in the process of switching to  
> Leiningen when contrib suddenly moved to Maven, but I can't say I like  
> it -- IMO there was nothing wrong with ant for contrib, which has no  
> dependencies!
>
> Swank-clojure I have checked out from GitHub, and I rebuild as  
> appropriate when switching between 1.1 and 1.2 (which seem to produce  
> incompatible compiled code).

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


Re: Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Richard Newman

What are other people doing to maintain their installations? Is there
some simple way to keep all of these projects up to date? Or do people
simply not update all of these projects often?


I suck it up. Fortunately I was in the process of switching to  
Leiningen when contrib suddenly moved to Maven, but I can't say I like  
it -- IMO there was nothing wrong with ant for contrib, which has no  
dependencies!


Swank-clojure I have checked out from GitHub, and I rebuild as  
appropriate when switching between 1.1 and 1.2 (which seem to produce  
incompatible compiled code).


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


Simple clojure and contrib install, with SLIME ... ?

2010-02-11 Thread Paul Mooser
I struggle fairly often with keeping clojure/contrib/slime up to date
on my machine - it seems that every time I update it, something
fundamental has broken (like build.xml going away in contrib). There
are a few things that seem to try to make this easier (like clojure-
mode's install-clojure, or ClojureX) but they also seem unable to keep
up with the speed of some of the changes that are happening (or, quite
possibly, I'm using them incorrectly or ineffectively).

What are other people doing to maintain their installations? Is there
some simple way to keep all of these projects up to date? Or do people
simply not update all of these projects often?

Thanks for any help!

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