Be careful source controlling Flash Builders html-template folder

As the title of this thread suggests, svn’ing the html-template that Flash Builder relies on to generate the container html files can lead to some headaches. One in particular that has just taken me about 5 hours to solve.

I’ve been migrating my SVN repo over to Springloops (check it out if you haven’t already) and decided to add the html-template folder to source control. Made a few commits, then got to building a deployable swf and that’s when the shit hit the fan. From what I can ascertain, Flash Builder was copying whatever was in the html-template folder (which included the .svn metadata folder) into the build folder. As everything in the build folder was versioned as well (so I can one click deploy to staying and production server) bizarre things started happening when I tried to commit things. In hindsight I should’ve cottoned on to the fact that Flash Builder was actually copying and pasting the html-template’s svn data into a folder that it shouldn’t have been. Of course, hindsight’s a wonderful thing ;-)

Be Sociable, Share!
Tagged with: , , ,
Posted in Flex

3 comments on “Be careful source controlling Flash Builders html-template folder
  1. Patrick says:

    So what was your solution here? I’ve been searching a bit for some compiler option that might allow more control over how things get copied, but haven’t had any luck. Were you able to smoothly keep both your html-template and bin directories w/in SVN?

  2. Wow, over a year ago since I posted this! I haven’t used Flash Builder much in the last year (migrated across to the rather brilliant FlashDevelop :-) which means I didn’t get around to finding a solution to the issue I was having. Possibly using Subclipse would give more control over how Flash Builder operates in regards to svn but I couldn’t be sure.

  3. Patrick says:

    Thanks for getting back. I’ve been interested in giving Flash Develop a shot. Nonetheless, my situation is one where I’m trying to come up with a solution for Flash Builder specifically as other developers on the project will be using it. I think I’ve settled on using Ant tasks to replace the built-in Flex compiler.

2 Pings/Trackbacks for "Be careful source controlling Flash Builders html-template folder"
  1. [...] Be careful source controlling Flash Builders html-template folder at calm in the chaos blog.wrench.com.au/2010/06/28/be-careful-source-controlling-flash-builders-html-template-folder/ – view page – cached Flash, Flex and Technology Tweets about this link Topsy.Data.Twitter.User['battlesmith1'] = {“photo”:”http://s.twimg.com/a/1276896641/images/default_profile_6_normal.png”,”url”:”http://twitter.com/battlesmith1″,”nick”:”battlesmith1″}; battlesmith1: “Be careful source controlling Flash Builders html-template folder: As the title of this thread suggests, svn’ing t… http://bit.ly/bwoMGH ” 4 minutes ago retweet Topsy.Data.Twitter.User['mojogeeks'] = {“photo”:”http://a3.twimg.com/profile_images/476530319/twitterProfilePhoto_normal.jpg”,”url”:”http://twitter.com/mojogeeks”,”nick”:”mojogeeks”}; mojogeeks: “Be careful source controlling Flash Builders html-template folder: As the title of this thread suggests, svn’ing t… http://bit.ly/aNhWDP ” 5 minutes ago retweet Topsy.Data.Twitter.User['fmc_washington'] = {“photo”:”http://a3.twimg.com/profile_images/918759969/GSA_MASC_normal.jpg”,”url”:”http://twitter.com/fmc_washington”,”nick”:”fmc_washington”}; fmc_washington: “Be careful source controlling Flash Builders html-template folder: As the title of this thread suggests, svn’ing t… http://bit.ly/ah3A7e ” 5 minutes ago retweet Topsy.Data.Twitter.User['fmc_chicago'] = {“photo”:”http://a1.twimg.com/profile_images/844354384/23425_109532382416879_100000803546890_75533_7952061_n_normal.jpg”,”url”:”http://twitter.com/fmc_chicago”,”nick”:”fmc_chicago”}; fmc_chicago: “Be careful source controlling Flash Builders html-template folder: As the title of this thread suggests, svn’ing t… http://bit.ly/ah3A7e ” 5 minutes ago retweet Filter tweets [...]

  2. [...] Be careful source controlling Flash Builders html-template folder … [...]

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Posts this month
June 2010
M T W T F S S
« May   Aug »
 123456
78910111213
14151617181920
21222324252627
282930  
Archives