I’m compiling a sample Android application that makes use of the symja library, which itself uses the following libraries by directly including them in src:
com.google.common.*
edu.js.*
org.apache.commons.math*
org.matheclipse.*
Building this application takes about 1:30 minutes and 2.8 GB of RAM. I think that’s fine with something as complicated as a Computer Algebra System library.
Unfortunately that’s not only the first time.
When I change even just one line of code in one of the few .java files that make up the actual app and not the libraries, I have to wait 1:30 minutes again.
This is the only notification of progress I get during that time:
I checked the file modification dates, and in that time only the .apk and .dex file are updated. What could be making it take that long?
The Eclipse Java builder is incremental (see “Sidebar: the Java Builder” on this page), so it shouldn’t be having to rebuild your entire project every time. Something unusual must be going on if it is indeed recompiling every single file.