Hi Miguel,

Well if you want to use Flexmojos with Apache Flex things are a little more 
difficult than with Adobe Flex. The main reason is that we currently can't 
publish Maven artifacts (but this will come in 2015). So in a first step you 
have to convert the Apache Flex FDK to maven artifacts using the Apache Flex 
Mavenizer. I wrote down the steps here: 
https://cwiki.apache.org/confluence/display/FLEX/Quick+Start+Guide%3A+Building+Apache+Flex+applications+using+Maven

You have to switch to Flexmojos 7.0.1 (or 7.1.0-SNAPSHOT if you want to 
experiment with FlexJS and Falcon)

Unfortunately I don't quite know what you are talking about regarding the 
"export release build". If you are talking about a version without debug 
information, this is handled by the "debug" config option. The default is 
false, if you set this to true, you can debug the application, if you omit it 
or set it to false, this is the closest thing to a "release version" that I can 
think of. I usually pipe my swf modules through the apparat plugin to 
dramatically reduce the size of the output. I wrote down all changes I 
recommend here: 
https://dev.c-ware.de/confluence/display/PUBLIC/Optimizing+your+build

Hope this helps,
    Chris

________________________________________
Von: Miguel Ferreira <[email protected]>
Gesendet: Freitag, 12. Dezember 2014 15:26
An: [email protected]
Betreff: Flex Mojos and Export Release Build

Hi all and mainly for Chris :)
Long time that i don't use the Export Release Build.
I don't know if in fact is still possible for Flex SDK 4.10 (the one that i am 
using now) with combination for Flex mojos 6.0.1 to make the best release 
possible using something like export release build option in the pom files?
There is the kind of optimization in the Flex mojos?
there is a opion like <exportReleaseBuild>true</exportReleaseBuild> or maybe by 
default is already the case?
My configuration is the following:
<pluginManagement>                      <plugins>                               
<plugin>                                        
<groupId>net.flexmojos.oss</groupId>                                    
<artifactId>flexmojos-maven-plugin</artifactId>                                 
<version>${flexmojos.version}</version>                                 
<extensions>true</extensions>                                   <configuration> 
                                        <themes>                                
                        
<theme>${project.build.directory}/../../../bs2020Config/themes/Halo/halo.swc</theme>
                                                    
<theme>${project.build.directory}/../../../bs2020Config/themes/Spark/spark.css</theme>
                                                  
<theme>${project.build.directory}/../../../bs2020Config/themes/Spark/MXFTEText.css</theme>
                                              </themes>                         
                                                                      <fonts>   
                                         <managers>                             
                        <manager>flash.fonts.CFFFontManager</manager>           
                                 </managers>                                    
 </fonts>                                                                       
              <compilerWarnings>                                                
      <warn-no-constructor>false</warn-no-constructor>                          
                      </compilerWarnings>
                                                
<targetPlayer>${flash.version}</targetPlayer>
                                                <localesCompiled>               
                                        <locale>en_US</locale>                  
                                <locale>fr_FR</locale>                          
                </localesCompiled>
                                        </configuration>
                                        <dependencies>                          
                 <dependency>                                                   
<groupId>net.flexmojos.oss</groupId>                                            
        <artifactId>flexmojos-threadlocaltoolkit-wrapper</artifactId>           
                                        <version>${flexmojos.version}</version> 
                                          </dependency>                         
                                                                        
<dependency>                                                    
<groupId>com.adobe.flex</groupId>                                               
        <artifactId>compiler</artifactId>                                       
                <version>${flex.version}</version>                              
                        <type>pom</type>                                        
        </dependency>                                   </dependencies>
                                </plugin>                       </plugins>      
        </pluginManagement>

Thanks in advance all for some input.
At least i share the plugin configuration maybe also can help someone :)

Reply via email to