Hello Andy,

when I use maven clover 1.0 plugin then I am getting clover:test target. but
when I execute the same, I am getting
"Compiler Adapter 'org.apache.tools.ant.taskdefs.CloverCompilerAdapter'
can't be found error". I referred the sites and placed clover.jar inside
ANT_HOME/lib and in classpath but still I am getting the same error. Is
there any way to resolve this.
I am trying with clover 1.0 plugin just because I am getting continuous
failures in clover 1.2 plugin.



-----Original Message-----
From: Andy Pols [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 17, 2003 12:24 PM
To: Maven Users List
Subject: Re: Clover generates 0% code coverage reports


Sorry should have said:

clover:on test

But that is not the reason it is not working as you have been using two
separate tasks.

It should work with your settings  - are your tests in the correct place?
Does the junit plugin work?

Andy

On 17/6/03 7:31 am, "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote:

> Hi Andy,
>
> I am using maven beta 9 version and clover 1.0. and
> if I run the command "maven clover:test"  it says no such target exists.
> and as I mentioned earlier, I am executing the same using two seperate
> commands.
> and my source directory and unit test source directory are same.
> and also I am having the maven.junit.fork=true property in
> project.properties.
>
> but still I am getting..the same error..
>
> RK
>
> -----Original Message-----
> From: Andy Pols [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 17, 2003 11:48 AM
> To: Maven Users List
> Subject: Re: Clover generates 0% code coverage reports
>
>
> The problem is that clover database logs are written on JVM shutdown.
> Thus if you call the clover test goal and then the report immediately
> after, you'll get an empty report.
>
> There are two solutions:
>
> So, to make it work, simply run :
>
> maven clover:test
>
> and then, in a separate command:
>
> maven clover:html-report
>
>
>
> Or placing the following in the project.properties file should also work:
> maven.junit.fork = true
>
> Andy
>
> On 17/6/03 6:38 am, "S. Radhakrishnan" <[EMAIL PROTECTED]> wrote:
>
>> Hi I am using maven beta 9 and clover 1.0. after referred the sites i am
>> doing the clover test and clover report in two seperate commands
>>> maven clover test
>>> maven clover
>> but still the report gives 0% code coverage. Is there any wrong in the
>> clover plugin ?.. please can anybody help me out.
>>
>>
>> Thanks & Regards,
>> S.Radhakrishnan,


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to