Android Eclipse test projects cannot be used with a project being built in an Android build tree
Posted
by orospakr
on Stack Overflow
See other posts from Stack Overflow
or by orospakr
Published on 2010-03-24T19:45:17Z
Indexed on
2010/03/25
5:13 UTC
Read the original article
Hit count: 393
An Android Java project placed in a git repository and built in an Android tree in /packages/apps
needs to have the project files located at the root of the git repository.
This is problematic for creating a complementary Test project, which should ideally be included in the same git repository so commits are atomic for both code and tests. Eclipse gets very unhappy if you include the Test project as a subdirectory.
Is there an appropriate approach for dealing with this other than creating a second repository?
© Stack Overflow or respective owner