Ok... next problem. Tried to turn on code coverage reporting by editing
the pom.xml for my archetype constructed swc. Followed the instructions
here
https://docs.sonatype.org/display/FLEXMOJOS/Test+coverage+support
to add <coverage>true</coverage> to the <configuration> section of the
plugin.
It appears that flexmojo attempts to instrument the code for coverage,
but hangs.
I grabbed the actual coverage source code out of git for the calculator
example referenced on the above page. Had to patch the pom.xml file to
have <extensions>true</extensions> or it would not build (somewhat
concerning). After that, same result.
Is something broken right now with coverage instrumentation?
Attached are the logs for 'mvn clean install'
Richard
--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos
http://flexmojos.sonatype.org/
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building calculator 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ calculator-api ---
[INFO] Deleting /home/trees/cpd5/iris/mainline/srcroot/swc/coverage/target
[INFO]
[INFO] --- maven-resources-plugin:2.5:resources (default-resources) @
calculator-api ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/home/trees/cpd5/iris/mainline/srcroot/swc/coverage/src/main/resources
[INFO]
[INFO] --- flexmojos-maven-plugin:4.0-beta-7:compile-swc (default-compile-swc)
@ calculator-api ---
[INFO] Flexmojos 4.0-beta-7
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[WARNING] No themes are explicitly defined in the <theme> section or in any
scope="theme" dependencies. Flexmojos is now attempting to figure out which
themes to include. (to avoid this warning you should explicitly state your
theme dependencies)
[WARNING] Added the spark.css theme because spark.swc was included as a
dependency
[WARNING] Added the halo.swc theme because mx.swc was included as a dependency
[INFO] Writing configuration dump to
/home/trees/cpd5/iris/mainline/srcroot/swc/coverage/target/calculator-api-1.0-SNAPSHOT-configs.xml
[INFO]
/home/trees/cpd5/iris/mainline/srcroot/swc/coverage/target/calculator-api-1.0-SNAPSHOT.swc
(1858 bytes)
[INFO]
[INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @
calculator-api ---
[debug] execute contextualize
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/home/trees/cpd5/iris/mainline/srcroot/swc/coverage/src/test/resources
[INFO]
[INFO] --- flexmojos-maven-plugin:4.0-beta-7:test-compile
(default-test-compile) @ calculator-api ---
[INFO] Flexmojos 4.0-beta-7
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Compiling test class: [com.adobe.example.TestCalculator2,
com.adobe.example.TestCalculator]
[WARNING] No themes are explicitly defined in the <theme> section or in any
scope="theme" dependencies. Flexmojos is now attempting to figure out which
themes to include. (to avoid this warning you should explicitly state your
theme dependencies)
[WARNING] Added the spark.css theme because spark.swc was included as a
dependency
[WARNING] Added the halo.swc theme because mx.swc was included as a dependency
[INFO] Writing configuration dump to
/home/trees/cpd5/iris/mainline/srcroot/swc/coverage/target/test-classes/TestRunner-configs.xml
[INFO]
/home/trees/cpd5/iris/mainline/srcroot/swc/coverage/target/test-classes/TestRunner.swf
(810510 bytes)
[INFO]
[INFO] --- flexmojos-maven-plugin:4.0-beta-7:test-run (default-test-run) @
calculator-api ---
[INFO] Flexmojos 4.0-beta-7
[INFO] Apache License - Version 2.0 (NO WARRANTY) - See COPYRIGHT file
[INFO] Instrumenting:
/home/trees/cpd5/iris/mainline/srcroot/swc/coverage/target/test-classes/TestRunner.swf