I'm developing an open source Android app. I'd like to use multiple development platforms. The first is my Gentoo box, where I use ant
and emacs
for development (because I've used emacs
for years and Gentoo currently lacks support for a version of Eclipse new enough to support ADT). The other is AIDE on my Android tablet.
The main problem I'm having at the moment is related to my use of ActionBarSherlock as a library project. Naturally, the location of the library project is different on the Gentoo box and on the tablet. And if anyone ever clones the repository, I'd like to make it as easy as possible for them to get things set up.
Now, it seems to me that this is the same sort of problem that is solved by setting sdk.dir
in the local.properties
file. So my first thought was to add an abs.dir=<path to ActionBarSherlock>
setting in local.properties
which I then reference in project.properties
. Doing that works fine with ant
on the Gentoo box.
However, it doesn't seem to work with AIDE on the tablet. Since local.properties
is not checked into the git repo, I created a new one on the tablet with abs.dir
pointed to the tablet location of ActionBarSherlock. But AIDE doesn't seem to be using it (even though it's referenced in the build.xml
file). I know how to set up AIDE to use the library project, but that modifies project.properties
(which IS checked into the git repo) to have the full path to the tablet loction of ABS, which is definitely not what I want (I certainly don't want to have to update that file every time I switch between the tablet and the Gentoo box).
So is there a way to set things up to build in both ant
and Eclipse / AIDE while only needing to modify a single setting between the systems? Or will I need to update my project's README to include a detailed list of instructions about how to set things up?