i haven't set nativepath

it looks like aptitude installed lein 1.7

i downloaded lein2, and it works. thanks so much man! <3

On Tuesday, October 30, 2012 2:38:53 PM UTC-7, AtKaaZ wrote:
>
> How come you got this message?
> *Copying 91 files to /home/mark/gc/src/titan-test-**case/lib*
>
> Did you use a different project.clj which has 
>
> :native-path
>
> ?
> Because it seems it's happening when trying to extract the native deps 
> from a jar into the lib folder in your project.
> I tried adding :native-path "lib"
> but nothing happens (no lib folder gets created)
> Oh wait, are you using lein1 ?
>
> On Tue, Oct 30, 2012 at 9:23 PM, Mark Neyer <mne...@gmail.com<javascript:>
> > wrote:
>
>> i'm trying to get a graph database running on my machine, and when i run 
>> lein deps (after rm -rf  ~/.m2  and $PROJECT_DIR/lib ) i keep seeing this:
>>
>>
>> [INFO] Unable to find resource 'com.sun.xml.bind:jaxb-impl:jar:2.1.12' in 
>> repository ghelmling.testing (http://people.apache.org/~garyh/mvn/)
>> Downloading: com.sun.xml.bind/jars/jaxb-impl-2.1.12.jar from repository 
>> m1.dev.java.net at http://download.java.net/maven/1
>> Transferring 847K from m1.dev.java.net
>> Copying 91 files to /home/mark/gc/src/titan-test-case/lib
>> Exception in thread "main" java.lang.RuntimeException: 
>> java.util.zip.ZipException: error in opening zip file (NO_SOURCE_FILE:0)
>>         at clojure.lang.Compiler.eval(Compiler.java:5441)
>>         at clojure.lang.Compiler.eval(Compiler.java:5392)
>>         at clojure.core$eval.invoke(core.clj:2382)
>>         at clojure.main$eval_opt.invoke(main.clj:235)
>>         at clojure.main$initialize.invoke(main.clj:254)
>>         at clojure.main$script_opt.invoke(main.clj:270)
>>         at clojure.main$main.doInvoke(main.clj:354)
>>         at clojure.lang.RestFn.invoke(RestFn.java:457)
>>         at clojure.lang.Var.invoke(Var.java:377)
>>         at clojure.lang.AFn.applyToHelper(AFn.java:172)
>>         at clojure.lang.Var.applyTo(Var.java:482)
>>         at clojure.main.main(main.java:37)
>> Caused by: java.lang.RuntimeException: java.util.zip.ZipException: error 
>> in opening zip file
>>         at clojure.lang.LazySeq.sval(LazySeq.java:47)
>>         at clojure.lang.LazySeq.seq(LazySeq.java:56)
>>         at clojure.lang.Cons.next(Cons.java:39)
>>         at clojure.lang.RT.next(RT.java:560)
>>         at clojure.core$next.invoke(core.clj:61)
>>         at leiningen.deps$extract_native_deps.invoke(deps.clj:174)
>>         at leiningen.deps$deps.doInvoke(deps.clj:200)
>>         at clojure.lang.RestFn.invoke(RestFn.java:410)
>>         at leiningen.compile$prep.invoke(compile.clj:150)
>>         at leiningen.compile$eval_in_project.doInvoke(compile.clj:207)
>>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>>         at leiningen.compile$compile.invoke(compile.clj:283)
>>         at leiningen.compile$prep$fn__2010.invoke(compile.clj:148)
>>         at leiningen.compile$prep.invoke(compile.clj:147)
>>         at leiningen.compile$eval_in_project.doInvoke(compile.clj:207)
>>         at clojure.lang.RestFn.invoke(RestFn.java:490)
>>         at leiningen.run$run_main.doInvoke(run.clj:26)
>>         at clojure.lang.RestFn.invoke(RestFn.java:425)
>>         at clojure.lang.AFn.applyToHelper(AFn.java:163)
>>         at clojure.lang.RestFn.applyTo(RestFn.java:132)
>>         at clojure.core$apply.invoke(core.clj:544)
>>         at leiningen.run$run.doInvoke(run.clj:57)
>>         at clojure.lang.RestFn.invoke(RestFn.java:410)
>>         at clojure.lang.Var.invoke(Var.java:365)
>>         at clojure.lang.AFn.applyToHelper(AFn.java:161)
>>         at clojure.lang.Var.applyTo(Var.java:482)
>>         at clojure.core$apply.invoke(core.clj:542)
>>         at leiningen.core$apply_task.invoke(core.clj:262)
>>         at leiningen.core$_main.doInvoke(core.clj:329)
>>         at clojure.lang.RestFn.invoke(RestFn.java:410)
>>         at clojure.lang.AFn.applyToHelper(AFn.java:161)
>>         at clojure.lang.RestFn.applyTo(RestFn.java:132)
>>         at clojure.core$apply.invoke(core.clj:542)
>>         at leiningen.core$_main.invoke(core.clj:332)
>>         at user$eval42.invoke(NO_SOURCE_FILE:1)
>>         at clojure.lang.Compiler.eval(Compiler.java:5425)
>>         ... 11 more
>> Caused by: java.util.zip.ZipException: error in opening zip file
>>         at java.util.zip.ZipFile.open(Native Method)
>>         at java.util.zip.ZipFile.<init>(ZipFile.java:214)
>>         at java.util.zip.ZipFile.<init>(ZipFile.java:144)
>>         at java.util.jar.JarFile.<init>(JarFile.java:152)
>>         at java.util.jar.JarFile.<init>(JarFile.java:116)
>>         at sun.reflect.GeneratedConstructorAccessor22.newInstance(Unknown 
>> Source)
>>         at 
>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>>         at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
>>         at clojure.lang.Reflector.invokeConstructor(Reflector.java:160)
>>         at 
>> leiningen.deps$extract_native_deps$fn__2449.invoke(deps.clj:174)
>>         at clojure.core$map$fn__3699.invoke(core.clj:2096)
>>         at clojure.lang.LazySeq.sval(LazySeq.java:42)
>>
>>
>>
>> i saw this same error (trying to unzip a nonexistent file) once before, 
>> and it was caused by the repository giving a redirect. lein the http 
>> redirect response instead of fetching the file from the new location.  i 
>> fixed it then by changing all respositories in project.clj to use https, 
>> but that's doing no good here.
>>
>> here's my project.clj
>>
>>
>> (defproject titan-test-case "0.1.0-SNAPSHOT"
>>   :description "FIXME: write description"
>>   :url "http://example.com/FIXME";
>>   :license {:name "Eclipse Public License"
>>             :url "http://www.eclipse.org/legal/epl-v10.html"}
>>   :main titan-test-case.core
>>   :repositories [["typesafe" "
>> https://repo.typesafe.com/typesafe/snapshots/";]
>>                  ["apache" "
>> https://repository.apache.org/content/repositories/releases/";]]
>>   :dependencies [[org.clojure/clojure "1.4.0"]
>>                  [com.tinkerpop.blueprints/blueprints-core "2.1.0"]
>>                  [com.tinkerpop.gremlin/gremlin-java "2.1.0"]
>>                  [com.thinkaurelius.titan/titan "0.1.0"]
>>                  [org.apache.hbase/hbase "0.94.0"]])
>>
>>
>>
>> if anyone can provide help or direction, i'd be very much obliged. thanks!
>>
>> -- 
>> 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<javascript:>
>> 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 <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/clojure?hl=en
>
>
>
>
> -- 
> I may be wrong or incomplete.
> Please express any corrections / additions,
> they are encouraged and appreciated.
> At least one entity is bound to be transformed if you do ;)
>
>

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

Reply via email to