On Thu, Oct 14, 2010 at 6:59 AM, IanCalvert <[email protected]>wrote:
> Hi, > > I'm trying to get code coverage working, and am running into problems. > > I'm following the example here : > https://docs.sonatype.org/display/FLEXMOJOS/Test+coverage+support > > I'm using the project from : > > http://svn.sonatype.org/flexmojos/branches/flexmojos-4.x/flexmojos-touchstone/coverage/ > > When running, it seems to try and parse the as file as a java file: > > WARN getAccumlatedCCNForSource, JavaNCSS got an error while parsing > the java file T:\Code\Flash\Workspace\bbc-tvp-flash-genericmenu > \coverage\src\com\adobe\example\Calculator.as > ParseException in STDIN > Last useful checkpoint: "" > Encountered " "{" "{ "" at line 9, column 1. > Was expecting: > ";" ... > > I wonder if this line from the debug log is related: > [DEBUG] Instrumenting code to test coverage mode null > > This then errors out, although all works fine without coverage set to > true. I've put the end of the -e -X output log here (full log is 180k, > can provide it if anyone knows where it can be uploaded) : > http://pastie.org/1220330 > > I'm running maven 3.0 (release), flexmojos 4.0-SNAPSHOT (also tested > with alpha-5, alpha-3 and alpha-2), running on XP. Tried compiling on > the command line with mvn clean install and through IntelliJ. > > Any advice? It seems other people have got this running with the same > versions (alpha-2 particularly). I'm perhaps missing a config setting, > or another tool if it needs installing. > Download sources, fix it, submit a patch. > > Please let me know if any other information would be useful. > > Regards, > Ian > > -- > 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]<flex-mojos%[email protected]> > For more options, visit this group at > http://groups.google.com/group/flex-mojos > > http://flexmojos.sonatype.org/ > -- 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/
