Android Test Project-ADT0.93-0.94

Posted: November 13, 2009 in Android, Java, Mobile
Tags: ,

As you know one of the changes to ADT as far as ADT 0.93 and 0.94 was that the Android Test Project would get its own project folder in the Eclipse workspace. Here is how I handle it in ANT build scripts in the output-directories section of the build script:

		<equals arg1="${test-project}" arg2="${project-name}">
			<property name="main-out-folder" value="${test-project-location}/${out-folder}">

			<property name="main-out-folder" value="../${out-folder}">


	<property name="main-out-classes" value="${main-out-folder}/classes">

test-project and test-project-location get defined in the file. The ant task library you wil be using to enable the if task is ant-contrib.


Reblog this post [with Zemanta]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s