[android-developers] Re: ant and eclipse builds don't play nice

2009-07-21 Thread Brett Chabot
The recommended way to do this in Eclipse is to have a separate project which contains all your test code. If you add the main project to the test project's class path, you can still access all of the main project's classes from your test classes. Plus, if you run your tests using the Eclipse

[android-developers] Re: ant and eclipse builds don't play nice

2009-07-20 Thread MrSqueezles
I know I'm resurrecting an old thread, but I'm having the same problem. I don't know anyone that uses the same type of build for development, testing and release. I usually develop in Eclipse and have Ant targets that build a project for release without test cases, resources and libraries. If

[android-developers] Re: ant and eclipse builds don't play nice

2009-05-27 Thread Craig
On Wed, May 27, 2009 at 2:36 PM, Raphael r...@android.com wrote: On Tue, May 26, 2009 at 6:26 PM, Craig supkic...@gmail.com wrote: On May 26, 9:49 pm, Zero zeroo...@googlemail.com wrote: from my experience, eclipse never used the build.xml for it's internal builds - how did you do that ?

[android-developers] Re: ant and eclipse builds don't play nice

2009-05-27 Thread Raphael
That's kind of an unexpected workflow. The idea is that either you go the full way in Eclipse or you use Ant/DDMS. Trying to combine both is a recipe for confusion :-) What you can try: - use Ant to compile - use the ant install or reinstall target to push the apk - launch app manually - you can

[android-developers] Re: ant and eclipse builds don't play nice

2009-05-26 Thread Zero
from my experience, eclipse never used the build.xml for it's internal builds - how did you do that ? you can omit the android_rules file if you paste the needed targets into your build file (or if you had them working in an older version) then afaik just a few additions are needed (see below)

[android-developers] Re: ant and eclipse builds don't play nice

2009-05-26 Thread Craig
On May 26, 9:49 pm, Zero zeroo...@googlemail.com wrote: from my experience, eclipse never used the build.xml for it's internal builds - how did you do that ? The eclipse build doesn't use build.xml at all, but due to the fact that build.xml is in the eclipse project (because it is in the same

[android-developers] Re: ant and eclipse builds don't play nice

2009-05-26 Thread Raphael
On Tue, May 26, 2009 at 6:26 PM, Craig supkic...@gmail.com wrote: On May 26, 9:49 pm, Zero zeroo...@googlemail.com wrote: from my experience, eclipse never used the build.xml for it's internal builds - how did you do that ? The eclipse build doesn't use build.xml at all, but due to the