Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 4.0 (Release)
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Reproduce steps:
1. download the test files
2. <folder contains the test files>\ant -f bug26213.xml -Dsdk.dir=<sdk build> -DflexTaskPath=<sdk build>\ant\lib -Dswf.output=output
-> Error: configuration variable 'output' value contains
unknown token 'basedir'
Expect:
no error, it should resolve the properties defined like ${}.
From reporter:
There's a bug in your implementation of ConfigBoolean, ConfigString, etc. used for your ANT tasks: you aren't expanding properties in the text of embedded values.
For example, ConfigBoolean does this:
public void set(String value)
{
this.enabled = parseValue(value);
this.isSet = true;
}
It should do this:
public void set(String value)
{
this.enabled = parseValue(getProject().replaceProperties(value));
this.isSet = true;
}
Or something to that effect...