On Monday, March 25, 2013 4:02:40 PM UTC-5, Scott Thoman wrote:
>
> All,
>
> I figured I'd give the leiningen droid plugin a shot now that I've got a 
> few spare moments to mess around with clojure for an android app.  However, 
> when I attempt to bootstrap a new project, I get the following:
> -------------------------------------------------------------
> $ lein --version
> Leiningen 2.1.1 on Java 1.7.0_15 OpenJDK 64-Bit Server VM
>
> $ cat .lein/profiles.clj 
> {:user {:plugins [[lein-pprint "1.1.1"]
>                   [org.clojure/tools.logging "0.2.6"]
>                   [lein-droid "0.1.0-preview2"]]
>         :android {:sdk-path "/opt/android-sdk"}}}
>
> $ jar tvf 
> .m2/repository/lein-droid/lein-droid/0.1.0-preview2/lein-droid-0.1.0-preview2.jar
>  
> | grep xml
>   2436 Sat Mar 09 21:55:52 EST 2013 
> META-INF/maven/lein-droid/lein-droid/pom.xml
>    673 Sat Aug 04 00:06:46 EDT 2012 templates/AndroidManifest.xml
>    114 Sat Aug 04 00:06:46 EDT 2012 templates/strings.xml
>
> $ lein droid new blah org.something.blah
> java.io.FileNotFoundException: templates/AndroidManifest.xml (No such file 
> or directory)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:138)
> at clojure.java.io$fn__8638.invoke(io.clj:233)
> at clojure.java.io$fn__8577$G__8542__8584.invoke(io.clj:73)
> at clojure.java.io$fn__8650.invoke(io.clj:262)
> at clojure.java.io$fn__8577$G__8542__8584.invoke(io.clj:73)
> at clojure.java.io$fn__8612.invoke(io.clj:169)
> at clojure.java.io$fn__8551$G__8546__8558.invoke(io.clj:73)
> at clojure.java.io$reader.doInvoke(io.clj:106)
> at clojure.lang.RestFn.invoke(RestFn.java:410)
> at leiningen.new.templates$slurp_resource.invoke(templates.clj:29)
> at leiningen.droid.new$renderer$fn__921.doInvoke(new.clj:22)
> at clojure.lang.RestFn.invoke(RestFn.java:423)
> at leiningen.droid.new$new.doInvoke(new.clj:81)
> 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:617)
> at leiningen.droid$execute_subtask.invoke(droid.clj:85)
> at leiningen.droid$droid.doInvoke(droid.clj:74)
> ...
> -------------------------------------------------------------
>
> It looks like a simple classpath issue and I'm wondering if something has 
> changed with newer versions of lein and its plugin interaction or 
> something.  I've also verified that the same behavior is present with the 
> two prior droid plugin versions (preview1 and beta2).
>
> I'd like to know if anyone has seen this kind of thing and whether it's 
> just something silly on my end?  If it's not on my end, I'd be glad to poke 
> around and fix something if something does, indeed, need a little fixing - 
> just wanted to see what other knew before I'd dig into that.
>
> Thanks,
> /stt
>

Yeah, this is a Leiningen compatibility issue, broken in 2.1.0-2.1.1, but 
now fixed on lein master. Thanks for bringing it to our attention! We can 
do any further discussion at 
https://github.com/technomancy/leiningen/issues/1102

- Colin

 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to