28 Aug in flex

Simply put, they don't work!!
If you've ever developed a Java application in Eclipse, you'll be well aware that if you set a project reference of Project B in Project A, the code in Project A will be able to "see" the code in Project B.
However, Flex Builder (which we all know is based on Eclipse) does not work this way. You have to manually add Project B's source directory to Project A via the Flex Build Path project settings. The most frustrating part of this is that Flex Builder stores the actual directory of the other project, so if you have multiple developers working off a single codebase, it's highly likely that each developer will have to change the source path to match their environment.
Shame, eh?

Comments

What you're saying doesn't

What you're saying doesn't really make sense... With FB3 if you add a project reference to a project then when you open that project you can have it automatically open the referenced project as well. The referenced project can be either a library project, which you can simply add to the libraries in the Flex Build Path settings, or a regular project in which case you can add its main source folder to the calling projects Source Folders.

What other behavior would you expect to be exhibited?

To update this, I've now got

To update this, I've now got it working. As you rightly say, you have to specify the build paths in the project properties.

The library you're referencing already has the source code paths specified. I wasn't expecting you to have to specify these again.

But it works. Happy days. Thanks for pointing me in the right direction!

I thought I was the only who

I thought I was the only who suffer from this "bug".
I feel better now =P

hey a support group. I

hey a support group. I thought I was crazy when this didn't work.

please add

thx for the tip. please add me to the support group :-)

All content © 2009-2011 Matthew Butt. All views expressed herein are my own and do not represent the views of my employer, AREA203 Digital.