I'm doing the following:
CONFIG::TEST{
rootURL = "myTestURL";
}
CONFIG::PROD{
rootURL = "myProdURL";
}
In compiler arguments I have this:
-locale en_US -define+=CONFIG::AIR,true -define+=CONFIG::WEB,false
-show-unused-type-selector-warnings=false
-define+=CONFIG::PROD,false -define+=CONFIG::TEST,true
But I'm getting errors for them both:
Access of undefined property PROD.
Access of undefined property TEST.
What is extremely odd is that this code works on my windows machine, but not on my mac. I've tried various things -- doing a clean checkout of code, cleaning the project, reinstalling Flash Builder. I also tried changing the order of the arguments, placing the last two in front of the selector warnings. That didn't help either.
Has anyone seen this before?