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 <theinter...@yandex.com>wrote:

> Did you run ./antsetup.sh before trying to build with ant?
>
> 22.05.2013, 05:01, "Alex Fowler" <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 <theinter...@yandex.com>wrote:
>
> Did you download the Android JAR?
> http://www.java2s.com/Code/Jar/a/Downloadandroid32jar.htm
>
> 22.05.2013, 04:52, "Alex Fowler" <alex.murat...@gmail.com>:
> > I'm trying to build this project:
> 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 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.
>
> --
> --
> 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/31zZMy7DNeo/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit 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
> 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.
>
>
>
>  --
> --
> 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 a topic in the
> Google Groups "Clojure" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/clojure/31zZMy7DNeo/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> clojure+unsubscr...@googlegroups.com.
> For more options, visit 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
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