Ah indeed that was the problem. Thx, Arie 2011/7/21 Matjaz Gregoric <[email protected]>
> It seems like the version in lein.bat is set to 1.6.1-SNAPSHOT instead of > just 1.6.1. > The line in the lein.bat file should say > > set LEIN_VERSION=1.6.1 > > instead of > > set LEIN_VERSION=1.6.1-SNAPSHOT > > > Matjaz > > > > > On Thu, Jul 21, 2011 at 4:49 PM, Arie van Wingerden <[email protected]>wrote: > >> Hi Matjaz, >> >> that is what i did in the first place; however, i deleted the 1.6.1 jar >> (which was present), downloaded the new lein.bat 2.0.0, changed that tot >> 1.6.1. and now get this: >> >> D:\src\Clojure\test2>lein self-install >> Downloading Leiningen now... >> % Total % Received % Xferd Average Speed Time Time Time >> Current >> Dload Upload Total Spent Left >> Speed >> 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 >> --:--:-- 0 >> curl: (22) The requested URL returned error: 404 >> >> Failed to download >> https://github.com/downloads/technomancy/leiningen/leiningen- >> 1.6.1-SNAPSHOT-standalone.jar >> See README.md for SNAPSHOT build instructions. >> >> Thx so far, >> Arie >> >> >> 2011/7/21 Matjaz Gregoric <[email protected]> >> >>> Could you try using the master version of lein.bat? There have been a >>> couple of patches applied since 1.6.1 that might help with your issue. >>> >>> You can get the latest version here: >>> https://raw.github.com/technomancy/leiningen/master/bin/lein.bat >>> >>> Make sure to change the version number to 1.6.1 before running it. >>> Replace: >>> >>> set LEIN_VERSION=2.0.0-SNAPSHOT >>> >>> with >>> >>> set LEIN_VERSION=1.6.1 >>> >>> Let us know how it went, >>> Matjaz >>> >>> >>> >>> On Wed, Jul 20, 2011 at 2:02 PM, Arie van Wingerden >>> <[email protected]>wrote: >>> >>>> Hi, >>>> >>>> the self-install worked ok, and I checked that the jar is present in: >>>> C:\Documents and >>>> Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standalone.jar >>>> >>>> But the "lein deps" for a project gets stuck: >>>> >>>> D:\src\Clojure\test2>lein deps >>>> Exception in thread "main" java.lang.NoClassDefFoundError: >>>> Files\Java\jre6\lib\e >>>> xt\QTJava/zip;";;test;src;C:\Documents and >>>> Settings\Administrator\/lein\self-ins >>>> talls\leiningen-1/6/1-standalone/jar >>>> Caused by: java.lang.ClassNotFoundException: >>>> Files\Java\jre6\lib\ext\QTJava.zip; >>>> ";;test;src;C:\Documents and >>>> Settings\Administrator\.lein\self-installs\leininge >>>> n-1.6.1-standalone.jar >>>> at java.net.URLClassLoader$1.run(Unknown Source) >>>> at java.security.AccessController.doPrivileged(Native Method) >>>> at java.net.URLClassLoader.findClass(Unknown Source) >>>> at java.lang.ClassLoader.loadClass(Unknown Source) >>>> at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) >>>> at java.lang.ClassLoader.loadClass(Unknown Source) >>>> Could not find the main class: >>>> Files\Java\jre6\lib\ext\QTJava.zip;";;test;src;C: >>>> \Documents and >>>> Settings\Administrator\.lein\self-installs\leiningen-1.6.1-standa >>>> lone.jar. Program will exit. >>>> >>>> It seems the classpath is not being constructed correctly; instead of >>>> dots there are slashes and also a mix of back- and forward slashes. >>>> >>>> Before the invocation of lein the classpath is: >>>> CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip >>>> >>>> Any ideas what is (or what I am doing) wrong? >>>> >>>> Thx, >>>> Arie >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Clojure" group. >>>> To post to this group, send email to [email protected] >>>> Note that posts from new members are moderated - please be patient with >>>> your first post. >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> 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 post to this group, send email to [email protected] >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> [email protected] >>> 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 post to this group, send email to [email protected] >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> [email protected] >> 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 post to this group, send email to [email protected] > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > [email protected] > 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 post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
