In Flexbuilder 3, sdk 3.2.0,
I have setup a flex project in which Additinal compiler arguments
"-load-config" is used to define my own config file.
In this config file I am using a path variable "OVCodebaseDir" created from
FlexBuilder preferences -> General -> Workspace -> Linked Resources.
The project gets compiled without error and runs well.
But using the launch files, I am generating documentation for the project,
which gives error
"...Codebase\App\OV-config.xml(34): Error: configuration variable
'compiler.theme' value contains unknown token 'OVCodebaseDir'
</theme>
"
the settings in launch file is
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value="
-source-path ./src
-doc-sources ./src
-output=../../Docs/OVAppDocs
-load-config+=OV-config.xml
-library-path "${FlexRoot}/frameworks/libs"
-library-path
"${FlexRoot}/frameworks/libs/player/{targetPlayerMajorVersion}"
/>
The "FlexRoot" variable was defined in FlexBuilder preferences -> Run/Debug ->
String Substitution.
I even tried creating "OVCodebaseDir" variable here.
If I replace OVCodebaseDir with absolute path in config file then I am able to
generate the documentations. So there is no problem in launch file.
How to declare/define custom variables used for config file?
Thanks,
Rajkumar