Hi,

it is fixed in the 4.1-beta (I have test it)
It seems there is a bug in the 4.0-RC2,
take a look here :
http://grepcode.com/file/repo1.maven.org/maven2/org.sonatype.flexmojos/flexmojos-coverage-reporter/4.0-RC2/org/sonatype/flexmojos/coverage/cobertura/CoberturaCoverageReport.java?av=f,
and notice this :
86 try
87         {
88             File coverageReportDestinationDir =
request.getReportDestinationDir();
89             coverageReportDestinationDir.mkdirs();
90
91             List<String> format = request.getFormats();
92             if ( format.contains( "html" ) )
93             {
94                 String coverageReportEncoding =
request.getReportEncoding();
95                 if
( StringUtils.isEmpty( coverageReportEncoding ) )
96                 {
97                     coverageReportEncoding = "UTF-8";
98                 }
99                 new HTMLReport( coverageProjectData,
coverageReportDestinationDir, finder, complexity,
100                                coverageReportEncoding );
101            }
102            else if ( format.contains( "xml" ) )
103            {
104                new XMLReport( coverageProjectData,
coverageReportDestinationDir, finder, complexity );
105            }
106            else if ( format.contains( "summaryXml" ) )
107            {
108                new SummaryXMLReport( coverageProjectData,
coverageReportDestinationDir, finder, complexity );
109            }
110        }

Regards


On Jan 26, 5:27 am, htulipe <[email protected]> wrote:
> Hi all,
>
> I can't get Flexmojo 4.0-RC2 to generate both XML and HTML cobertura
> reports. Is this a known fact?
>
> Here is a extract of my pom.xml:
>
> <configuration>
>   <coverage>true</coverage>
>   <coverageOutputDirectory>target\site\cobertura</
> coverageOutputDirectory>
>   <coverageReportFormat>
>     <param>xml</param>
>     <param>html</param>
>   <coverageReportFormat>
> </configuration>
>
> In this situation only XML is generated, (same if I invert param tags
> order).
>
> Any help woul be great. Thanks and keep up the good work.
>
> Regards

-- 
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/

Reply via email to