Pixelbox

Welcome to Pixelbox. Friday the 5 of September 2008

Skip to content >>

Flex builder and SVN

Having done quite a bit of work in Flex recently it came to the point when putting it in SVN was getting more and more important. However it wasn't as simple as I thought it would be. It appears that when you compile in flex builder many of the files are moved around into temp folders in order to create the swfs. The problem is that the flex builder also moves around any SVN folders too, which as you can imagine causes all sorts of problems. I worked on including only the source files (ignoring the bin and html folders), but really the SWF is needed so you can roll out onto live servers from SVN. So after a bit of research it turns out that you can install the SVN eclipse add on (eclipse) into the flex builder. This seems to stop all the movement (at least of the SVN files) and sort out the problems. Hopefully this will help someone else add their flex projects to SVN without a headache starting at terminal...
Meta tags: ActionScript, Flex, Random

5 comments

Why not leave your own!

  1. Just being a bit nosey here, but what are you using flex for? Have always considered it a bit of an underrated platform myself and have never really had the opportunity to get into developing with it. Is it for work? or pleasure?
  2. Not too sure I can divulge that mate ;) No it is for work as part of the future statistics reporting platform in Ceros, which is really exciting. Flex seemed like a nice way into ActionScript (albeit 3) and development of flash with out the time line. Also the graphing helped as its a lot nicer and flasher than through image magic. It looks like it may also be really good for when Apollo comes out and it turns into a real dev environment.
  3. Are you able to commit you build folder (bin)? For some reason, I am not able to - it's like Flex Builder has ignored it. Any recommendations?
  4. Not sure, probibly not a good idea to add it because it gets updated every time you compile and would mess up the .svn folder
  5. [...] me and others noticed here is that, since Flex Builder copies all the project root files and folders into "/bin", including [...]

Add your own comment