4 Oct 2010 22:04
Re: EMMA + Sonar
Update: I think it might have something to do with the fact that the code I'm instrumenting for coverage is located in a different directory from the source/compiled code that Sonar is analyzing. I'm going to take a look at the plugin's source code and see what I can find.
On September 27, 2010 at 5:09 PM Neil Shannon <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:
> Yes...
>
> Sent from my iPhone
>
> On Sep 27, 2010, at 11:06 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > Are you using Sonar's Emma plugin?
> >
> > Summers Pittman
> > ~Java Developer
> >>> Phone:912 293 2314
> >>> Website:www.sagaoftherealms.net
> >
> >
> >
> >
> > On Mon, Sep 27, 2010 at 11:06 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> Perhaps you could set up a build profile for Sonar which doesn't use Emma?
> >>
> >> It seems weird that using Emma would mess with its code coverage.
> >>
> >> Summers Pittman
> >> ~Java Developer
> >>>> Phone:912 293 2314
> >>>> Website:www.sagaoftherealms.net
> >>
> >>
> >>
> >>
> >> On Mon, Sep 27, 2010 at 9:57 AM, Neil Shannon <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:
> >>> Yes, my Junit results are reported correctly. I've run it without EMMA with normal results.
> >>>
> >>>
> >>> Sent from my iPhone
> >>>
> >>> On Sep 27, 2010, at 9:09 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >>>
> >>>> Does Sonar report your unit test results?
> >>>>
> >>>> Have you tried running Sonar without running Emma?
> >>>>
> >>>> Summers Pittman
> >>>> ~Java Developer
> >>>>>> Phone:912 293 2314
> >>>>>> Website:www.sagaoftherealms.net
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Mon, Sep 27, 2010 at 8:50 AM, nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org
> >>>> <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:
> >>>>> Is anyone using EMMA successfully with Sonar? I have an ant build that
> >>>>> instruments our code with EMMA and collects coverage information for the
> >>>>> unit tests. The Hudson EMMA plugin picks up the coverage information from
> >>>>> the XML file generated by EMMA fine--but I'm having trouble getting the
> >>>>> Sonar EMMA plugin to show coverage information.
> >>>>>
> >>>>>
> >>>>>
> >>>>> During the Sonar maven goal I can see the EMMA sensor running (it even takes
> >>>>> a few seconds so I know it's finding the .ec and .em report files), but when
> >>>>> I view the project in Sonar the coverage is always 0.0%.
> >>>>>
> >>>>>
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>>
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>>
> >>>>>
> >>>>> Neil
> >>>>>
> >>>>> _______________________________________________
> >>>>> ajug-members mailing list
> >>>>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>>>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>>>
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> ajug-members mailing list
> >>>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>
> >>> _______________________________________________
> >>> ajug-members mailing list
> >>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>
> >>
> >
> > _______________________________________________
> > ajug-members mailing list
> > ajug-members-4vciHtwbE8s@public.gmane.org
> > http://www.ajug.org/mailman/listinfo/ajug-members
>
> _______________________________________________
> ajug-members mailing list
> ajug-members-4vciHtwbE8s@public.gmane.org
> http://www.ajug.org/mailman/listinfo/ajug-members
> Yes...
>
> Sent from my iPhone
>
> On Sep 27, 2010, at 11:06 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > Are you using Sonar's Emma plugin?
> >
> > Summers Pittman
> > ~Java Developer
> >>> Phone:912 293 2314
> >>> Website:www.sagaoftherealms.net
> >
> >
> >
> >
> > On Mon, Sep 27, 2010 at 11:06 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >> Perhaps you could set up a build profile for Sonar which doesn't use Emma?
> >>
> >> It seems weird that using Emma would mess with its code coverage.
> >>
> >> Summers Pittman
> >> ~Java Developer
> >>>> Phone:912 293 2314
> >>>> Website:www.sagaoftherealms.net
> >>
> >>
> >>
> >>
> >> On Mon, Sep 27, 2010 at 9:57 AM, Neil Shannon <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:
> >>> Yes, my Junit results are reported correctly. I've run it without EMMA with normal results.
> >>>
> >>>
> >>> Sent from my iPhone
> >>>
> >>> On Sep 27, 2010, at 9:09 AM, Summers Pittman ℝ <secondsun-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >>>
> >>>> Does Sonar report your unit test results?
> >>>>
> >>>> Have you tried running Sonar without running Emma?
> >>>>
> >>>> Summers Pittman
> >>>> ~Java Developer
> >>>>>> Phone:912 293 2314
> >>>>>> Website:www.sagaoftherealms.net
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> On Mon, Sep 27, 2010 at 8:50 AM, nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org
> >>>> <nts-iBwA/AOYl3LESFs9clbB8g@public.gmane.org> wrote:
> >>>>> Is anyone using EMMA successfully with Sonar? I have an ant build that
> >>>>> instruments our code with EMMA and collects coverage information for the
> >>>>> unit tests. The Hudson EMMA plugin picks up the coverage information from
> >>>>> the XML file generated by EMMA fine--but I'm having trouble getting the
> >>>>> Sonar EMMA plugin to show coverage information.
> >>>>>
> >>>>>
> >>>>>
> >>>>> During the Sonar maven goal I can see the EMMA sensor running (it even takes
> >>>>> a few seconds so I know it's finding the .ec and .em report files), but when
> >>>>> I view the project in Sonar the coverage is always 0.0%.
> >>>>>
> >>>>>
> >>>>>
> >>>>> Any ideas?
> >>>>>
> >>>>>
> >>>>>
> >>>>> Cheers,
> >>>>>
> >>>>>
> >>>>>
> >>>>> Neil
> >>>>>
> >>>>> _______________________________________________
> >>>>> ajug-members mailing list
> >>>>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>>>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>>>
> >>>>>
> >>>>
> >>>> _______________________________________________
> >>>> ajug-members mailing list
> >>>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>
> >>> _______________________________________________
> >>> ajug-members mailing list
> >>> ajug-members-4vciHtwbE8s@public.gmane.org
> >>> http://www.ajug.org/mailman/listinfo/ajug-members
> >>>
> >>
> >
> > _______________________________________________
> > ajug-members mailing list
> > ajug-members-4vciHtwbE8s@public.gmane.org
> > http://www.ajug.org/mailman/listinfo/ajug-members
>
> _______________________________________________
> ajug-members mailing list
> ajug-members-4vciHtwbE8s@public.gmane.org
> http://www.ajug.org/mailman/listinfo/ajug-members
_______________________________________________ ajug-members mailing list ajug-members@... http://www.ajug.org/mailman/listinfo/ajug-members

RSS Feed