bufanliu / apparat

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

ant tasks problems with coverage #35

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:01

GoogleCodeExporter commented 9 years ago
sorry for duplicate report got a 500 from the server but apparently it came 
trough anyway

Original comment by arno...@gmail.com on 16 Nov 2010 at 3:03

GoogleCodeExporter commented 9 years ago
Issue 36 has been merged into this issue.

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

GoogleCodeExporter commented 9 years ago
What is the value of ${dir.src}? I think there is a configuration problem. 
Coverage will only instrument classes specified for a given source path.

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

GoogleCodeExporter commented 9 years ago
I think this is just a configuration issue. We cannot help you without more 
information.

Original comment by joaebert on 20 Dec 2010 at 9:23