Introduction

What’s going on in the developer world?

Archive for the ‘News’ Category

Thursday, July 13th, 2006

As2ant 2.1

As2ant 2.1 has just been released. Many bugs have been fixed, especially in the unit test task, and a new task has been added: Swfsli. The swfsli task can be used to inject script limit tags into SWFs to alter the maximum recursion depth and/or the script timeout.

Full list of changes:

[+] samples/swfsli
Added sample showing usage of swfsli task.

[+] org.as2lib.ant.Swfsli
Added task for the SWF ScriptLimits Injector (http://buraks.com/swfsli).

[!] org.as2lib.ant.Mtasc
Enabled usage of “no” for “trace” argument.

[!] org.as2lib.ant.Swfmill
Removed watchdog for execution of swfmill. Watchdog aborted execution if it took too long which caused troubles with big symbols (clips, fonts, includes).

[+] samples/swfmill, samples/swf
Added samples showing usage of swfmill xml in-line.

[+] samples/asunit
Added sample showing how to use AsUnit with the unit test task.

[!] org.as2lib.test.unit.XmlSocketTestListener
Improved output: highlight only errors.

[!] org.as2lib.test.unit.XmlSocketResultPrinter
Fixed bug with wrong value in attribute “hasErrors” of element “finish”.

[+] org.as2lib.ant.UnitTest
Added proper handling of exceptions and failed tests.

Download As2ant from Sourceforge.

Sunday, June 11th, 2006

As2ant 2.0 with Unit Test Task

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)

Download As2ant 2.0.

Hope you enjoy this major release. ;)

Sunday, March 5th, 2006

As2ant 1.5: Specify Swfmill XML within Task

You can now specify the swfmill xml directly in the task. The advantages are that you have only one file to maintain (build.xml) and that you can use ant properties within the swfmill xml.

  1. <swf src="${src.dir}/com/simonwacker/ant/Sample.as" dest="${build.dir}/sample.swf">
  2.   <xml>
  3.     <![CDATA[
  4.       <movie width="300" height="100" framerate="31">
  5.         <background color=’#FF8A00′/>
  6.         <frame>
  7.           <library>
  8.             <clip id="simonwacker" import="${res}/simonwacker.jpg"/>
  9.             <font id="pixel" import="${res}/pixel.ttf"/>
  10.           </library>
  11.         </frame>
  12.       </movie>
  13.     ]]>
  14.   </xml>
  15. </swf>

Further enhancements are:

[+] org.as2lib.ant.Mtasc
Added special XML support for As2lib Bean Factory and Context.

[+] org.as2lib.ant.Swfmill / org.as2lib.ant.Swf
Added support for specifying the swfmill xml directly in the tasks.

[+] org.as2lib.ant.Swf
Added support for overriding font family names.

[+] org.as2lib.ant.Swfmill / org.as2lib.ant.Swf
Added support for extra verbose debugging output.

Download As2ant 1.5 from sourceforge.net
Download As2ant 1.5 from simonwacker.com

I hope you enjoy the new features!

Monday, February 27th, 2006

As2ant 1.0 with As2api Task

As2ant 1.0 has just been released! Best new features are the new As2api task and the custom-arguments support for the Mtasc task.

Full list of changes:

[+] org.as2lib.ant.As2api
Added support for HTML API documentation generation via As2api.

[!] org.as2lib.ant.Mtasc
Fixed bug with package-argument: Use relative paths!

[+] org.as2lib.ant.Mtasc
Added support for custom arguments: <argument name=”-myargument” value=”myvalue”/>

[~] org.as2lib.ant.Mtasc
Ignore classes in source xml files that cannot be found.

[+] org.as2lib.ant.Mtasc
Added support for source xml files with ‘type’ as attribute.

[+] org.as2lib.ant.Mtasc
Improved commandline output by adding locations to all exceptions.

[~] org.as2lib.ant.Mtasc
Compile all source files in split-mode, even when one raises a compile error.

Download As2ant 1.0 from sourceforge.net
Downlaod As2ant 1.0 from simonwacker.com

If you find any bugs please report them!

Thursday, October 13th, 2005

As2lib 0.9.3, New Version

A new version of the as2lib is finally available for download.

Major changes are:

  • A completely rewritten File framework that offers various file format representations, like properties files, and support for loading and parsing these files - org.as2lib.io.file
  • Support for configuring the Logging framework via XML - org.as2lib.env.log.parser
  • Improved Process and Unit Testing frameworks - org.as2lib.app.exec, org.as2lib.test.unit
  • Many bug fixes in the AOP framework - org.as2lib.aop
  • New Regular Expression (RegExp) framework (note that there is still much documentation missing) - org.as2lib.regexp

As you can see, it is definitely worth updating to this new version.

Download As2lib 0.9.3.

View API Documentation

If you find any bugs, report it, if you want a new feature, tell us about it, if you need support, ask us: Response.

The next releases will contain a Bean Factory and Application Context framework and of course - a documented Regular Expression (RegEx) framework. ;)
So, stay tuned!