On Mon, Oct 19, 2009 at 13:08, Jason Porter <[email protected]> wrote:
> On Mon, Oct 19, 2009 at 12:53, Tomek Kaczanowski
> <[email protected]> wrote:
>> Hi Jason,
>>
>> How many cobertura.ser files can you see in the whole directory tree
>> after you run your tests ? More than one ?
>>
>> Could you please try the attachment - run "gradle test" and see if the
>> report works (should be generated in build/test-results). If so, than
>> you can build on this example and see at what point the report stops
>> working. If it doesn't work, than it means there is some difference in
>> environment that causes the bug.
>>
>> --
>> Tomek
>>
>> 2009/10/19 Jason Porter <[email protected]>:
>>> On Mon, Oct 19, 2009 at 10:15, Tomek Kaczanowski
>>> <[email protected]> wrote:
>>>> Hi Jason,
>>>>
>>>> which JDK you have ? I remember having such problems with Cobertura
>>>> after upgrading to jdk-6u14 (see for example here:
>>>> http://jira.codehaus.org/browse/MCOBERTURA-102)
>>>>
>>>> Maybe this is the case and the change of JDK will help ? (I downgraded
>>>> to update 13)
>>>>
>>>> --
>>>> Tomek
>>>>
>>>>
>>>>
>>>> 2009/10/19 Jason Porter <[email protected]>:
>>>>> On Mon, Oct 19, 2009 at 09:42, Jason Porter <[email protected]> 
>>>>> wrote:
>>>>>> On Mon, Oct 19, 2009 at 09:32, Jason Porter <[email protected]> 
>>>>>> wrote:
>>>>>>> I'm following the instructions at
>>>>>>> http://docs.codehaus.org/pages/viewpage.action?pageId=128843779 and
>>>>>>> the cobertera-report task tells me (in debug) that there are no
>>>>>>> classes loaded, and it doesn't look like there's anything in the
>>>>>>> cobertura.ser file :(  Any ideas?
>>>>>>>
>>>>>>> --
>>>>>>> Jason Porter
>>>>>>> Real Programmers think better when playing Adventure or Rogue.
>>>>>>>
>>>>>>> PGP key id: 926CCFF5
>>>>>>> PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
>>>>>>> PGP key available at: keyserver.net, pgp.mit.edu
>>>>>>>
>>>>>>
>>>>>>
>>>>>> Never mind, user error.
>>>>>>
>>>>>> --
>>>>>> Jason Porter
>>>>>> Real Programmers think better when playing Adventure or Rogue.
>>>>>>
>>>>>> PGP key id: 926CCFF5
>>>>>> PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
>>>>>> PGP key available at: keyserver.net, pgp.mit.edu
>>>>>>
>>>>>
>>>>>
>>>>> Okay, still having problems.  Got the classes to load up and they
>>>>> display in the report, but I'm not seeing any coverage.  They're all
>>>>> at 0, and I know I have at least one line of coverage.
>>>>>
>>>>> --
>>>>> Jason Porter
>>>>> Real Programmers think better when playing Adventure or Rogue.
>>>>>
>>>>> PGP key id: 926CCFF5
>>>>> PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
>>>>> PGP key available at: keyserver.net, pgp.mit.edu
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe from this list, please visit:
>>>>>
>>>>>    http://xircles.codehaus.org/manage_email
>>>>>
>>>>>
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe from this list, please visit:
>>>>
>>>>    http://xircles.codehaus.org/manage_email
>>>>
>>>>
>>>>
>>>
>>> JDK6, I forgot got to check.  Let me look at the bug report.
>>> ....
>>> Switched to JDK5 still seeing the same thing.
>>>
>>> --
>>> Jason Porter
>>> Real Programmers think better when playing Adventure or Rogue.
>>>
>>> PGP key id: 926CCFF5
>>> PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
>>> PGP key available at: keyserver.net, pgp.mit.edu
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe from this list, please visit:
>>>
>>>    http://xircles.codehaus.org/manage_email
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
> Got two of them Tomek (and they are different):
> $ find . -name "*.ser"
> ./build/test-results/cobertura.ser
> ./cobertura.ser
>
> I'll try the zip file in a bit.
>
> --
> Jason Porter
> Real Programmers think better when playing Adventure or Rogue.
>
> PGP key id: 926CCFF5
> PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
> PGP key available at: keyserver.net, pgp.mit.edu
>

Yep, that's what it was, the multiple ser files.  I set it to an
absolute path and everything is good now:
def cobSerFile="${project.buildDir}/cobertura.ser"

-- 
Jason Porter
Real Programmers think better when playing Adventure or Rogue.

PGP key id: 926CCFF5
PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5
PGP key available at: keyserver.net, pgp.mit.edu

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to