Seriously, folks.  Why do you keep changing the configuration of the runtime-shared-library-path compiler option??

Here’s how you configure a RSL in an ANT build script in Flex 3.3.0.  Don’t even get me started on how it took me to figure that out, because this is completely different from what’s in their documentation!!!!!

<runtime-shared-library-path path-element="${FLEX_HOME}/frameworks/libs/datavisualization.swc">
    <url rsl-url="${web.root.dir}/lib/flex/${flex.build.number}/datavisualization_${flex.build.number}.swz" />
    <url policy-file-url="${web.root.dir}/cross-domain.xml" />
    <url rsl-url="${web.root.dir}/lib/flex/${flex.build.number}/datavisualization_${flex.build.number}.swf" />
    <url policy-file-url="${web.root.dir}/cross-domain.xml" />
</runtime-shared-library-path>

I downloaded Flex 3.5.0 today and ran my build scripts, and what do I get spit back at me?

[mxmlc] command line: Error: configuration variable ‘runtime-shared-library-path’ requires a value for ‘rsl-url’

So you changed it AGAIN??  Come on!!!

Oh, and where do I find the documentation for how I need to write this configuration in 3.5.0?  Nowhere.  I just spent 2 hours scouring the Adobe site, and Googling to come up empty. Then I try the following configuration which is what’s in the public, published documentation about RSLs.

<runtime-shared-library-path>
    <path-element>${FLEX_HOME}/frameworks/libs/datavisualization.swc</path-element>
    <rsl-url>${web.root.dir}/lib/flex/${flex.build.number}/datavisualization_${flex.build.number}.swz</rsl-url>
    <policy-file-url>${web.root.dir}/cross-domain.xml</policy-file-url>
    <rsl-url>${web.root.dir}/lib/flex/${flex.build.number}/datavisualization_${flex.build.number}.swf</rsl-url>
    <policy-file-url>${web.root.dir}/cross-domain.xml</policy-file-url>
</runtime-shared-library-path>

Also doesn’t work.

So now I’m stuck not being able to compile my projects with our build automation tool.  Way to go guys.

I’m really fuming about this.