Publishing Flex applications to Google Code SVN repository

By | August 16, 2009

I’ve been struggling with this one a couple of times, so I thought I should share how I solved it.

Problem:
You are hosting or contributing to an open-source project on code.google.com using SVN as source control.
You would like share Flex applications (and View Source) by accessing their public SVN URL.
Applications pages (HTML) show raw text.

Solution:
Make sure you set the SVN property svn:mime-type for each file:

  • *.html: “text/html”
  • *.css: “text/css”
  • *.zip, *.swf, *.png: “application/octet-stream”

Leave a Reply

*

* Copy This Password *

* Type Or Paste Password Here *

135,332 Spam Comments Blocked so far by Spam Free Wordpress