Subversion error
This post is mostly for reminding myself as I dive into SubVersion (.svn) for development
Dette er mest for min egen del, i tilfelle jeg støter på det når jeg skal sette opp Subversion for utvikling.
godkjent av kilde/approved by source: agit8
- – - Cut from agit8 – - -

While developping our (AGIT8) latest project we encountered a bug in the Flash IDE that caused us many headaches and woes. Our project was setup in the Flash IDE with assets and files located in subdirectories, nothing fancy. Right on the last day of production, suddenly after a particular commit , our project would no longer compile. Flash would return the standard compiler error: “A definition for the document class could not be found in the classpath, so one will be automatically generated in the SWF file upon export.” The document class is in the same directory as the FLA! What in god’s name is going on!
It turns out Flash is not able find any classes in the project’s directory. Even when creating a new FLA file with a classpath entry to the project’s directory ; the compiler would just refuse to find ANY classes in that particular directory.
After about a day of investigation, we isolated the problem to OSX, as PC checked out working copies of the project would function properly. We also found out that by doing a subversion “EXPORT” of the project (basically removing the .svn files from the project dir) the project would magically start working again.
After another day of headaches and stress we finally figured it out. It seems that under OSX ONLY, if you have a directory in your classpath that is under subversion control (has .svn files) and that any one single directory has over 128 files subversionned, it will make the flash compiler class lookup fail silently and stop. You’ll get the usual compiler error messages for unfound classes.
The solution?
Make sure that no single directory in your project has over 128 files in it under subversion control. If you have one, simply segment it into sub directories and commit.
- – - end blatant copy – - -