1 person found this helpful
for the code navigation error : did you embed the source in the swc ? (it's a property in the swc project if I remember well)
+ can't you add your common.swc in the libraries instead of source path ?
Thanks for replying.
I didn't specifically embed the source. How would one do that? I tried the "-debug" additional compiler option (from here http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7ad5.html) but I get an error saying "Option -debug cannot be used when compiling in Flash Builder":
I also did add the common swc into the libraries path using "Add project" in the Flex Application project:
The linked source folders are in the library project, however I still get the same problem wven when not using linkled source folders so I don't think that is the cause:
I'm not sure but I can try to help you
If you have a "Flex Library Project" named common :
you add the classes you want to share in the Properties > Flex Library Build Path > Classes
in Properties > Flex Library Build Path > Source path, you usually only have Main source folder = src (if all your classes are in packages from src)
you can try to add "include-sources" in the library compiler options
If you have also a "Flex Project" named common-tests that will use the common library :
you may have compiled the common project and then get a .swc in common/bin-debug
I think you can add this .swc to your main Flex project with Properties > Flex Build Path > Library Path > add SWC (or you can add Project too)
in Properties > Flex Build Path > Source path you don't need to add nothing about the library
For posterity's sake, here's my current work-around
- Bought a new 2GHz Quad core with 8GB RAM. One would have thought my previous 2GHz Core 2 Duo with 2GB RAM would be sufficient to run a text editor, but apparently not.
- Disabled the "Mark Occurances" feature seems to improve the typeing performance.
- Created a separate library project for each namespace. The unit tests for each namespace are in separate application projects.
- Close all projects I'm not currently working on.