Cobertura no classes loaded

View: New views
13 Messages — Rating Filter:   Alert me  

Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

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

    http://xircles.codehaus.org/manage_email



Re: Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 09:32, Jason Porter <lightguard.jp@...> 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

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

    http://xircles.codehaus.org/manage_email



Re: Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 09:42, Jason Porter <lightguard.jp@...> wrote:

> On Mon, Oct 19, 2009 at 09:32, Jason Porter <lightguard.jp@...> 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



Re: Re: Cobertura no classes loaded

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <lightguard.jp@...>:

> On Mon, Oct 19, 2009 at 09:42, Jason Porter <lightguard.jp@...> wrote:
>> On Mon, Oct 19, 2009 at 09:32, Jason Porter <lightguard.jp@...> 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



Re: Re: Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 10:15, Tomek Kaczanowski
<kaczanowski.tomek@...> 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 <lightguard.jp@...>:
>> On Mon, Oct 19, 2009 at 09:42, Jason Porter <lightguard.jp@...> wrote:
>>> On Mon, Oct 19, 2009 at 09:32, Jason Porter <lightguard.jp@...> 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



Re: Re: Cobertura no classes loaded

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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 <lightguard.jp@...>:

> On Mon, Oct 19, 2009 at 10:15, Tomek Kaczanowski
> <kaczanowski.tomek@...> 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 <lightguard.jp@...>:
>>> On Mon, Oct 19, 2009 at 09:42, Jason Porter <lightguard.jp@...> wrote:
>>>> On Mon, Oct 19, 2009 at 09:32, Jason Porter <lightguard.jp@...> 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

cobertura.zip (6K) Download Attachment

Re: Re: Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 12:53, Tomek Kaczanowski
<kaczanowski.tomek@...> 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 <lightguard.jp@...>:
>> On Mon, Oct 19, 2009 at 10:15, Tomek Kaczanowski
>> <kaczanowski.tomek@...> 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 <lightguard.jp@...>:
>>>> On Mon, Oct 19, 2009 at 09:42, Jason Porter <lightguard.jp@...> wrote:
>>>>> On Mon, Oct 19, 2009 at 09:32, Jason Porter <lightguard.jp@...> 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

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

    http://xircles.codehaus.org/manage_email



Re: Re: Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 13:08, Jason Porter <lightguard.jp@...> wrote:

> On Mon, Oct 19, 2009 at 12:53, Tomek Kaczanowski
> <kaczanowski.tomek@...> 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 <lightguard.jp@...>:
>>> On Mon, Oct 19, 2009 at 10:15, Tomek Kaczanowski
>>> <kaczanowski.tomek@...> 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 <lightguard.jp@...>:
>>>>> On Mon, Oct 19, 2009 at 09:42, Jason Porter <lightguard.jp@...> wrote:
>>>>>> On Mon, Oct 19, 2009 at 09:32, Jason Porter <lightguard.jp@...> 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



Re: Re: Cobertura no classes loaded

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Jason,

> 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"
hmmm.... strange
If I do this I end up with two cobertura.ser - one in root and one in
build dir (and the first one contains the real information).

The only way it works for me, is when I use
def cobSerFile="cobertura.ser"

--
Tomek

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



Re: Re: Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 13:25, Tomek Kaczanowski
<kaczanowski.tomek@...> wrote:

> Hi Jason,
>
>> 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"
> hmmm.... strange
> If I do this I end up with two cobertura.ser - one in root and one in
> build dir (and the first one contains the real information).
>
> The only way it works for me, is when I use
> def cobSerFile="cobertura.ser"
>
> --
> Tomek
>
>>
>> --
>> 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
>
>
>

Did you tell JUnit / TestNG where the data file was at?  Had to do that as well.

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



Re: Re: Cobertura no classes loaded

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Did you tell JUnit / TestNG where the data file was at?  Had to do that as well.
Uh, nope. How can I do this ? Could you send me your build.gradle file ?

--
Tomek

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

    http://xircles.codehaus.org/manage_email



Re: Re: Cobertura no classes loaded

by LightGuard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 13:36, Tomek Kaczanowski
<kaczanowski.tomek@...> wrote:

>> Did you tell JUnit / TestNG where the data file was at?  Had to do that as well.
> Uh, nope. How can I do this ? Could you send me your build.gradle file ?
>
> --
> Tomek
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
Sure.  Here ya go.

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

build.gradle (4K) Download Attachment

Re: Re: Cobertura no classes loaded

by Tomek Kaczanowski-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

thank you !

I will update the http://docs.codehaus.org/display/GRADLE/Cookbook entry soon.

--
Tomek

2009/10/19 Jason Porter <lightguard.jp@...>:

> On Mon, Oct 19, 2009 at 13:36, Tomek Kaczanowski
> <kaczanowski.tomek@...> wrote:
>>> Did you tell JUnit / TestNG where the data file was at?  Had to do that as well.
>> Uh, nope. How can I do this ? Could you send me your build.gradle file ?
>>
>> --
>> Tomek
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>>
>
> Sure.  Here ya go.
>
> --
> 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