When Flex Builder doesn’t want to build
A very short article here about a problem that is not a problem that still remains a problem.
Say you got a nice shiny Flex project with Locales and internationalization all around. You want to transfer the whole project to another developer’s workspace on another machine. The target has got a fresh Flex Builder install, nothing customized and all. You import your project within the workspace and everything’s fine EXCEPT Flex Builder starts yelling about its inability to open a Locale (in this case a Frog).
A quick google-pet-sniffing tells the poor target that he has to run a script on DOS or on the Terminal to copy a bunch of files (see Adobe labs and Herreman’s article). Fine, he’s got a French locale. So he goes on the Flex Builder again which is still yelling with a deadly cross. First thing you do : close the project and re-open it. Second : close Flex and re-open it. Third : close the computer and re-open it. Fourth : close the office and…(what would you do next ?)
I’ll save you a couple of minutes here. The only solution is to kill the project, delete it (not the files, just the project) and import it anew. And THAT WORKS ! Don’t ask me why.
It happened to us a few times, not only in this case but on some other configurations where Flex Builder shows PTSD symptoms and still wants to display a white on red cross when everything’s fine. Here, the fact that we imported the project after the modification fixed something. But sometimes you haven’t done anything like that and Flex Builder (or I’d rather say Eclipse) is stuck in a state with your project. Just create it again even if it’s a hassle.
By the way, it’s not limited to the Flex Builder. Flash got similar problems sometimes. Like you want to save a class and compile but nothing looks like the changes were applied, except your file IS saved. You’d have to recreate an .fla and it’d work.
That’s about the same solution as kicking a device to make it work properly again. I can’t wait to see in the next bad movie a hacker closing the project and importing it again. “Haha look at that !”. He might not look as cool as beating an engine in a spatial module with a wrench (remember Armageddon, that risible movie ?) but given what you can see in blockbusters, I say, why not ?
About this entry
You’re currently reading “When Flex Builder doesn’t want to build,” an entry on Théâtre magique
- Published:
- 01.27.10 / 6
- Category:
- Flash/Flex

No comments
Jump to comment form | comments rss [?] | trackback uri [?]