Hello, I use Maven to build the Clojure/Android port, so I don't know whethter the Ant build instructions work or how to adapt them to Windows. Is there a reason you need to build from source? If not, then using lein-droid or getting the JAR directly from Clojars is probably an easier way to go.
Sincerely, Daniel On Wed May 22 05:25 2013, Kelker Ryan wrote: > What's wrong with the lein-droid plugin? > https://github.com/clojure-android/lein-droid > � > 22.05.2013, 05:21, "Alex Fowler" <alex.murat...@gmail.com>: > > Nope, I am on Windows :D.. I guess I could re-write this one into a > *.bat file... �looking inside the file, however, does not give me a clue > on how it will help me aside from that maybe maven will somehow manage > to reolve the deps... > > On Wed, May 22, 2013 at 12:18 AM, Kelker Ryan > <[1]theinter...@yandex.com> wrote: > > Did you run ./antsetup.sh before trying to build with ant? > � > 22.05.2013, 05:01, "Alex Fowler" <[2]alex.murat...@gmail.com>: > > Nope, the installation instruction in the readme of the project says > nothing about this one (i'm a newb to android development). So if I > download it, where I put it? > > On Tue, May 21, 2013 at 11:59 PM, Kelker Ryan > <[3]theinter...@yandex.com> wrote: > > Did you download the Android JAR? > [4]http://www.java2s.com/Code/Jar/a/Downloadandroid32jar.htm > > 22.05.2013, 04:52, "Alex Fowler" <[5]alex.murat...@gmail.com>: > > I'm trying to build this > project:�[6]https://github.com/clojure-android/clojure�with "ant" > command. It sarts working, but I get this output with errors: > > > > Buildfile: > C:\Users\Admin\Downloads\clojure-android\clojure-android\build.xml > > > > clean: > > � �[delete] Deleting directory > C:\Users\Admin\Downloads\clojure-android\clojure- > > android\target > > > > init: > > � � [mkdir] Created dir: > C:\Users\Admin\Downloads\clojure-android\clojure-androi > > d\target\classes > > � � [mkdir] Created dir: > C:\Users\Admin\Downloads\clojure-android\clojure-androi > > d\target\classes\clojure > > > > compile-java: > > � � [javac] Compiling 483 source files to > C:\Users\Admin\Downloads\clojure-andro > > id\clojure-android\target\classes > > � � [javac] warning: [options] bootstrap class path not set in > conjunction with > > -source 1.5 > > � � [javac] > > C:\Users\Admin\Downloads\clojure-android\clojure-android\src\jvm\clo > > jure\lang\DalvikDynamicClassLoader.java:13: error: package > android.util does not > > �exist > > � � [javac] import android.util.Log; > > � � [javac] � � � � � � � � � �^ > > � � [javac] > > C:\Users\Admin\Downloads\clojure-android\clojure-android\src\jvm\clo > > jure\lang\DalvikDynamicClassLoader.java:17: error: package > dalvik.system does no > > t exist > > � � [javac] import dalvik.system.DexFile; > > � � [javac] � � � � � � � � � � ^ > > � � [javac] > > C:\Users\Admin\Downloads\clojure-android\clojure-android\src\jvm\clo > > jure\lang\DalvikDynamicClassLoader.java:45: error: package > android.os.Build does > > �not exist > > � � [javac] � � DEX_OPTIONS.targetApiLevel = > android.os.Build.VERSION.SDK_INT; > > � � [javac] � � � � � � � � � � � � � � � � � � � � � � � � �^ > > � � [javac] > > C:\Users\Admin\Downloads\clojure-android\clojure-android\src\jvm\clo > > jure\lang\DalvikDynamicClassLoader.java:99: error: cannot find > symbol > > � � [javac] � � � � � � final DexFile inDexFile = > DexFile.loadDex(jarPath, dexPa > > th, 0); > > � � [javac] � � � � � � � � � ^ > > � � [javac] � symbol: � class DexFile > > � � [javac] � location: class DalvikDynamicClassLoader > > � � [javac] > > C:\Users\Admin\Downloads\clojure-android\clojure-android\src\jvm\clo > > jure\lang\DalvikDynamicClassLoader.java:99: error: cannot find > symbol > > � � [javac] � � � � � � final DexFile inDexFile = > DexFile.loadDex(jarPath, dexPa > > th, 0); > > � � [javac] � � � � � � � � � � � � � � � � � � � ^ > > � � [javac] � symbol: � variable DexFile > > � � [javac] � location: class DalvikDynamicClassLoader > > � � [javac] > > C:\Users\Admin\Downloads\clojure-android\clojure-android\src\jvm\clo > > jure\lang\DalvikDynamicClassLoader.java:104: error: cannot find > symbol > > � � [javac] � � � � � � � � Log.e(TAG,"Failed to load generated > class: "+name); > > � � [javac] � � � � � � � � ^ > > � � [javac] � symbol: � variable Log > > � � [javac] � location: class DalvikDynamicClassLoader > > � � [javac] > > C:\Users\Admin\Downloads\clojure-android\clojure-android\src\jvm\clo > > jure\lang\DalvikDynamicClassLoader.java:110: error: cannot find > symbol > > � � [javac] � � � � � � Log.e(TAG,"Failed to define class due to > I/O exception." > > ,e); > > � � [javac] � � � � � � ^ > > � � [javac] � symbol: � variable Log > > � � [javac] � location: class DalvikDynamicClassLoader > > � � [javac] Note: Some input files use unchecked or unsafe > operations. > > � � [javac] Note: Recompile with -Xlint:unchecked for details. > > � � [javac] 7 errors > > � � [javac] 1 warning > > > > BUILD FAILED > > > > C:\Users\Admin\Downloads\clojure-android\clojure-android\build.xml:41: > Compile f > > ailed; see the compiler error output for details. > > > > Total time: 2 seconds > > > > My questions are: > > 1) How can I resolve this dependency issue? > > 2) If I compile like that, can I run it on Android? > > > > -- > > -- > > You received this message because you are subscribed to the > Google > > Groups "Clojure" group. > > To post to this group, send email to [7]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 > > [8]clojure+unsubscr...@googlegroups.com > > For more options, visit this group at > > [9]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 [10]clojure+unsubscr...@googlegroups.com. > > For more options, visit > [11]https://groups.google.com/groups/opt_out. > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [12]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 > [13]clojure+unsubscr...@googlegroups.com > For more options, visit this group at > [14]http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to a topic in > the Google Groups "Clojure" group. > To unsubscribe from this topic, visit > > [15]https://groups.google.com/d/topic/clojure/31zZMy7DNeo/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email > to [16]clojure+unsubscr...@googlegroups.com. > For more options, visit > [17]https://groups.google.com/groups/opt_out. > > � > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [18]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 > [19]clojure+unsubscr...@googlegroups.com > For more options, visit this group at > [20]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 [21]clojure+unsubscr...@googlegroups.com. > For more options, visit > [22]https://groups.google.com/groups/opt_out. > � > � > > � > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [23]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 > [24]clojure+unsubscr...@googlegroups.com > For more options, visit this group at > [25]http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to a topic in the > Google Groups "Clojure" group. > To unsubscribe from this topic, visit > > [26]https://groups.google.com/d/topic/clojure/31zZMy7DNeo/unsubscribe?hl=en. > To unsubscribe from this group and all its topics, send an email to > [27]clojure+unsubscr...@googlegroups.com. > For more options, visit [28]https://groups.google.com/groups/opt_out. > � > � > > � > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to [29]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 > [30]clojure+unsubscr...@googlegroups.com > For more options, visit this group at > [31]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 [32]clojure+unsubscr...@googlegroups.com. > For more options, visit [33]https://groups.google.com/groups/opt_out. > � > � > > -- > -- > 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 > [34]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 [35]https://groups.google.com/groups/opt_out. > > > > References > > Visible links > 1. mailto:theinter...@yandex.com > 2. mailto:alex.murat...@gmail.com > 3. mailto:theinter...@yandex.com > 4. http://www.java2s.com/Code/Jar/a/Downloadandroid32jar.htm > 5. mailto:alex.murat...@gmail.com > 6. https://github.com/clojure-android/clojure > 7. mailto:clojure@googlegroups.com > 8. mailto:clojure%2bunsubscr...@googlegroups.com > 9. http://groups.google.com/group/clojure?hl=en > 10. mailto:clojure%2bunsubscr...@googlegroups.com > 11. https://groups.google.com/groups/opt_out > 12. mailto:clojure@googlegroups.com > 13. mailto:clojure%2bunsubscr...@googlegroups.com > 14. http://groups.google.com/group/clojure?hl=en > 15. https://groups.google.com/d/topic/clojure/31zZMy7DNeo/unsubscribe?hl=en > 16. mailto:clojure%2bunsubscr...@googlegroups.com > 17. https://groups.google.com/groups/opt_out > 18. mailto:clojure@googlegroups.com > 19. mailto:clojure+unsubscr...@googlegroups.com > 20. http://groups.google.com/group/clojure?hl=en > 21. mailto:clojure+unsubscr...@googlegroups.com > 22. https://groups.google.com/groups/opt_out > 23. mailto:clojure@googlegroups.com > 24. mailto:clojure%2bunsubscr...@googlegroups.com > 25. http://groups.google.com/group/clojure?hl=en > 26. https://groups.google.com/d/topic/clojure/31zZMy7DNeo/unsubscribe?hl=en > 27. mailto:clojure%2bunsubscr...@googlegroups.com > 28. https://groups.google.com/groups/opt_out > 29. mailto:clojure@googlegroups.com > 30. mailto:clojure+unsubscr...@googlegroups.com > 31. http://groups.google.com/group/clojure?hl=en > 32. mailto:clojure+unsubscr...@googlegroups.com > 33. https://groups.google.com/groups/opt_out > 34. http://groups.google.com/group/clojure?hl=en > 35. https://groups.google.com/groups/opt_out
signature.asc
Description: Digital signature