<?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: SVN misplaces my Flex project-files</title>
	<atom:link href="http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/feed" rel="self" type="application/rss+xml" />
	<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files</link>
	<description>Ruben Swieringa on Actionscript and a whole lot of other stuff..</description>
	<lastBuildDate>Wed, 25 Jan 2012 12:03:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
	<item>
		<title>By: trace9</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-6#comment-96792</link>
		<dc:creator>trace9</dc:creator>
		<pubDate>Fri, 22 Jan 2010 22:13:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-96792</guid>
		<description>^^^ Ignore my previous post... 

Here&#039;s an easy way to remove .svn files from your Flex project:

svn ignore: bin, bin-debug, bin-release (I don’t worry about the ‘copy non-embedded assets’ setting).

Use the (default) html-template folder as before, and make sure it&#039;s in version control. If someone else checks the project out, &#039;html-template&#039; will be there for them too.

Create a batch file in the root directory of your project, and paste the following lines: (save as &quot;remove_svn.bat&quot;)

:START
IF EXIST %~dp0\bin FOR /F &quot;tokens=*&quot; %%G IN (&#039;DIR /B /AD /S %~dp0\bin\*.svn*&#039;) DO RMDIR /S /Q &quot;%%G&quot;
IF EXIST %~dp0\bin-debug FOR /F &quot;tokens=*&quot; %%G IN (&#039;DIR /B /AD /S %~dp0\bin-debug\*.svn*&#039;) DO RMDIR /S /Q &quot;%%G&quot;
IF EXIST %~dp0\bin-release FOR /F &quot;tokens=*&quot; %%G IN (&#039;DIR /B /AD /S %~dp0\bin-release\*.svn*&#039;) DO RMDIR /S /Q &quot;%%G&quot;
PAUSE
:END

This removes (recursively) all the .svn folders (and children) from: bin, bin-release, and bin-debug ONLY IF those folders are present. 

Run the batch file before committing/updating to keep your project clean.</description>
		<content:encoded><![CDATA[<p>^^^ Ignore my previous post&#8230; </p>
<p>Here&#8217;s an easy way to remove .svn files from your Flex project:</p>
<p>svn ignore: bin, bin-debug, bin-release (I don’t worry about the ‘copy non-embedded assets’ setting).</p>
<p>Use the (default) html-template folder as before, and make sure it&#8217;s in version control. If someone else checks the project out, &#8216;html-template&#8217; will be there for them too.</p>
<p>Create a batch file in the root directory of your project, and paste the following lines: (save as &#8220;remove_svn.bat&#8221;)</p>
<p>:START<br />
IF EXIST %~dp0\bin FOR /F &#8220;tokens=*&#8221; %%G IN (&#8216;DIR /B /AD /S %~dp0\bin\*.svn*&#8217;) DO RMDIR /S /Q &#8220;%%G&#8221;<br />
IF EXIST %~dp0\bin-debug FOR /F &#8220;tokens=*&#8221; %%G IN (&#8216;DIR /B /AD /S %~dp0\bin-debug\*.svn*&#8217;) DO RMDIR /S /Q &#8220;%%G&#8221;<br />
IF EXIST %~dp0\bin-release FOR /F &#8220;tokens=*&#8221; %%G IN (&#8216;DIR /B /AD /S %~dp0\bin-release\*.svn*&#8217;) DO RMDIR /S /Q &#8220;%%G&#8221;<br />
PAUSE<br />
:END</p>
<p>This removes (recursively) all the .svn folders (and children) from: bin, bin-release, and bin-debug ONLY IF those folders are present. </p>
<p>Run the batch file before committing/updating to keep your project clean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trace9</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-5#comment-96552</link>
		<dc:creator>trace9</dc:creator>
		<pubDate>Thu, 14 Jan 2010 19:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-96552</guid>
		<description>svn ignore: html-template, bin, bin-debug, bin-release (I don&#039;t worry about the &#039;copy non-embedded assets&#039; setting).

In my &#039;src&#039; directory, I have an html folder that I use instead of the default &#039;html-template&#039;

I only modify files in this src/html directory, and when I make modifications I run a batch file which copies these files to html-template, bin, bin-debug and bin-release.

:START
IF EXIST %~dp0\html-template XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\html-template
IF EXIST %~dp0\bin XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\bin
IF EXIST %~dp0\bin-debug XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\bin-debug
IF EXIST %~dp0\bin-release XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\bin-release
PAUSE
:END

hope this helps someone.</description>
		<content:encoded><![CDATA[<p>svn ignore: html-template, bin, bin-debug, bin-release (I don&#8217;t worry about the &#8216;copy non-embedded assets&#8217; setting).</p>
<p>In my &#8216;src&#8217; directory, I have an html folder that I use instead of the default &#8216;html-template&#8217;</p>
<p>I only modify files in this src/html directory, and when I make modifications I run a batch file which copies these files to html-template, bin, bin-debug and bin-release.</p>
<p>:START<br />
IF EXIST %~dp0\html-template XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\html-template<br />
IF EXIST %~dp0\bin XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\bin<br />
IF EXIST %~dp0\bin-debug XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\bin-debug<br />
IF EXIST %~dp0\bin-release XCOPY /E /C /H /O /V /Y %~dp0\src\html\*.* %~dp0\bin-release<br />
PAUSE<br />
:END</p>
<p>hope this helps someone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sami</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-5#comment-94027</link>
		<dc:creator>Sami</dc:creator>
		<pubDate>Wed, 11 Nov 2009 10:37:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-94027</guid>
		<description>Thanks for this post, had exactly the same problem.</description>
		<content:encoded><![CDATA[<p>Thanks for this post, had exactly the same problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: scritic</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-5#comment-91825</link>
		<dc:creator>scritic</dc:creator>
		<pubDate>Wed, 16 Sep 2009 18:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-91825</guid>
		<description>Thank you - thank you - this solved my problem.  What a waste of time some bugs are - I spent some 3 hours on this before stumbling on to this post.</description>
		<content:encoded><![CDATA[<p>Thank you &#8211; thank you &#8211; this solved my problem.  What a waste of time some bugs are &#8211; I spent some 3 hours on this before stumbling on to this post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rahil Raju</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-5#comment-85183</link>
		<dc:creator>Rahil Raju</dc:creator>
		<pubDate>Fri, 15 May 2009 08:56:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-85183</guid>
		<description>Hi, 

         This is Rahil, i read this article ...its fine and good ...i am intrested to add this blog ..am also Flex developer ...i have some doubts about the my projects so plzz</description>
		<content:encoded><![CDATA[<p>Hi, </p>
<p>         This is Rahil, i read this article &#8230;its fine and good &#8230;i am intrested to add this blog ..am also Flex developer &#8230;i have some doubts about the my projects so plzz</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Thaxter</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-5#comment-84701</link>
		<dc:creator>Jason Thaxter</dc:creator>
		<pubDate>Fri, 08 May 2009 03:43:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-84701</guid>
		<description>The only disadvantage of the method I mentioned is that when you first check out the project,  you have to piece together html-template for yourself.

But again- subversion is doing exactly what it&#039;s supposed to. The only fix for this situation is for FlexBuilder to  learn to ignore .svn directories.</description>
		<content:encoded><![CDATA[<p>The only disadvantage of the method I mentioned is that when you first check out the project,  you have to piece together html-template for yourself.</p>
<p>But again- subversion is doing exactly what it&#8217;s supposed to. The only fix for this situation is for FlexBuilder to  learn to ignore .svn directories.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason Thaxter</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-4#comment-84699</link>
		<dc:creator>Jason Thaxter</dc:creator>
		<pubDate>Fri, 08 May 2009 03:38:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-84699</guid>
		<description>The issue here is really that Flex cannot be convinced to ignore files in html-template when generating bin-debug and bin (bin-release).

There are two solutions:
   1) Include html-template in subversion, but have subversion ignore the bin directories.
   2) Ignore html-template - so it has no .svn directories - but include bin-release and/or bin-debug.

I&#039;ve done it the first way, but actually the second is probably better - by the time you&#039;re ready to check anything in, it&#039;s in one or both of the bin directories, and the .svn directories don&#039;t get copied around. So now that I&#039;ve switched to that, it&#039;s much better.

Here&#039;s my svn:ignore:
.actionScriptProject
.actionScriptProperties
.flexProperties
.flexProject
.project
.settings
html-template</description>
		<content:encoded><![CDATA[<p>The issue here is really that Flex cannot be convinced to ignore files in html-template when generating bin-debug and bin (bin-release).</p>
<p>There are two solutions:<br />
   1) Include html-template in subversion, but have subversion ignore the bin directories.<br />
   2) Ignore html-template &#8211; so it has no .svn directories &#8211; but include bin-release and/or bin-debug.</p>
<p>I&#8217;ve done it the first way, but actually the second is probably better &#8211; by the time you&#8217;re ready to check anything in, it&#8217;s in one or both of the bin directories, and the .svn directories don&#8217;t get copied around. So now that I&#8217;ve switched to that, it&#8217;s much better.</p>
<p>Here&#8217;s my svn:ignore:<br />
.actionScriptProject<br />
.actionScriptProperties<br />
.flexProperties<br />
.flexProject<br />
.project<br />
.settings<br />
html-template</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swidnikk</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-4#comment-84547</link>
		<dc:creator>swidnikk</dc:creator>
		<pubDate>Tue, 05 May 2009 08:39:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-84547</guid>
		<description>Here&#039;s the issue on flex bug tracker:

http://bugs.adobe.com/jira/browse/FB-11958</description>
		<content:encoded><![CDATA[<p>Here&#8217;s the issue on flex bug tracker:</p>
<p><a href="http://bugs.adobe.com/jira/browse/FB-11958" rel="nofollow">http://bugs.adobe.com/jira/browse/FB-11958</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#187; UnidefCMS new example - tree data structure</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-4#comment-79671</link>
		<dc:creator>&#187; UnidefCMS new example - tree data structure</dc:creator>
		<pubDate>Wed, 28 Jan 2009 06:20:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-79671</guid>
		<description>[...] another thing: don&#8217;t use SVN for bin-debug, bin-release and html-template directories!! Or god will be killing one kiteh after another, and both flex and svn just freak [...]</description>
		<content:encoded><![CDATA[<p>[...] another thing: don&#8217;t use SVN for bin-debug, bin-release and html-template directories!! Or god will be killing one kiteh after another, and both flex and svn just freak [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alan Owen</title>
		<link>http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files/comment-page-4#comment-71526</link>
		<dc:creator>Alan Owen</dc:creator>
		<pubDate>Thu, 20 Nov 2008 11:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.rubenswieringa.com/blog/svn-misplaces-my-flex-project-files#comment-71526</guid>
		<description>My current experience: bin-debug is a &#039;volatile&#039; directory and prone to regular re-writes, and subsequent overwrites from html-template. If html-template is under version control, the hidden &#039;.svn&#039; files are copied into bin-debug by flex, subsequently fooling svn into thinking that bin-debug is actually html-template. Frustrating issues arise.

Solution: it is desirable to subversion control the html wrapper for your site, but committing html-template is not a good idea given the above. Instead commit your html files in a different directory e.g. &#039;htmlpage&#039; and manually copy any alterations into the unversioned, flex controlled, local working copy html-template when necessary.

In such a case, version control of bin-debug should be safe as html-template contains no .svn files that may be copied into the directory on compile.</description>
		<content:encoded><![CDATA[<p>My current experience: bin-debug is a &#8216;volatile&#8217; directory and prone to regular re-writes, and subsequent overwrites from html-template. If html-template is under version control, the hidden &#8216;.svn&#8217; files are copied into bin-debug by flex, subsequently fooling svn into thinking that bin-debug is actually html-template. Frustrating issues arise.</p>
<p>Solution: it is desirable to subversion control the html wrapper for your site, but committing html-template is not a good idea given the above. Instead commit your html files in a different directory e.g. &#8216;htmlpage&#8217; and manually copy any alterations into the unversioned, flex controlled, local working copy html-template when necessary.</p>
<p>In such a case, version control of bin-debug should be safe as html-template contains no .svn files that may be copied into the directory on compile.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

