<?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>Benjamin Wiederkehr&#039;s Blog &#187; GIT</title>
	<atom:link href="http://blog.benjaminwiederkehr.com/tag/git/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.benjaminwiederkehr.com</link>
	<description>User Experience Designer</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:47:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>FLA vs GIT</title>
		<link>http://blog.benjaminwiederkehr.com/all/thoughts/fla-vs-git</link>
		<comments>http://blog.benjaminwiederkehr.com/all/thoughts/fla-vs-git#comments</comments>
		<pubDate>Sun, 14 Dec 2008 22:45:00 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[GIT]]></category>

		<guid isPermaLink="false">http://portfolio.artillery.ch/?p=329</guid>
		<description><![CDATA[In this article I&#8217;ll report an issue I ran into when using GIT to develope an application with Adobe Flash. It makes a nice follow up to a previously posted report about the problem of syncronizing the .gitignore file The errors occurred the first time after several commits to my repository on GITHub.com. When I [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.benjaminwiederkehr.com/writing/fla-vs-gitfla-vs-git"><img class="teaser alignnone size-full wp-image-330" title="fla_git_teaser" src="http://blog.benjaminwiederkehr.com/wp-content/uploads/2008/12/fla_git_teaser.png" alt="fla_git_teaser" width="470" height="126" /></a><span id="more-329"></span><br />
In this article I&#8217;ll report an issue I ran into when using <a href="http://git.or.cz/">GIT</a> to develope an application with <a href="http://www.adobe.com/flash">Adobe Flash</a>. It makes a nice follow up to a <a href="http://blog.benjaminwiederkehr.com/writing/ignore-the-gitignore">previously posted report</a> about the problem of syncronizing the .gitignore file</p>
<p>The errors occurred the first time after several commits to my repository on <a href="http://GITHub.com">GITHub.com</a>. When I tried to compile the .fla file the application wouldn&#8217;t start and the screen remained blank. Saddly no error was mentioned by the Flash IDE. After some reviews of the code and the fla file I saw that the fla file couldn&#8217;t find the DocumentClass.as and therefore would create one on the fly when compiling. I&#8217;ve tried everything from moving files around to restarting the machine and finally I recreated a working copy of my project by copying an old .fla file to my directory. This error occurred repeatedly and I already got the routine to solve it but wasn&#8217;t really satusfied with this solution.</p>
<p>After some googling I found this report from the <a href="http://agit8.turbulent.ca/bwp/2008/05/01/flash-cs3-bug-on-mac-os-x-and-subversion-svn-files/#http://agit8.turbulent.ca/bwp/2008/05/01/flash-cs3-bug-on-mac-os-x-and-subversion-svn-files/">Agit8 blog</a>. The same bug seems to be an issue when using svn as the subversioning tool. <cite>Geoffhom</cite> points out at comment #48 that using the <a href="http://www.kernel.org/pub/software/scm/git/docs/git-gc.html">git gc</a> command to reduce the git history solved his problems. It seems that the .fla file searches the whole directory for classes and is  searching the .git directory as well. This seems to be the root of the evil and it&#8217;s an easy thing to avoid:</p>
<p>Place the .fla and all the needed sources and classes inside a folder and keep the .git folder outside of it. So my folder structur now looks like this:</p>
<ol>
<li>folder with .git folder, .gitignore file, README, LICENSE and the &#8220;app&#8221; folder</li>
<li>in the &#8220;app&#8221; folder I keep my com/ch/org etc sources, my .fla file and the DocumentClass.as</li>
</ol>
<p>I hope this saves anybody a few hours of headches and brings some light into the dark zone Flash bugs</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.benjaminwiederkehr.com/all/thoughts/fla-vs-git/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ignore the .GITIGNORE</title>
		<link>http://blog.benjaminwiederkehr.com/all/thoughts/ignore-the-gitignore</link>
		<comments>http://blog.benjaminwiederkehr.com/all/thoughts/ignore-the-gitignore#comments</comments>
		<pubDate>Sat, 29 Nov 2008 09:50:24 +0000</pubDate>
		<dc:creator>Benjamin</dc:creator>
				<category><![CDATA[Thoughts]]></category>
		<category><![CDATA[GIT]]></category>

		<guid isPermaLink="false">http://portfolio.artillery.ch/?p=304</guid>
		<description><![CDATA[This is a report about some inconveniences with GIT when syncronizing the .gitignore file. In this article I define the problems I had and outline the circumstances that lead to this situation. I ran into the troubles with my co-worker Christian Siegrist when syncronizing our GIT repositories. Christian forked my repository on GITHub.com. Previously I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-305 teaser" title="gitignore_teaser" src="http://blog.benjaminwiederkehr.com/wp-content/uploads/2008/11/gitignore_teaser.png" alt="Ignore the .gitignore" width="470" height="126" /><span id="more-304"></span></p>
<p>This is a report about some inconveniences with <a href="http://git.or.cz/" title="GIT website">GIT</a> when syncronizing the .gitignore file. In this article I define the problems I had and outline the circumstances that lead to this situation.</p>
<p>I ran into the troubles with my co-worker <a href="http://www.significant.ch" title="website of Christian Siegrist">Christian Siegrist</a> when syncronizing our GIT repositories. Christian forked my repository on <a href="http://github.com" title="github webapplication">GITHub.com</a>. Previously I excluded some files from the GIT index. My .gitignore file looked like this:
</p>
<p><pre>
.DS_Store
*.fla
*.swf
*.tmproj
com/modestmaps/*
com/stamen/*
docs/*
</pre>
</p>
<p><em>I had to remove the <a href="http://modestmaps.org" title="modestmaps website">modestmaps</a> and <a href="http://stamen.com" title="website of stamen">stamen</a> library because as soon as I committed those libraries an syntax error was traced in flash. For more details on this subject visit the <a href="http://getsatisfaction.com/modestmaps/topics/getting_errors_about_override_public_function_in_tweenmap_as" title="thread about the git-poblems on getsatisfaction.com">getsatisfaction.com thread</a>.</em></p>
<p>When we tried to merge our branches we recognized that the .gitignore file didn&#8217;t accomplish it&#8217;s task. Christians files that had to be excluded were suddenly on GITHub in his master repository. We ended up removing all those files manually over Terminal and the pushed the updated repository to GITHub. Now Christians origin was clean of disturbing files and he first added a new .gitignore file and then the missing files I had sendt him. After updating the online repository again our merging was succesful and finally our updates came together.</p>
<p>Has anyone experienced similar problems or knows what caused this problems? Any advice would be appreciated.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.benjaminwiederkehr.com/all/thoughts/ignore-the-gitignore/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

