Introduction

Release of As2ant 2.1 with a new task 'Swfsli' and many bug fixes. Swfsli injects script limit tags into SWFs to alter maximum recursion depth and script timeout.

Thursday, July 13th, 2006 at 4:30 pm

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.

4 Responses to “As2ant 2.1”

  1. Carlos Rovira

    Many Thanks Simon, the trace=”no” fix bug was very necesary for me in order to start using 2.x version in my current projects. :)

  2. Simon Wacker

    Hi Carlos,

    I’m glad that you can finally use the latest As2ant version. If you find any more bugs or inconsistencies (that I didn’t meant to introduce), please report them.

    Cheers,
    Simon

  3. Anthony

    Just tried out the Ant UnitTest and the output to the Eclipse console is really nice. A minor thing is that the sample for as2lib unit tests, MyTest.as, was using asunit.framework.TestCase, but I think you mean to use org.as2lib.test.unit.TestCase for the sample.

  4. Simon Wacker

    Hi Anthony,

    thanks for the report, I fixed it. I wonder how this bug got in. I actually created the As2lib Unit Test sample before the AsUnit sample; and tested both samples. They worked, at least at the time when I tested them. Life can be quite strange sometimes. ;)
    Greetings,
    Simon