Hi folks,
Some days ago Clement Worg released his HelfFire compiler.
How it works? Well, you will have server and client compiler. Start server as a daemon and run compilation with client. Client will send the configurations to server and server will compile. With this, you don’t have to reload flex compiler every time you call maven. That’s a interesting idea. On my tests, show 50% faster on recurrent compilations.
Just to remember, compiling flex SDK, flex-mojos is two times faster them ant tasks. And flex-mojos, with hellFire, so far, show be faster them standard flex-mojos. So I recommend it for complex projects =p.
Like always, I released a sample on SVN.
http://svn.sonatype.org/flexmojos/trunk/rvin-mojo/flex-mojo-IT/src/test/resources/rpc-hfcd-sdk/
It’s very like to using a newer flex SDK. Just need to add a updated dependency on pom.xml:
<plugin>
<groupId>info.flex-mojos</groupId>
<artifactId>flex-compiler-mojo</artifactId>
<extensions>true</extensions>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>flex-compiler-oem</artifactId>
<version>3.0.0.477-hfcd-SNAPSHOT</version>
</dependency>
</dependencies>
</plugin>
I call hfcd as version 3.0.0.477-hfcd-SNAPSHOT. I need to discovery if is possible to exclude flex-compiler-oem from dependency list and then add hfcd-client-compiler or something like that. Ok, focus, focus, focus, lets back.
When add this on pom, all is done, on flex-mojos side.
Install HFC following blog instructions. Start hfcd in one console instance then run maven in other.
Easy right?
Here I got some cool results.
I added hfcd-SNAPSHOT to flex-mojos repository. But don’t figure out why is not downloading (11PM, I need to sleep). May need installing by hand:
mvn install:install-file -DgroupId=com.adobe.flex -DartifactId=flex-compiler-oem -Dversion=3.0.0.477-hfcd-SNAPSHOT -Dpackaging=jar -Dfile=${HFCD_HOME}\lib\flex-compiler-oem.jar -DgeneratePom=true
So far, I still don’t know if Clement will release HFC opensource or not, but this is not a problem right now. This is a good question, for tomorrow.
Good rpc compilations for every one.
VELO