Just released As2ant 2.0 (Apache Ant Tasks for Flash). Best new feature is the unit test task. It executes a unit test swf and prints the result directly to the console (command line, eclipse console, …). As2lib Unit Test and AsUnit are directly supported, but you may plug-in any other unit testing framework. An As2lib sample is included in the distribution.
Complete list of changes:
[+] org.as2lib.ant.UnitTest
Added task to execute unit tests. As2lib Unit Test and AsUnit are directly supported.
[!] org.as2lib.ant.Mtasc
Detects and removes duplicate source files which are very likely when bean definition xml files are used as source files.
[+] org.as2lib.ant.Mtasc
Added new argument: ‘packset’. This argument can be used to include multiple packages based on name patterns (analogous to ’srcset’).
[+] org.as2lib.ant.Mtasc
Added support for wimp-flag (turns warnings for unused imports on)
[+] org.as2lib.ant.Mtasc
Added namespace support for xml source files (according to the As2lib Application Context specification)
Hope you enjoy this major release. ![]()
