It should not make a difference whether  your aspects are in a different
jar or not.

The point Marc is making: when do those aspects get woven into your
classes?

During compile time or during runtime (load time).

For use with jacoco you should use compile time. Make sure they get woven
only once, and not one time for testing/coverage generation, and one time
for report generation.


On Thu, Mar 13, 2014 at 10:48 AM, Bangar Milind <[email protected]>wrote:

>
>
>> On Thursday, 13 March 2014 07:22:00 UTC, Bangar Milind wrote:
>>>
>>> Hi Marc,
>>>
>>> Thanks for the response. The Aspects are in a separate JAR, wherein we
>>> do not have control.
>>>
>>> Milind
>>>
>>> On Wednesday, 12 March 2014 16:37:56 UTC, Bangar Milind wrote:
>>>>
>>>> Hello,
>>>>
>>>> I am having strange issue with Jacoco (0.6.5.*).
>>>>
>>>> My current environment is :
>>>>
>>>> JDK : 1.6
>>>> Eclipse : Juno
>>>>
>>>> Its a Maven project, which uses Aspects (part of separate JAR) file
>>>> used as dependency within parent POM.
>>>>
>>>> Attaching the output which I am getting after running the coverage.
>>>>
>>>> There are only 3 Unit Tests against which I am running Jacoco, but not
>>>> sure where the problem is.
>>>>
>>>> Is it something to do with use of AspectJ???
>>>>
>>>> The test cases run absolutle fine, with jacoco.exec getting generated,
>>>> except that it does not have coverage data in it.... Would be clear from
>>>> the attachments.
>>>>
>>>> Any help please!!!!
>>>>
>>>> Milind
>>>>
>>>>
>>>>
>>>  --
> You received this message because you are subscribed to the Google Groups
> "JaCoCo and EclEmma Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
"I find many of the machines of violence very attractive. Tanks, airplanes,
warships, especially aircraft carriers."
- 14th Dalai Lama

-- 
You received this message because you are subscribed to the Google Groups 
"JaCoCo and EclEmma Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to