Hi List,
we have some trouble in my project (again...), so let me explain what we are doing.
First of all we use SpringActionscript 1.2-SNAPSHOT, we build our project using flexmojos 3.6.1, Flex SDK is 4.1.0.x.
Our project is splitted up into several components. For each component there is a multiproject in which is the component itself and a componentDemo application to view and test the component.
The complete application shall use RSL for all components, so each component uses the goal provided by flexmojos and the component is used in the componentDemo using the .
In the build process of the componentDemo the optimized component.swf is copied to the rsl like all other dependencies.
So far our workflow works, component and componentDemo can be built and we have a startable application.
But there seems to be a problem with SpringActionscript because it seems the depenency injection does not work properly.
In a concrete example there is a list which is to be filled by a service which is injected by a presentation model to the list. This works if the application is started in Flashbuilder (each dependency in componentDemo to RSL, in component to external) and it works if the component is included NOT using .
Our suspicion is the goal removes a metatag which is needed by SAS. Currently we have this setting:
Code:
<keepAs3Metadatas>
<keepAs3Metadata>Bindable</keepAs3Metadata>
<keepAs3Metadata>Managed</keepAs3Metadata>
<keepAs3Metadata>ChangeEvent</keepAs3Metadata>
<keepAs3Metadata>NonCommittingChangeEvent</keepAs3Metadata>
<keepAs3Metadata>Transient</keepAs3Metadata>
<keepAs3Metadata>Events</keepAs3Metadata>
<keepAs3Metadata>Autowired</keepAs3Metadata>
<keepAs3Metadata>ResourceBundle</keepAs3Metadata>
<keepAs3Metadata>Inspectable</keepAs3Metadata>
<keepAs3Metadata>EventHandler</keepAs3Metadata>
<keepAs3Metadata>Required</keepAs3Metadata>
</keepAs3Metadatas>
Is our suspicion correct and we missed a metadata tag?
If it is helpful I can create a demo project tomorrow.
Any help is appreciated,
Christoph