Bug#647632: leiningen: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath:
On Fri, Nov 4, 2011 at 10:22 AM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: pom Write a pom.xml file to disk for Maven interop. leiningen.push Problem loading: java.io.FileNotFoundException: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath: (push.clj:1) While Leiningen itself does not use Clojure Contrib, many plugins do, and the upstream includes it. Perhaps it should be listed as a regular dependency rather than a Recommended? A workaround is to manually install clojure-contrib for now. -Phil __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#647632: leiningen: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath:
tags 647632 confirmed pending kthxbye On Sat, Nov 05, 2011 at 14:15 -0700, Phil Hagelberg wrote: On Fri, Nov 4, 2011 at 10:22 AM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: pom Write a pom.xml file to disk for Maven interop. leiningen.push Problem loading: java.io.FileNotFoundException: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath: (push.clj:1) While Leiningen itself does not use Clojure Contrib, many plugins do, and the upstream includes it. Perhaps it should be listed as a regular dependency rather than a Recommended? A workaround is to manually install clojure-contrib for now. As far as I can tell it is not, as clojure-contrib also needs to be on the CLASSPATH. That being said, I already fixed that bug and uploaded a new version of leiningen to mentors and hope that it will be sponsored soon. I've attached the corresponding quilt patch to this mail and you can get the updated Debian package with: dget -x http://mentors.debian.net/debian/pool/main/l/leiningen/leiningen_1.6.1.1-2.dsc -- Wolodja babi...@gmail.com 4096R/CAF14EFC 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC signature.asc Description: Digital signature __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Processed: Re: Bug#647632: leiningen: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath:
Processing commands for cont...@bugs.debian.org: tags 647632 confirmed pending Bug #647632 [leiningen] leiningen: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath: Added tag(s) confirmed and pending. kthxbye Stopping processing here. Please contact me if you need assistance. -- 647632: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647632 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#647632: leiningen: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath:
Patch against /usr/bin/lein that fixes the bug if clojure-contrib is installed. -- Wolodja babi...@gmail.com 4096R/CAF14EFC 081C B7CD FF04 2BA9 94EA 36B2 8B7F 7D30 CAF1 4EFC From: Wolodja Wentland babi...@gmail.com Date: Sat, 5 Nov 2011 13:35:57 + Subject: Add clojure-contrib to CLASSPATH This patch fixes #647632 by adding clojure-contrib to leiningen's CLASSPATH. --- bin/lein |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/lein b/bin/lein index 3d1ca7b..93ded4b 100755 --- a/bin/lein +++ b/bin/lein @@ -78,7 +78,7 @@ else SCRIPT=$0 fi -SHARE_JARS=ant ant-launcher classworlds clojure-1.2 \ +SHARE_JARS=ant ant-launcher classworlds clojure-1.2 clojure-contrib-1.2.0 \ lucene-memory maven-ant-tasks maven-artifact maven-artifact-manager \ maven-error-diagnostics maven-model maven-settings maven-project maven-profile \ maven-repository-metadata plexus-container-default-alpha plexus-interpolation \ -- signature.asc Description: Digital signature __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.
Bug#647632: leiningen: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath:
Package: leiningen Version: 1.6.1.1-1 Severity: normal Hi, lein help does not work quite well, it fails for one option: $ lein help [...] pom Write a pom.xml file to disk for Maven interop. leiningen.push Problem loading: java.io.FileNotFoundException: Could not locate clojure/contrib/java_utils__init.class or clojure/contrib/java_utils.clj on classpath: (push.clj:1) replStart a repl session either with the current project or standalone. [...] Thanks -- System Information: Debian Release: 6.0.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash __ This is the maintainer address of Debian's Java team http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers. Please use debian-j...@lists.debian.org for discussions and questions.