<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting Up An Android Project Build</title>
	<atom:link href="http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/</link>
	<description>A man needs a little madness, or else he never dares cut the rope and be free. -Nikos Kazantzakis</description>
	<lastBuildDate>Fri, 03 Feb 2012 00:04:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Blah McBlah</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-401127</link>
		<dc:creator>Blah McBlah</dc:creator>
		<pubDate>Sun, 18 Sep 2011 22:11:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-401127</guid>
		<description>Google&#039;s docs [1] explicitly encourage you to nest the test project into the main project, but AFAICS that&#039;s not even officially supported by eclipse [2][3].   And EGit advises you not to use an eclipse project as the root of the git repository. So personally, right now I&#039;m trying a setup like.

blah/
blah/.git 
blah/Blah/
blah/Blah/AndroidManifest.xml
... etc.
blah/BlahTest/
blah/BlahTest/AndroidManifest.xml
... etc.

[1] http://developer.android.com/guide/developing/testing/testing_eclipse.html

[2] http://wiki.eclipse.org
/Top_Ten_Architectural_Problems_in_all_of_Eclipse

[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=35973</description>
		<content:encoded><![CDATA[<p>Google&#8217;s docs [1] explicitly encourage you to nest the test project into the main project, but AFAICS that&#8217;s not even officially supported by eclipse [2][3].   And EGit advises you not to use an eclipse project as the root of the git repository. So personally, right now I&#8217;m trying a setup like.</p>
<p>blah/<br />
blah/.git<br />
blah/Blah/<br />
blah/Blah/AndroidManifest.xml<br />
&#8230; etc.<br />
blah/BlahTest/<br />
blah/BlahTest/AndroidManifest.xml<br />
&#8230; etc.</p>
<p>[1] <a href="http://developer.android.com/guide/developing/testing/testing_eclipse.html" rel="nofollow">http://developer.android.com/guide/developing/testing/testing_eclipse.html</a></p>
<p>[2] <a href="http://wiki.eclipse.org" rel="nofollow">http://wiki.eclipse.org</a><br />
/Top_Ten_Architectural_Problems_in_all_of_Eclipse</p>
<p>[3] <a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=35973" rel="nofollow">https://bugs.eclipse.org/bugs/show_bug.cgi?id=35973</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Wald</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-310824</link>
		<dc:creator>James Wald</dc:creator>
		<pubDate>Sun, 27 Mar 2011 21:13:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-310824</guid>
		<description>Thanks so much for this guide.  While I had a bunch of hiccups along the way, I eventually got through it successfully.  As far as your footnote:

&quot;1 For reasons unknown to me, when my projects were first created they had build errors. A clean rebuild magically fixed the problem.&quot;

This is caused by the ADT eclipse plugin not generating the gen source directory or R.java when they are missing or out of date.  Sometimes a clean will cause ADT to kick in on the next build, but more often than not it won&#039;t.  Doing a clean then restarting eclipse is the best way to get the build to work again.  I hope Google addresses this in an upcoming version of the ADT plugin.

And that ant bug is still a bug in the version of ant that I have, thanks for providing the link to that bug report and workaround!

One more note... you mention to include .settings in source control, unfortunately my .settings is an empty directory and I use Mercurial which only tracks files.  I&#039;ve been using MakeEmptyDirs to add placeholders inside empty directories so I can retain directory structures in my repository.  After following this guide I had to run the tool again to pick up 3 new empty directories: .settings, libs, and test/libs

Thanks again.</description>
		<content:encoded><![CDATA[<p>Thanks so much for this guide.  While I had a bunch of hiccups along the way, I eventually got through it successfully.  As far as your footnote:</p>
<p>&#8220;1 For reasons unknown to me, when my projects were first created they had build errors. A clean rebuild magically fixed the problem.&#8221;</p>
<p>This is caused by the ADT eclipse plugin not generating the gen source directory or R.java when they are missing or out of date.  Sometimes a clean will cause ADT to kick in on the next build, but more often than not it won&#8217;t.  Doing a clean then restarting eclipse is the best way to get the build to work again.  I hope Google addresses this in an upcoming version of the ADT plugin.</p>
<p>And that ant bug is still a bug in the version of ant that I have, thanks for providing the link to that bug report and workaround!</p>
<p>One more note&#8230; you mention to include .settings in source control, unfortunately my .settings is an empty directory and I use Mercurial which only tracks files.  I&#8217;ve been using MakeEmptyDirs to add placeholders inside empty directories so I can retain directory structures in my repository.  After following this guide I had to run the tool again to pick up 3 new empty directories: .settings, libs, and test/libs</p>
<p>Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rebecca</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-297045</link>
		<dc:creator>Rebecca</dc:creator>
		<pubDate>Sat, 19 Feb 2011 03:36:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-297045</guid>
		<description>Thanks for the tips! I was starting a project with someone and they had started it in Eclipse (ew) but I needed to build via command line. I&#039;m glad all I needed was &#039;android update project&#039;!</description>
		<content:encoded><![CDATA[<p>Thanks for the tips! I was starting a project with someone and they had started it in Eclipse (ew) but I needed to build via command line. I&#8217;m glad all I needed was &#8216;android update project&#8217;!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogging Round the World &#124; Android Türkiye</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-233196</link>
		<dc:creator>Blogging Round the World &#124; Android Türkiye</dc:creator>
		<pubDate>Thu, 12 Aug 2010 20:55:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-233196</guid>
		<description>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</description>
		<content:encoded><![CDATA[<p>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogging Round the World &#124; Android Based Phones</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-231358</link>
		<dc:creator>Blogging Round the World &#124; Android Based Phones</dc:creator>
		<pubDate>Thu, 05 Aug 2010 13:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-231358</guid>
		<description>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</description>
		<content:encoded><![CDATA[<p>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogging Round the World &#124; Mobile Compatible</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-225355</link>
		<dc:creator>Blogging Round the World &#124; Mobile Compatible</dc:creator>
		<pubDate>Fri, 09 Jul 2010 06:07:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-225355</guid>
		<description>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</description>
		<content:encoded><![CDATA[<p>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Android Solutions &#187; Blogging Round the World</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-223863</link>
		<dc:creator>Android Solutions &#187; Blogging Round the World</dc:creator>
		<pubDate>Thu, 01 Jul 2010 09:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-223863</guid>
		<description>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</description>
		<content:encoded><![CDATA[<p>[...] and Jason Sankey from Sydney run the Android-dense a little madness, and lay the rules out in Setting Up An Android Project Build. Lots of steps; but very handy for a command-line guy like [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-223831</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Thu, 01 Jul 2010 04:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-223831</guid>
		<description>Hi k5rud,

No, you don&#039;t want to put the .metadata directory under version control.  It contains a bunch of state information for your Eclipse workspace, which is changing all the time.

Just check in .classpath and .project, and when setting up the project on the new machine use File &gt; Import ... &gt; General &gt; Existing Project Into Workspace.</description>
		<content:encoded><![CDATA[<p>Hi k5rud,</p>
<p>No, you don&#8217;t want to put the .metadata directory under version control.  It contains a bunch of state information for your Eclipse workspace, which is changing all the time.</p>
<p>Just check in .classpath and .project, and when setting up the project on the new machine use File &gt; Import &#8230; &gt; General &gt; Existing Project Into Workspace.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: k5rud</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-223783</link>
		<dc:creator>k5rud</dc:creator>
		<pubDate>Wed, 30 Jun 2010 21:15:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-223783</guid>
		<description>Mind helping out a somewhat new Eclipse / Jave / Android user with a question?

When putting the Project directory under version control should the Eclipse .metadata directory be VC&#039;d? 

One of my concerns is switching between my desktop and laptop machines for development. I don&#039;t want files VC&#039;d that will confuse the setup between the systems.</description>
		<content:encoded><![CDATA[<p>Mind helping out a somewhat new Eclipse / Jave / Android user with a question?</p>
<p>When putting the Project directory under version control should the Eclipse .metadata directory be VC&#8217;d? </p>
<p>One of my concerns is switching between my desktop and laptop machines for development. I don&#8217;t want files VC&#8217;d that will confuse the setup between the systems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogging Round the World &#124; teknology</title>
		<link>http://www.alittlemadness.com/2010/05/31/setting-up-an-android-project-build/comment-page-1/#comment-222441</link>
		<dc:creator>Blogging Round the World &#124; teknology</dc:creator>
		<pubDate>Mon, 21 Jun 2010 23:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.alittlemadness.com/?p=523#comment-222441</guid>
		<description>[...] Andr&amp;#111&amp;#105d-dense a &amp;#108itt&amp;#108&amp;#101 madn&amp;#101ss, and la&amp;#121 &amp;#116he rules ou&amp;#116 in Sett&amp;#105ng U&amp;#112 An Andro&amp;#105d Project &amp;#66u&amp;#105ld. &amp;#76ots of steps; but ve&amp;#114y h&amp;#97ndy fo&amp;#114 &amp;#97 comm&amp;#97nd-&amp;#108ine guy &amp;#108ike [...]</description>
		<content:encoded><![CDATA[<p>[...] Andr&amp;#111&amp;#105d-dense a &amp;#108itt&amp;#108&amp;#101 madn&amp;#101ss, and la&amp;#121 &amp;#116he rules ou&amp;#116 in Sett&amp;#105ng U&amp;#112 An Andro&amp;#105d Project &amp;#66u&amp;#105ld. &amp;#76ots of steps; but ve&amp;#114y h&amp;#97ndy fo&amp;#114 &amp;#97 comm&amp;#97nd-&amp;#108ine guy &amp;#108ike [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

