i started a thread on build issues a while back, and no longer have 
it available here. i remember a reply from Romain saying that ant 
handled dependencies.

i don't think it does, and i know that javac doesn't do either. 
unless a .java file is itself dirty, it is not recompiled. i just 
tested this and the build process built an apk which crashed on 
startup with a verify error - a nonexistent method being called by an 
out of date .class file.

also, class files built from nonexistent java files are never 
removed, and i've had a few situations where the apk contained 
resources that were in an inconsistent state - and which then crashed 
the runtime.

given the general size of Android applications, i suggest again that 
the process remove all old products before starting to the build. 
currently i always rm -rf bin/* gen/* to make sure, but it shouldn't 
be necessary IMHO.


-- 
jason.software.particle

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to