Author Archives: Marvin Froeder

Continuous Compilation in FlexMojos


October 14, 2010 By Marvin Froeder

I’ve got some great information to pass on. One of our open source contributors Joa Ebert contributed some code to enable a very useful feature in FlexMojos 4.0. FlexMojos 4.0 will ship with a new feature for rapid application development and good old Flash experiments.

Continuous compilation monitors your source path and dependencies. Whenever your SWF needs to be recompiled FlexMojos will do so and launch a Flash Player showing the output file.

This is a great feature since it is independent from any IDE. A common scenario is a small Flash experiment. You might want to tweak parameters and play around with it. Thanks to FlexMojos you can omit the step of having to compile and launch it. Just type your code and get instant results.

You save precious time as well since the Flex compiler will stay in memory and the Java Virtual Machine does not need to be restarted.

To enable continous compilations for any application project you have to run the “cc” goal. You can also enable continous compilation for libraries using the “cc-swc” goal.

Flex Test Coverage Kept Simple with Flexmojos


April 28, 2010 By Marvin Froeder

If you take testing seriously as I do, you most likely know test code coverage tools.  And in the Flex Universe the de facto standard is Flex Cover.  Now let’s be honest here, the tool does the job but it isn’t simple.  Using it requires a special compiler to run code on Flex projects, which is the main reason why test code coverage never got into Flexmojos.  The available tool was too complex to use, and so I never gave it any serious thought.

Since day one, Flexmojos has tried to follow the KISS philosophy (Keep It Simple Stupid Smartguy).  With that in mind, Flexmojos is proud to announce state of the art test code coverage support.

Continue reading

Flexmojos Two Years Later


March 17, 2010 By Marvin Froeder

On March 18 2008 I checked in the first bits of code for Flexmojos.  Two years later, here we are: Flexmojos now provides first-class support for Flex and AIR development within Apache Maven. It allows for Maven to compile, optimize, and test Flex SWF, Flex SWC, Air SWF and Air SWC and Air files.

We are celebrating this anniversary with a dual release of Flexmojos 3.6 and Flexmojos 4.0-pre-alpha-1.

Flexmojos 3.6 Release

Flexmojos 3.6 most relevant changes:

  • Add a new source-view goal which goal produces a syntax highlighted version of the as, mxml and html if they are bundled in a SWF (thanks to Julien Nicoulaud for this contribution)
  • Some fixes to Flexbuilder metadata generation
  • Add support to Flex SDK 4.0.0.13555 and newer
  • Add support for building applications using Flashplayer 10.1 and Air 2.0
  • New configuration includeAsClasses for SWC compilation. Wildcard support for includeClasses
  • Generator mojo now supports package translation between Java and generated AS3
  • Support for granite generator 2.1 (thanks to Kyle Lebel)

For a full list of changes on 3.6, visit this page: https://issues.sonatype.org/browse/FLEXMOJOS/fixforversion/10629

Continue reading

Flexmojos 3.5.0 is out!


January 28, 2010 By Marvin Froeder

Last night I released Flexmojos 3.5.0.

Flexmojos provides first-class support for Flex and AIR development within Apache Maven. It allows for Maven to compile, optimize, and test Flex SWF, Flex SWC, Air SWF and Air SWC.

Most relevant changes:

  • fix the unit test parameters that stopped working on 3.3.0
  • asdoc now allow to aggregate all sub modules docs
  • created a new goal that build SWF with automation swcs
  • fix problems when building modules and runtime libraries
  • add the ability to produce non-optimized RSLs
  • fix asdoc on Flex 4

For a full list of changes, visit this page: https://issues.sonatype.org/browse/FLEXMOJOS/fixforversion/10437

VELO

Flexmojos 3.4.2 is out!


November 2, 2009 By Marvin Froeder

Flexmojos 3.4.2 is out!

Flexmojos provides first-class support for Flex and AIR development within Apache Maven. It allows Maven to compile, optimize, and test Flex SWF, Flex SWC, Air SWF and Air SWC.

We are proud to announce that Flexmojos now supports Flexunit4 and Fluint, being the first maven plugin to support Flexunit 4.

You can see all the other changes in Jira.

This is likely the last release in the 3.x series (although any critical bug will force a new release). Flexmojos 4.x development is focusing Flex 4. It probably won’t be compatible with Flex 3, but Flex 3 is well served by Flexmojos 3.x. Maven version will be bumped too, to Maven 2.2.1 or Maven 3, which contain some bug fixes not available on Maven 2.x (Flexmojos 3.x still compatible with Maven 2.0.9).