<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Akash Kava &#187; Eclipse</title>
	<atom:link href="http://akashkava.com/blog/tag/eclipse/feed/" rel="self" type="application/rss+xml" />
	<link>http://akashkava.com/blog</link>
	<description>Founder of NeuroSpeech</description>
	<lastBuildDate>Tue, 10 Apr 2012 18:00:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Dynamic Code Generation in Eclipse/Flash Builder with TFS 2010</title>
		<link>http://akashkava.com/blog/282/dynamic-code-generation-in-eclipseflash-builder-with-tfs-2010/</link>
		<comments>http://akashkava.com/blog/282/dynamic-code-generation-in-eclipseflash-builder-with-tfs-2010/#comments</comments>
		<pubDate>Sat, 15 May 2010 15:38:00 +0000</pubDate>
		<dc:creator>Akash Kava</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[Eclipse]]></category>
		<category><![CDATA[Flash Builder]]></category>
		<category><![CDATA[Team Foundation System]]></category>
		<category><![CDATA[TFS]]></category>
		<category><![CDATA[Visual Studio]]></category>

		<guid isPermaLink="false">http://akashkava.com/blog/282/dynamic-code-generation-in-eclipseflash-builder-with-tfs-2010/</guid>
		<description><![CDATA[Eclipse based IDEs such as Flash Builders have problem with generated source code with TFS 2010 (Visual Studio Team Foundation 2010 Everywhere), and here is the workaround to solve this problem. Problem Definition Eclipse monitors file system changes and automatically adds all generated files in the Team Foundation Server. Now TFS Everywhere for Eclipse does [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; width: 42px; padding-right: 10px; margin: 0 0 0 10px;">
		<script type="text/javascript">
		<!--
		digg_url = "http://akashkava.com/blog/282/dynamic-code-generation-in-eclipseflash-builder-with-tfs-2010/";
		digg_bgcolor = "";
		digg_skin = "";
		digg_window = "";
		digg_title = "Dynamic+Code+Generation+in+Eclipse%2FFlash+Builder+with+TFS+2010";
		digg_media = "";
		digg_topic = "";
		digg_bodytext = "";
		//-->
		</script>
		<script src="http://digg.com/tools/diggthis.js" type="text/javascript"></script></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fakashkava.com%2Fblog%2F282%2Fdynamic-code-generation-in-eclipseflash-builder-with-tfs-2010%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fakashkava.com%2Fblog%2F282%2Fdynamic-code-generation-in-eclipseflash-builder-with-tfs-2010%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Eclipse based IDEs such as Flash Builders have problem with generated source code with TFS 2010 (Visual Studio Team Foundation 2010 Everywhere), and here is the workaround to solve this problem.</p>
<h2>Problem Definition</h2>
<p>Eclipse monitors file system changes and automatically adds all generated files in the Team Foundation Server. Now TFS Everywhere for Eclipse does not support ignoring a folder. Eclipse keeps on adding code of your Web Service generated code in TFS and finally TFS shows lot of files in pending check ins. However if you check-in them, then next time, your code generation tools will not work correctly because files will have to be checked out. And even if you do, code generation will delete some files, and TFS will give error that it can not file and will not let you check-in new items.</p>
<ol>
<li><font color="#333333">TFS will not let source code generator generate new files, as they are not checked out.</font></li>
<li><font color="#333333">After checking out, Deleted files will give errors while checking new files.</font></li>
</ol>
<h2>Web Library Projects as Solution</h2>
<p>We ran with exact same problem with Eclipse to manage flex and java projects. Mostly the web service client code are generated dynamically and we really do not want it to go in TFS. So we created library projects and we only stored library project’s configuration in the TFS.</p>
<p>We can import the WebLibs in our main projects, there are various advantages.</p>
<ol>
<li><font color="#333333">The generated code stays out of TFS.</font></li>
<li><font color="#333333">Compiled code of WebLibs takes lesser time to build project.</font></li>
</ol>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fakashkava.com%2Fblog%2F282%2Fdynamic-code-generation-in-eclipseflash-builder-with-tfs-2010%2F&amp;title=Dynamic%20Code%20Generation%20in%20Eclipse%2FFlash%20Builder%20with%20TFS%202010"><img src="http://akashkava.com/blog/wp-content/plugins/add-to-any/share_save_256_24.png" width="256" height="24" alt="Share"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://akashkava.com/blog/282/dynamic-code-generation-in-eclipseflash-builder-with-tfs-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

