I am working on a flex-mojo build for a multi module, multi
application(within same flex project) product. After couple of days or
work, I ended up with 210 pom files, as there are those many
applications.

My real problem is RSL,

Lets say I have "Module1", "Module2" and "Application1". In flex
builder, "Application1" has dependency on "Module1" and "Module2" as
link type : RSL. So, i built "Module1" and "Module2" with flex mojos,
and defined appropriate dependency on pom file of "Application1",
which again builds fine, but when i host it on tomcat and runs
"Application1" it complains that one of the class of "Module1" is not
found.

I then took Application1.swf which was build from Flex Builder and
replaced under tomcat webapps and it worked like champ. This makes me
think that build of "Module1" and "Module2" are good but "Appliction1"
has some problem. Additional i kept generated classes for from flex
mojo build and found that Modules are compiling all required classes
but somehow scope:RSL in pom file of Application is not working, i
tried scope:caching and scope:external from flexmojos... but no luck
so far...

My dependencies looks like following:
=================================
  <dependencies>
        <dependency>
                <groupId>com.alnt.adobe.cairngorm</groupId>
                <artifactId>cairngorm</artifactId>
                <version>${cairngorm.product.version}</version>
                <type>swc</type>
                <scope>${linkType.caching}</scope>
        </dependency>
    <dependency>
          <groupId>com.adobe.flex.framework</groupId>
          <artifactId>datavisualization</artifactId>
      <version>${flex.datavisualization.version}</version>
      <type>swc</type>
      <scope>${linkType.caching}</scope>
    </dependency>
        <dependency>
                <groupId>com.alnt.fabric</groupId>
                <artifactId>ALNTFabricUIFx</artifactId>
                <version>${alnt.product.version}</version>
                <type>swc</type>
                <scope>${linkType.caching}</scope>
        </dependency>
    <dependency>
      <groupId>com.adobe.flex.framework</groupId>
      <artifactId>framework</artifactId>
      <version>${flex.sdk.version}</version>
      <type>pom</type>
    </dependency>
  </dependencies>
=======================================

I did generate config report file from flex builder and flex mojos and
compared them, I am not seeing any major difference.

Finally i saw following bug on flex mojo and saw that it is fixed.
What version is it fixed on? I am using flex mojo 3.9 and flex sdk
3.2.0.3958

https://issues.sonatype.org/browse/FLEXMOJOS-243

I tried to apply the work around suggested on this bug, and my
dependency is copied above..

Any help is greatly appreciated.

Thanks,
sachin_rt

-- 
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

http://flexmojos.sonatype.org/

Reply via email to