Well to be honest ... I tried apparat while still using an older flex
sdk so the swfVersion was still 10 and I got errors in 50% of my
modules. Haven't tried since updating to swfVersion 11.


2011/7/5 Christofer Dutz <[email protected]>:
> Well at first I started with creating utility and model swcs and used
> them throughout the application. I am currently converting those swcs
> to rsls so they can be loaded dynamically and this way I achieve the
> same result, but without the drawbacks of the linkage report way (If
> you have multiple modules in parallel that share a lot of classes that
> approach will not bring any improvement and currently my application
> has a totally tripped down loader and a lot of modules in parallel.
>
> Chris
>
> 2011/7/5 SiD <[email protected]>:
>> Happens to me to also. There is a stackoverflow with scala/apparat.
>>
>> What is your different approach?
>>
>> On Jul 5, 7:58 am, Christofer Dutz <[email protected]>
>> wrote:
>>> Unfortunately I can't provide you with such a sample pom, as I
>>> completely dropped using this approach.
>>> But I think I posted everything you need to use that approach ... just
>>> make sure to have the main application generate the linkage report and
>>> then in your child, you need to add the loadExterns to reference the
>>> main application. Then fm should take care of everything.
>>>
>>> Regarding the optimizer-goal. I seem to be unable to use that at all.
>>> As soon as I try using it, my build hangs in 50% of my modules. I can
>>> read an aparat error message and then flexmojos never quits as it
>>> seems to be waiting for something and this will never happen because
>>> apparat died in the background :-(
>>>
>>> Chris
>>>
>>> 2011/7/5 [email protected] <[email protected]>:
>>>
>>>
>>>
>>> > I cant get LZMA compression to work using reduceMatryoshkaType (queit
>>> > or preloader).
>>>
>>> > @Christofer: Hi I read the web site link you referred to, can you
>>> > provide me an example POM if you have one on how you have configured
>>> > the parent module launching sub modules? I have a similar requirement,
>>> > a main application loads sever other modules. Right now some of the
>>> > classes are duplicated into the main application and the individual
>>> > modules. Your approach with using link report is neat, just need to
>>> > understand how I need to use it.
>>>
>>> > On Jul 5, 7:05 pm, Christofer Dutz <[email protected]>
>>> > wrote:
>>> >> I have a very similar setup and for me that combination works like a 
>>> >> charm ...
>>> >> I described my steps 
>>> >> here:http://dev.c-ware.de/confluence/display/PUBLIC/Optimizing+your+build
>>>
>>> >> What exactly is not working at runtime?
>>>
>>> >> Chris
>>>
>>> >> 2011/7/5 SiD <[email protected]>:
>>>
>>> >> > Hey,
>>>
>>> >> > I would like to hear if there is any success stories with using FM4b7
>>> >> > in a multi-module with rsl application.
>>>
>>> >> > Just to make sure what I know from my investigation:
>>>
>>> >> > You need to have swfVersion 11 configured:
>>> >> > <swfVersion>11</swfVersion>
>>>
>>> >> > To embed fonts/images you need to configure FM4 plugin with flexmojos-
>>> >> > threadlocaltoolkit-wrapper like this:
>>> >> > ...
>>> >> > <plugin>
>>> >> > <groupId>org.sonatype.flexmojos</groupId>
>>> >> > <artifactId>flexmojos-maven-plugin</artifactId>
>>> >> > <version>${flexmojos-version}</version>
>>> >> > <extensions>true</extensions>
>>> >> > <dependencies>
>>> >> >        <dependency>
>>> >> >                <groupId>org.sonatype.flexmojos</groupId>
>>> >> >                
>>> >> > <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>
>>> >> >                <version>${flexmojos-version}</version>
>>> >> >        </dependency>
>>> >> >        <dependency>
>>> >> >                <groupId>com.adobe.flex</groupId>
>>> >> >                <artifactId>compiler</artifactId>
>>> >> >                <version>${flex-framework-version}</version>
>>> >> >                <type>pom</type>
>>> >> >                <scope>compile</scope>
>>> >> >        </dependency>
>>> >> > </dependencies>
>>> >> > ...
>>>
>>> >> > Some configuration has changed name from 3.*: compiledLocales is now
>>> >> > localesCompiled, etc.
>>> >> >http://repository.sonatype.org/content/sites/flexmojos-site/4.0-SNAPS...
>>>
>>> >> > To create a SWC with a RSL, you need to specify the create-rsl goal
>>> >> > since FM4 does not seem to do it automatically:
>>> >> > <execution>
>>> >> >        <goals>
>>> >> >                <goal>create-rsl</goal>
>>> >> >        </goals>
>>> >> > </execution>
>>>
>>> >> > If you want the new fonts manager as configured by Flash Builder add
>>> >> > this to the configuration:
>>> >> > <fonts>
>>> >> >  <advancedAntiAliasing>true</advancedAntiAliasing>
>>> >> >  <managers>
>>> >> >        <manager-class>flash.fonts.JREFontManager</manager-class>
>>> >> >        <manager-class>flash.fonts.BatikFontManager</manager-class>
>>> >> >        <manager-class>flash.fonts.AFEFontManager</manager-class>
>>> >> >        <manager-class>flash.fonts.CFFFontManager</manager-class>
>>> >> >  </managers>
>>> >> > </fonts>
>>>
>>> >> > Make sure to use the same ordering in you dependencies for flash
>>> >> > frameworks. Here is mine, can not guarantee it will work. This is
>>> >> > configured as "caching" for my SWF, you should make sure to use
>>> >> > "external" for your SWC.
>>>
>>> >> > <dependency>
>>> >> >        <groupId>com.adobe.flex.framework</groupId>
>>> >> >        <artifactId>playerglobal</artifactId>
>>> >> >        <version>${flex-framework-version}</version>
>>> >> >        <classifier>10.2</classifier>
>>> >> >        <type>swc</type>
>>> >> >        <scope>external</scope>
>>> >> > </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>textLayout</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>framework</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>spark</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>sparkskins</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>rpc</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>charts</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>mx</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> >  <dependency>
>>> >> >         <groupId>com.adobe.flex.framework</groupId>
>>> >> >         <artifactId>advancedgrids</artifactId>
>>> >> >         <version>${flex-framework-version}</version>
>>> >> >         <type>swc</type>
>>> >> >         <scope>caching</scope>
>>> >> >  </dependency>
>>> >> > <dependency>
>>> >> >        <groupId>com.adobe.flex.framework</groupId>
>>> >> >        <artifactId>flex-framework</artifactId>
>>> >> >        <version>${flex-framework-version}</version>
>>> >> >        <type>pom</type>
>>> >> >        <exclusions>
>>> >> >                <exclusion>
>>> >> >                        <groupId>com.adobe.flex.framework</groupId>
>>> >> >                        <artifactId>playerglobal</artifactId>
>>> >> >                </exclusion>
>>> >> >        </exclusions>
>>> >> > </dependency>
>>>
>>> >> > If you want the "halo" theme add the following dependency
>>> >> > <dependency>
>>> >> >        <groupId>com.adobe.flex.framework</groupId>
>>> >> >        <artifactId>halo</artifactId>
>>> >> >        <version>${flex-framework-version}</version>
>>> >> >        <classifier>theme</classifier>
>>> >> >        <type>swc</type>
>>> >> >        <scope>theme</scope>
>>> >> >  </dependency>
>>>
>>> >> > Here is all that I could find to make FM4b7 compile with
>>> >> > 4.5.0.20967... but it does not work at runtime.
>>>
>>> >> > --
>>> >> > 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/
>>>
>>> > --
>>> > 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/
>>
>> --
>> 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/
>>
>

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