Hi,
When using an
annotation processor with Ant + Android, we need to configure the "compile" task so that the processor jar is part of "classpathref". We can't just simply put this processor within the lib folder, because the processor is a compile time lib and not a runtime lib, so we don't want the processor to be part of the APK.
We currently have two ways to do this :
* either copy the "compile" task and add a new path to the project.javac.classpath definition (see
here)
* or backup "project.all.jars.path" value before compile, add a new path to it, and restore its previous value after "compile" (see
here).
Things would be a lot simpler for us if we could extend "project.javac.classpath", either directly, or by having it use a custom empty entry that we can override.
What do you think about this?
I know the future build system will be Gradle, and I can't wait for that to happen. But we will still have to support Ant users...
Cheers,
Py