bufanliu / apparat

Automatically exported from code.google.com/p/apparat
0 stars 0 forks source link

ant tasks problems with coverage #36

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1.  see attached zip
2. i added the Coverage class to example_as3 source
3. i added coverage in the compile target like:
         <coverage
            failonerror="true"
            fork="true"
            classpathref="apparat.path"
            in="example-as3.swf"
            out="example-as3_coverage.swf"
            dir="${dir.bin}"
            source="${dir.src}">
        </coverage>

What is the expected output? What do you see instead?

expected a bigger .swf for the instrumented version
but filesize exactly the same of the instrumented and the regular swf

What version of the product are you using? On what operating system?
osx 10.6.4, apparat 1.0-RC8

Please provide any additional information below.
setting the compiler on debug mode fixes the problem. I'm not sure if the 
instrumentation should only work with debug versions of the input swf. If so 
this might be better documented in the README.

Original issue reported on code.google.com by arno...@gmail.com on 16 Nov 2010 at 3:02

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by joaebert on 2 Dec 2010 at 1:02