[android-developers] ant build not detecting changes

2012-02-02 Thread aaron
I've recently updated to the latest android sdk but it's been a while
since I did a build with ant so not sure if that's related.  The issue
that I'm having is the when I change source files it's not building a
new apk.  It looks like the problem is:

-compile:
[javac] Compiling 1 source file to /home/bricea/workspace/
myproject/bin/classes

-post-compile:

-obfuscate:

-dex:
  [dex] No new compiled code. No need to convert bytecode to
dalvik format.

Why is dex not finding the new classes?  I checked and there's .class
files in bin/classes with newer timestamps than the bin/classes.dex
file, what method does the dex step of the build use to determine if
there's new compiled code?  This is happening on multiple projects..

Thanks,
Aaron

-- 
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


Re: [android-developers] ant build not detecting changes

2012-02-02 Thread Kostya Vasilyev

On 02/02/2012 09:11 PM, aaron wrote:

I've recently updated to the latest android sdk but it's been a while
since I did a build with ant so not sure if that's related.  The issue
that I'm having is the when I change source files it's not building a
new apk.  It looks like the problem is:

-compile:
 [javac] Compiling 1 source file to /home/bricea/workspace/
myproject/bin/classes

-post-compile:

-obfuscate:

-dex:
   [dex] No new compiled code. No need to convert bytecode to
dalvik format.

Why is dex not finding the new classes?  I checked and there's .class
files in bin/classes with newer timestamps than the bin/classes.dex
file, what method does the dex step of the build use to determine if
there's new compiled code?  This is happening on multiple projects..

Thanks,
Aaron



Yep, same here, on Linux.

http://code.google.com/p/android/issues/detail?id=22948

Looks like it's scheduled for ADT 17 (?)

-- K

--
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