I have a property declaration like this on a [Component] class:
Code:
[Property(value='${server.port}')]		
public var extProperty:String;
When I given this property value like this
Code:
_appContext = new FlexXMLApplicationContext(_springAsContextURL); 
_appContext.properties.setProperty("server.port", "8080");
or given the property value in appContext.xml
Code:
<property name="server.port" value="8080"/>
it work fine.

But when i given this property in a external *.properties file and load the file in appContext.xml
Code:
<property file="springas/global.properties" prevent-cache="false" required="true"/>
it throws
Error: Could not resolve placeholder '${server.port}'

I think this is a bug ,because ComponentClassScanner scan [Component] class and try to get the ${server.port} value before all ObjectFactoryPostProcessor ,especially FlexPropertyPlaceholderConfigurer,so can't get the value

any help is welcome to fix it