Hi guys,

today I am proud to report that I just had the first working compilation of a 
flexmojos module using falcon:


/Library/Java/JavaVirtualMachines/jdk1.7.0_65.jdk/Contents/Home/bin/java 
-Dmaven.home=/Users/christoferdutz/Devtools/Apache/apache-maven-3.1.1 
-Dclassworlds.conf=/Users/christoferdutz/Devtools/Apache/apache-maven-3.1.1/bin/m2.conf
 -Didea.launcher.port=7534 "-Didea.launcher.bin.path=/Applications/IntelliJ 
IDEA 13.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath 
"/Users/christoferdutz/Devtools/Apache/apache-maven-3.1.1/boot/plexus-classworlds-2.5.1.jar:/Applications/IntelliJ
 IDEA 13.app/Contents/lib/idea_rt.jar" 
com.intellij.rt.execution.application.AppMain org.codehaus.classworlds.Launcher 
-Didea.version=13.1.5 --errors -DskipTests=true clean install
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hello-spark 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hello-spark ---
[INFO] Deleting /Users/christoferdutz/Projects/Flexmojos/hello-spark/target
[INFO]
[INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ 
hello-spark ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/Users/christoferdutz/Projects/Flexmojos/hello-spark/src/main/resources
[INFO]
[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:compile-swf 
(default-compile-swf) @ hello-spark ---
[INFO] Flexmojos 7.1.0-SNAPSHOT
[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[WARNING] No themes are explicitly defined in the <theme> section or in any 
scope="theme" dependencies. Flexmojos is now attempting to figure out which 
themes to include. (to avoid this warning you should explicitly state your 
theme dependencies)
[WARNING] Adding spark theme because spark.swc was included as a dependency

252394 bytes written to 
/Users/christoferdutz/Projects/Flexmojos/hello-spark/target/hello-spark-1.0-SNAPSHOT.swf
 in 4,913 seconds
[INFO]
[INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ 
hello-spark ---
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, 
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory 
/Users/christoferdutz/Projects/Flexmojos/hello-spark/src/test/resources
[INFO]
[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:test-compile 
(default-test-compile) @ hello-spark ---
[INFO] Flexmojos 7.1.0-SNAPSHOT
[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Skipping compiler, test source path doesn't exist.
[INFO]
[INFO] --- flexmojos-maven-plugin:7.1.0-SNAPSHOT:test-run (default-test-run) @ 
hello-spark ---
[INFO] Flexmojos 7.1.0-SNAPSHOT
[INFO] GPL License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Skipping test phase.
[INFO]
[INFO] --- maven-install-plugin:2.5.2:install (default-install) @ hello-spark 
---
[INFO] Installing 
/Users/christoferdutz/Projects/Flexmojos/hello-spark/target/hello-spark-1.0-SNAPSHOT.swf
 to 
/Users/christoferdutz/.m2/repository/info/rvin/itest/hello-spark/1.0-SNAPSHOT/hello-spark-1.0-SNAPSHOT.swf
[INFO] Installing /Users/christoferdutz/Projects/Flexmojos/hello-spark/pom.xml 
to 
/Users/christoferdutz/.m2/repository/info/rvin/itest/hello-spark/1.0-SNAPSHOT/hello-spark-1.0-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.980s
[INFO] Finished at: Fri Oct 10 10:53:44 CEST 2014
[INFO] Final Memory: 23M/455M
[INFO] ------------------------------------------------------------------------

Process finished with exit code 0


One thing I did notice, was that when executing the Falcon MXMLC I have to 
strip out any empty arguments from the argument list. Flexmojos generated an 
argument list containing two empty arguments:

-load-config=
-compiler.include-libraries=

If I remove them in general the old compiler complains. So I remove them only 
when executing Falcon.
Just wanted to report this, just in case this might be a problem.

Chris


Reply via email to