http://build.clojure.org/snapshots/org/clojure/contrib/
i.e.
http://build.clojure.org/snapshots/org/clojure/contrib/MODULE/VERSION
The old monolithic clojure-contrib.jar is now
org.clojure.contrib/complete.jar you can find snapshot builds of it
here:
http://build.clojure.org/snapshots/org/clojure/contrib/complete/1.3.0-SNAPSHOT/
hth,
Ben
> --
> 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
Important detail: the one you want is the jar-with-dependencies variant.
Note: this jar contains not only all modules of clojure-contrib, but
also a complete copy of clojure 1.2.0.
I don't know if that's the intention. I could write a patch that
generates a 'complete' variant without clojure 1.2.0, if anyone's
interested.
A git-based version of the system would be much
more useful (I know, I'm living in a backwater
country without proper internet but...).
Disk space is cheap. I have a 2T external drive.
Bandwith is not cheap and my time, at least to me,
is very expensive. I'd like to just do a git clone
of Clojure and be able to work anywhere.
Mavens use of http takes me all the way back to a
CVS/SVN situation where there are certain operations
I cannot do unless I'm connected. It's the late 90s
and this shouldn't be a blocking issue anymore.
Can I git-clone Maven so it will reach for a local repo?
Can I git-clone Clojure with a standalone build system?
Tim Daly
This smells a little like the problem we had when the amateurs at my
$JOB installed a company-wide proxy, which cheerfully responded to
attempts to GET inaccessible URLs, not with a 404, but with a
successful status code an an HTML page explaining that the resource
was not available. (Obviously this was configured by morons laboring
under the delusion that the only clients of the HTTP protocol are
humans sitting in front of IE6.) In any event, maven responded by
storing the bytes it was so given as a *.jar file in its repository
(though of course, it was no jar file.) Failed builds and much
hilarity ensued.
I've found two techniques useful in mitigating maven's hunger for an
omnipresent Internet connection.
(1) When I'm *really* not on the net, I tell maven that by calling it
in offline mode. This will only help if the dependencies required by
the build are already cached in the local ~/.m2/repository.
mvn -o
(2) I run a maven repository manager. Think of it as a caching proxy
for maven dependencies. I use the open source edition of Sonatype's
Nexus because it's dead-easy to get running.
At $JOB we have such a Nexus instance. I also have one at home running
on my server (a greying 1 GHz titanium PowerBook). I keep
~/.m2/settings.xml under version control with git, so it's easy enough
to 'cd ~/.m2 ; git checkout home' when I get home.
At home and at work, settings.xml is configured to route *all* maven
downloads through the appropriate nexus instance. I also keep a branch
around for when I'm truly out in the world without access to either of
the repository managers: 'git checkout nonexus'.
Having something like nexus around is nice because I do find it
occasionally useful to blow away ~/.m2/repository. It's nice not to
have to download everything from maven central all over again.
Though I do not currently do so, there's no reason why you couldn't
run a nexus on localhost. Bringing two laptops to the Cafe would seem
a tad excessive, after all. ;-)
I've set up a few Nexus instances and been fighting with Maven for
nearly five years now. I'll gladly share what experience I to help you
get things set up.
// Ben
One helpful tip though, is: mvn dependency:go-offline
That will download everything you need to build the current project,
including all dependencies.
I use an instance on my laptop to pull what I need from our central location
and keep it in cache.
Luc P.
Tim Daly <da...@axiom-developer.org> wrote ..
> *** For clojure-contrib developers:
>
> Each library has its own directory under the "modules" directory at
> the top level of clojure-contrib. Each module directory contains a
> pom.xml file specifying the name, version number, and dependencies of
> that library.
I used to run the whole contrib library from source code, by putting
the source code directory on my classpath. It seems that now I need a
gigantic class path to do that. Is there any way around that?
Or is there any simple way to make a jar containing only the source
code files?
My goal is to be able to run either Clojure 1.2 or the current master
branch, with exactly the same code for clojure-contrib, without
constantly compiling and installing stuff.
Konrad.
I think the problem is that the "complete" pom needs to have
<packaging>pom</packaging> to indicate there's not an important jar
file to download.
-- Aaron
Having built contrib against clojure 1.2.0 (see my note in another
thread), I can get individual module dependencies to work in lein like
this:
> :dependencies [ ... [org.clojure.contrib/macro-utils "1.3.0-
> SNAPSHOT"] ...]
However, I can't get the all / complete dependency to work:
> If you want to use ALL contrib libraries, add a dependency on group
> "org.clojure.contrib", artifact "complete", version "1.3.0-SNAPSHOT".
> This meta-library depends on all other contrib libraries.
This doesn't work:
:dependencies [[org.clojure/clojure "1.3.0-master-SNAPSHOT"]
[org.clojure.contrib/complete "1.3.0-SNAPSHOT"]]
I've tried a few other dependencies based on what seems to be in my
local maven repo (caveat: I don't know maven), and couldn't find
anything that works.
Everything seems to be 1.3.1-SNAPSHOT but
[org.clojure.contrib/complete "1.3.1-SNAPSHOT"] doesn't work either.
Suggestions?
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/
"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood
> --
> 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
--
Sean A Corfield -- (904) 302-SEAN
Railo Technologies, Inc. -- http://getrailo.com/
An Architect's View -- http://corfield.org/