Hi all,
we have a bit of a problem with the new 4.10.0 release when trying to compile
using a commandline ant script.
Until 4.9. we dumped the flex builder config file using the -dump-config
switch in the compiler settings.
After changing a few absolute or missing File-Paths to ANT Variables we
compiled all libs, modules and applications within our
Continous-Integration-System fine.
With the release of 4.10 this workflow does not work anymore.
Trying to compile mx types, the build prozess crashes with "type was not found
or was not a compile-time constant" messages.
It seems, that the whole mx Namespace is not visible to the Compiler.
Compilation in Flex builder works fine...
Eg. :
(sorry this is german...)
[mxmlc] Konfigurationsdatei Y:\dev\Apache
Flex\4.10.0\frameworks\flex-config.xml wird geladen
[mxmlc] Konfigurationsdatei
E:\Trunk\Formware\Applications\VCC\VccO2Icb\src\build\fb_VccO2Icb_config.xml
wird geladen
[mxmlc] E:\Trunk\Formware\Applications\VCC\VccO2Icb\src\VccO2Icb.mxml(278):
Fehler: Typ wurde nicht gefunden oder war keine Kompilierungszeit-Konstante:
DateField.
[mxmlc]
[mxmlc] <mx:DateField
id="InvoiceIssueDate" change="filterChangeHandler(event)"
formatString="DD.MM.YYYY" keyUp="onEscapePressed(event)" monthNames="{Fo
are.Utils.Date.NamedMonth._germanMonthNamesLong}"/>
[mxmlc]
Changing the Compiler-Settings from RSL to "Merged into Code" the build works,
but we want to avoid the resulting "fat" swfs.
Any help or hint is desperately welcome.
Regards
Andi