| | | Doug@PTV |  |
| Posted: Fri Jul 18, 2008 8:05 pm Post subject: Serious Flash compiling issue relating to TortoiseSVN |  |
| |  | |
Hi,
I've been pretty much at wit's end for the past few days over this problem, but I've at least been able to narrow down what I think is the high-level cause of the problem.
I've been working on project that's been checked into our SVN control for a good number of weeks now, and haven't had any problems. Recently I made a slightly large update, modifying a large amount of AS3 classes and I comitted these to our SVN server. After a successful commit I got got back to work and compiled my FLA. But when I did this I got a number of compiler errors, none of which made sense:
1120: Access of undefined property SEND_SUCCESSFUL. 5001: The name of package 'com.permissiontv.ui.controlbar' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. C:\Documents and Settings\doug\Desktop\SVN\metOperaReal\AS3\src\com\permissiontv\ui\ControlBar\Co ntrolBarDivider.as ...and 5 more similar to the second error, but with other classes.
Not so bad, except that the first error, the undefined property, well that line is actually where I am first defining that variable. This is what it looks like:
private static const SEND_SUCCESSFUL:String = "Email sent successfully.";
Strange. And the other errors are just plain wrong. Those classes haven't been changed/updated in days and they exist exactly where they need to. Flash can even find them from the library in the IDE no problem. So if I try to comment out any lines that it tells me are errors, it just picks some other seemingly random variable to tell me is undefined and so on.
Long story, but after about two days of debugging I found out that the issue was because of the TortoiseSVN. If I export the folders out of the versioned directory and compile that, it works flawlessly without any errors. It does the same if I manually delete all the .svn folders and files out of the directory.
I even created an entirely new SVN branch folder from scratch and uploaded the unversioned files to it. As soon as they were checked in, without any prior SVN history or anything, the same errors showed back up on compile.
I realize this is hard for someone to debug without much chance of reproducing it, but if someone may be able to help I could probably give them read access to the repository to check out and see the errors. Honestly I am just about at wits end with what is causing this. Hopefully someone out there can help.
Thanks
Doug |
|