Hmmm, strange indeed then. If possible, maybe you can copy & paste the contents of .claspath file. And run your ANT with "ant -diagnostics" and "ant -d", paste the info here too. Maybe it will contain the information needed to identify the problem.
On Mar 17, 2:22 pm, Amy Winarske <amy.winar...@gmail.com> wrote: > Yes, they are in the libs directory. > > On Mar 16, 6:24 pm, Makas Tzavellas <makas.tzavel...@gmail.com> wrote: > > > Do you have the jar files that the project is dependent on in the > > "libs" folder in your Android project folder? > > > If not, it might explain why it works in Eclipse since it can > > reference jar files from other locations but fails with ANT build > > since it is not found in the libs folder. > > > Makas > > > On Mar 16, 5:37 am, Amy Winarske <amy.winar...@gmail.com> wrote: > > > > The Eclipse build for my 1.6 application project is succeeding and the > > > Ant build is failing. I'm looking for help on why they aren't > > > behaving the same way. > > > > We are developing on Mac OSX 10.5.8 with Eclipse 3.5 against SDK 1.6 + > > > Google APIs. There are no setting changes in Eclipse, either at > > > workspace or project level. Similarly, our ant is also a vanilla- > > > flavored unmodified installation of 1.7.1. JDK is 1.5.0_22. The > > > CLASSPATH environment variable is not set. JAVA_HOME is /Library/Java/ > > > Home > > > > The application was initially created by a team member using the > > > Eclipse plugins. The application references two jar files, one of > > > which has a dependency on javax.xml.bind.annotation.XmlSeeAlso, which > > > is not defined anywhere in our code or in android.jar. The other jar > > > file has an explicit dependency on android.jar. I generated the Ant > > > build file using android update. > > > > The Eclipse project builds an apk and runs the application in the > > > emulator. I think this is incorrect behavior. > > > > The Android project fails to build. I think this is correct behavior. > > > MyClass.java:98: cannot access javax.xml.bind.annotation.XmlSeeAlso > > > [javac] file javax/xml/bind/annotation/XmlSeeAlso.class not found > > > > Any ideas as to why the two build methods are behaving differently? I > > > would expect them both to fail. > > > > Thanks! > > > > -Amy > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en