Hi,

i am trying to get my project (swf) built with flexmojos! The project
is linked to some shared libraries (swc) which are compiled at the
same time as the main project itself. Here is the project structure:

- FlexCore.pom (defines the default build and repository parameters)

- FlexUtils.swc (parent: FlexCore.pom)

- FlexComponents.swc (parent: FlexCore.pom)

- AssetsLibrary.swc (parent: FlexCore.pom)

- FlexDataVisualization.swc (parent: FlexCore.pom)

- FlexCharting.swc (parent: FlexCore.pom, dependency: FlexUtils.swc)

- MapFramework.swc (parent: FlexCore.pom, dependency: FlexUtils.swc

- FlexMap.swc (parent: FlexCore.pom, dependecy: FlexUtils.swc,
AssetsLibrary.swc, MapFramework.swc)

- CommunicationFramework.swc (parent FlexCore.pom, dependency:
FlexUtils.swc)

- ApplicationFramework.swc (parent: FlexCore.pom, dependecy:
FlexUtils.swc, FlexComponents.swc, Assets.swc,
CommunicationFramework.swc, MapFramework.swc, FlexMap.swc)

- Application.swf (parent: FlexCore.pom, dependecy: FlexUtils.swc,
FlexComponents.swc, FlexCharting.swc, FlexDataVisualization.swc,
AssetsLibrary.swc, CommunicationFramework.swc, MapFramework.swc,
FlexMap.swc)



I have an assemby pom:
        <parent>
            <groupId>com.test</groupId>
            <artifactId>FlexCore</artifactId>
            <version>1.0-SNAPSHOT</version>
            <relativePath>../FlexCore/pom.xml</relativePath>
        </parent>

        <modules>
                <module>FlexCore</module>
                <module>FlexUtils</module>
                <module>FlexComponents</module>
                <module>FlexCharting</module>
                <module>FlexDataVisualisation</module>
                <module>AssetsLibrary</module>
                <module>MapFramework</module>
                <module>FlexMap</module>
                <module>CommunicationFramework</module>
                <module>ApplicationFramework</module>
                <module>Application</module>
        </modules>


When I run maven, all the libraries are built just before the
application. When building the application maven stops, because the
compiler can't find some classes from the e.g. ApplicationFramework!
It seems as if none of the classes is included in the libraries.

"The definition of base class ... was not found."

and

"Method marked override must override another method."

Do resolve this problem, do I need to add all the classes to be
exported in the library pom files? I hope there is a easier way!

I tried to check the openscales project. It look as if they use the
same way of building their swf files.

Does somebody know what to do?

Thanks

Manfred

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos?hl=en?hl=en

http://flexmojos.sonatype.org/

Reply via email to