[android-developers] Android library project with non-default bin directory

2013-02-23 Thread Latimerius
Hello, I posted this on SO the day before yesterday (*) but since there have been no replies posting here, too: I have an Android project which uses an Android library project as a dependency. Building it with ant works fine, I'd just like to have the library project use a different bin director

Re: [android-developers] Android library project with non-default bin directory

2013-02-23 Thread Kostya Vasilyev
I've done this -- keeping ant builds completely separate from Eclipse's -- by hacking on the project's and the SDK's build.xml files. Not an ant expert either (last I used was some ten years ago), but it wasn't too difficult either. The modification that deals with library references (in the appl

Re: [android-developers] Android library project with non-default bin directory

2013-02-23 Thread Latimerius
Thanks a lot for your suggestion, it seems to work. I've put it in custom_rules.xml. I had to wrap it in element as per this post http://stackoverflow.com/questions/8528373/android-custom-build-using-ant which results in a "Duplicated project name in import" warning. It nevertheless seems to