You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Raphaël Piéroni <ra...@yahoo.fr> on 2004/07/15 12:49:24 UTC

[test coverage] jcoverage and cactus tests

Hello list,

Does any one know how to have the jcoverage of the cactus tests 
of a webapp using maven (1.0-rc4) ?

and a subsidiary question : how can i have the jxr of those 
cactus tests ?

in advance thanks for any answer.

Raphaël


	

	
		
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Matt Read <mr...@spotd.co.uk>.
I had a similar problem that I could only solve by manually modifying the
clover plugin. In my case I was trying to instrument code that was compiled
into a .war and deployed to an appserver. I raised a JIRA item to cover it
here but no movement yet: http://jira.codehaus.org/browse/MPCLOVER-18

Matt.


> -----Original Message-----
> From: Vincent Massol [mailto:vmassol@pivolis.com] 
> Sent: 16 July 2004 10:03
> To: 'Maven Users List'
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> 
> 
> > -----Original Message-----
> > From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> > Sent: vendredi 16 juillet 2004 10:38
> > To: Maven Users List
> > Subject: RE: [test coverage] jcoverage and cactus tests
> > 
> > i have looked a bit more at the output.
> > 
> > when i use "maven clover:on cactus", it pass the tests
> > 
> > but when i use "maven clover:report" just after, clover says it 
> > override its database, then execute the unit tests only and 
> i do not 
> > have the cactus tests covered.
> 
> Hmmm. I would need to try it. You can try calling "maven 
> clover:html-report-internal" instead of "maven clover:report" 
> so that the tests are not run. Beware though that 
> clover:html-report-internal is a non-public goal so it can 
> disappear anytime in the future. Thus we'll need to modify 
> the clover plugin to support generating the reports without 
> running the tests.
> 
> -Vincent
> 
> > 
> > R
> > 
> > 
> > --- Raphaël Piéroni <ra...@yahoo.fr> a écrit : > Thanks 
> > Vincent,
> > > but clover only has instrumented the junit tests and let 
> the cactus 
> > > tests un intrumented
> > >
> > > Raphaël
> > >
> > > --- Vincent Massol <vm...@pivolis.com> a écrit : > Hi Raphael,
> > > >
> > > > Simply type "maven clover:on cactus" and then "maven 
> clover:report"
> > > >
> > > > -Vincent
> > > >
> > > > > -----Original Message-----
> > > > > From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> > > > > Sent: vendredi 16 juillet 2004 07:57
> > > > > To: Maven Users List
> > > > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > > >
> > > > > even with clover ?
> > > > >
> > > > > --- Brett Porter <br...@gmail.com> a écrit : > 
> There is a
> > > > bug
> > > > > filed against the jcoverage plugin to implement this.
> > > > > > Not yet possible.
> > > > > >
> > > > > > - Brett
> > > > > >
> > > > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni 
> > > > > > <ra...@yahoo.fr> wrote:
> > > > > > > Hello list,
> > > > > > >
> > > > > > > Does any one know how to have the jcoverage of the cactus
> > > tests
> > > > > > > of a webapp using maven (1.0-rc4) ?
> > > > > > >
> > > > > > > and a subsidiary question : how can i have the 
> jxr of those 
> > > > > > > cactus tests ?
> > > > > > >
> > > > > > > in advance thanks for any answer.
> > > > > > >
> > > > > > > Raphaël
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> > Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> > 
> > Dialoguez en direct avec vos amis grâce à Yahoo! Messenger 
> > !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Matt Read <mr...@spotd.co.uk>.
You might need to ensure that the instrumented Cactus tests are the same
ones that are being used in the Cactified .war file. E.g.

maven.clover.build.classes = ${maven.build.dir}/classes


> -----Original Message-----
> From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr] 
> Sent: 16 July 2004 10:41
> To: Maven Users List
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> even when i modify the clover:report goal like this :
> 
>   <goal name="clover:report">
> 
>     <j:choose>
>       <j:when test="${unitTestSourcesPresent == 'true'}">
> 
>         <!--attainGoal name="clover:test"/--> ...
> 
> and when i try with maven -b clean java:compile clover:on 
> cactus clover:report 
> 
> i do only have the junit coverage but no cactus coverage.
> 
> Raphaël Piéroni
> 
> --- Raphaël Piéroni <ra...@yahoo.fr> a écrit : > i 
> have retried with :
> > maven -b clean java:compile clover:on cactus followed by maven -b 
> > clover:on clover:html-report-internal
> > 
> > and i have tried with :
> > maven -b clean java:compile clover:on cactus 
> > clover:html-report-internal
> > 
> 
> 
> 	
> 
> 	
> 		
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger 
> !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Raphaël Piéroni <ra...@yahoo.fr>.
even when i modify the clover:report goal like this :

  <goal name="clover:report">

    <j:choose>
      <j:when test="${unitTestSourcesPresent == 'true'}">

        <!--attainGoal name="clover:test"/-->
...

and when i try with maven -b clean java:compile clover:on cactus
clover:report 

i do only have the junit coverage but no cactus coverage.

Raphaël Piéroni

--- Raphaël Piéroni <ra...@yahoo.fr> a écrit : > i have
retried with :
> maven -b clean java:compile clover:on cactus
> followed by 
> maven -b clover:on clover:html-report-internal
> 
> and i have tried with :
> maven -b clean java:compile clover:on cactus
> clover:html-report-internal
> 


	

	
		
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Raphaël Piéroni <ra...@yahoo.fr>.
i have retried with :
maven -b clean java:compile clover:on cactus
followed by 
maven -b clover:on clover:html-report-internal

and i have tried with :
maven -b clean java:compile clover:on cactus
clover:html-report-internal

both have the same result : only the junit tests leads 
to a corevage report.

I have attached the logs for the three but i do not 
think that would help

Thanks Vincent,

Raphaël

--- Vincent Massol <vm...@pivolis.com> a écrit : > 
> 
> > -----Original Message-----
> > From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> > Sent: vendredi 16 juillet 2004 10:38
> > To: Maven Users List
> > Subject: RE: [test coverage] jcoverage and cactus tests
> > 
> > i have looked a bit more at the output.
> > 
> > when i use "maven clover:on cactus", it pass the tests
> > 
> > but when i use "maven clover:report" just after,
> > clover says it override its database, then execute the
> > unit tests only and i do not have the cactus tests covered.
> 
> Hmmm. I would need to try it. You can try calling "maven
> clover:html-report-internal" instead of "maven clover:report" so that
> the
> tests are not run. Beware though that clover:html-report-internal is
> a
> non-public goal so it can disappear anytime in the future. Thus we'll
> need
> to modify the clover plugin to support generating the reports without
> running the tests.
> 
> -Vincent
> 

maven -b clean java:compile clover:on cactus

build:start:

clean:clean:

clean:

java:prepare-filesystem:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\classes

java:compile:
    [echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/classes
    [javac] Compiling 73 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

clover:init:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\clover\classes
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\clover\database
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\docs\clover

clover:on:
    [echo] Setting Clover compiler
    [echo] Now using primary build.compiler :
org.apache.tools.ant.taskdefs.CloverCompilerAdapter

cactus:init:

cactus:test:
cactus:init:
Overriding previous definition of reference to cactus.classpath
Overriding previous definition of reference to cactus.scanner.classpath

cactus:init-report:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-reports
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-reports\tomcat5x

java:prepare-filesystem:

java:compile:
    [echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/clover/classes
    [javac] Compiling 73 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\clover\classes
    [javac] Clover Version 1.2.3, built on October 20 2003
    [javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
    [javac] Clover is not free. You have 30 days to evaluate it.
    [javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
    [javac] No coverage database
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
found. Creating a fresh one.
    [javac] Clover all over. Instrumented 73 files.
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

cactus:compile:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes
    [javac] Compiling 5 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes
    [javac] Clover Version 1.2.3, built on October 20 2003
    [javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
    [javac] Clover is not free. You have 30 days to evaluate it.
    [javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
    [javac] Updating database at
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
    [javac] Clover all over. Instrumented 0 files.
    [copy] Copying 16 files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes

cactus:cactifywar:
war:init:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/clover/classes

java:jar-resources:

test:prepare-filesystem:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-classes
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-reports

test:test-resources:
Copying 3 files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-classes

test:compile:
    [javac] Compiling 4 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-classes
    [javac] Clover Version 1.2.3, built on October 20 2003
    [javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
    [javac] Clover is not free. You have 30 days to evaluate it.
    [javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
    [javac] Updating database at
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
    [javac] Clover all over. Instrumented 0 files.

test:test:
    [junit] Running com...Test
    [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 0,935
sec
    [junit] Running com..IncomingCallTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,67
sec
    [junit] Running com..IncomingCallUtilTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0,95
sec

war:webapp:
    [echo] Assembling webapp project
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\tld
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\classes
    [copy] Copying 9 files to
C:\project\CVSLOCAL\project\experimentation\project\target\project
    [copy] Copied 2 empty directories to
C:\project\CVSLOCAL\project\experimentation\project\target\project
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 75 files to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\classes

war:war:
    [echo] Building WAR project
    [jar] Building jar:
C:\project\CVSLOCAL\project\experimentation\project\target\project.war

    [cactifywar] Analyzing war:
C:\project\CVSLOCAL\project\experimentation\project\target\project.war
    [cactifywar] Building war:
C:\project\CVSLOCAL\project\experimentation\project\target\project-cactus.war

cactus:test-war:
    [cactus]
-----------------------------------------------------------------
    [cactus] Running tests against Tomcat 5.0.25
    [cactus]
-----------------------------------------------------------------
    [cactus]
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-tomcat
not found.
    [cactus] Running com...CactusTest
    [cactus] log4j:WARN No appenders could be found for logger
(org.apache.cactus.internal.server.ServerTestCaseCaller).
    [cactus] log4j:WARN Please initialize the log4j system properly.
    [cactus] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,83
sec
    [cactus] Running com....ACacheTest
    [cactus] log4j:WARN No appenders could be found for logger
(org.apache.cactus.internal.server.ServerTestCaseCaller).
    [cactus] log4j:WARN Please initialize the log4j system properly.
    [cactus] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3,128
sec
    [cactus] Running com....BCacheTest
    [cactus] log4j:WARN No appenders could be found for logger
(org.apache.cactus.internal.server.ServerTestCaseCaller).
    [cactus] log4j:WARN Please initialize the log4j system properly.
    [cactus] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 21,036
sec
BUILD SUCCESSFUL
Total time: 2 minutes 18 seconds
Finished at: Fri Jul 16 11:10:45 CEST 2004



maven -b clover:on clover:html-report-internal

build:start:

clover:init:

clover:on:
    [echo] Setting Clover compiler
    [echo] Now using primary build.compiler :
org.apache.tools.ant.taskdefs.CloverCompilerAdapter

clover:html-report-internal:
    [clover-report] Clover Version 1.2.3, built on October 20 2003
    [clover-report] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [clover-report] 30 day Evaluation Version distributed via the Maven
Jar Repository.
    [clover-report] Clover is not free. You have 30 days to evaluate
it.
    [clover-report] Please visit http://www.thecortex.net/clover to
obtain a licensed version of Clover
    [clover-report] Writing report to
'C:\project\CVSLOCAL\project\experimentation\project\target\docs\clover'
    [clover-report] Merged results from 3 coverage recordings.
    [clover-report] Done. Processed 8 packages.
BUILD SUCCESSFUL Total time: 11 seconds Finished at: Fri Jul 16
11:12:11 CEST 2004




maven -b clean java:compile clover:on cactus
clover:html-report-internal

build:start:

clean:clean:
    [delete] Deleting directory
C:\project\CVSLOCAL\project\experimentation\project\target

clean:

java:prepare-filesystem:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\classes

java:compile:
    [echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/classes
    [javac] Compiling 73 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

clover:init:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\clover\classes
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\clover\database
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\docs\clover

clover:on:
    [echo] Setting Clover compiler
    [echo] Now using primary build.compiler :
org.apache.tools.ant.taskdefs.CloverCompilerAdapter

cactus:init:

cactus:test:
cactus:init:
Overriding previous definition of reference to cactus.classpath
Overriding previous definition of reference to cactus.scanner.classpath

cactus:init-report:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-reports
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-reports\tomcat5x

java:prepare-filesystem:

java:compile:
    [echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/clover/classes
    [javac] Compiling 73 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\clover\classes
    [javac] Clover Version 1.2.3, built on October 20 2003
    [javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
    [javac] Clover is not free. You have 30 days to evaluate it.
    [javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
    [javac] No coverage database
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
found. Creating a fresh one.
    [javac] Clover all over. Instrumented 73 files.
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.

cactus:compile:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes
    [javac] Compiling 5 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes
    [javac] Clover Version 1.2.3, built on October 20 2003
    [javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
    [javac] Clover is not free. You have 30 days to evaluate it.
    [javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
    [javac] Updating database at
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
    [javac] Clover all over. Instrumented 0 files.
    [copy] Copying 16 files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-classes

cactus:cactifywar:
war:init:

java:prepare-filesystem:

java:compile:
    [echo] Compiling to
C:\project\CVSLOCAL\project\experimentation\project/target/clover/classes

java:jar-resources:

test:prepare-filesystem:
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-classes
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\test-reports

test:test-resources:
Copying 3 files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-classes

test:compile:
    [javac] Compiling 4 source files to
C:\project\CVSLOCAL\project\experimentation\project\target\test-classes
    [javac] Clover Version 1.2.3, built on October 20 2003
    [javac] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [javac] 30 day Evaluation Version distributed via the Maven Jar
Repository.
    [javac] Clover is not free. You have 30 days to evaluate it.
    [javac] Please visit http://www.thecortex.net/clover to obtain a
licensed version of Clover
    [javac] Updating database at
'C:\project\CVSLOCAL\project\experimentation\project\target\clover\database\clover_coverage.db'
    [javac] Clover all over. Instrumented 0 files.

test:test:
    [junit] Running com...Test
    [junit] Tests run: 19, Failures: 0, Errors: 0, Time elapsed: 0,983
sec
    [junit] Running com..IncomingCallTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,703
sec
    [junit] Running com..IncomingCallUtilTest
    [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0,968
sec

war:webapp:
    [echo] Assembling webapp project
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\tld
    [mkdir] Created dir:
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\classes
    [copy] Copying 9 files to
C:\project\CVSLOCAL\project\experimentation\project\target\project
    [copy] Copied 2 empty directories to
C:\project\CVSLOCAL\project\experimentation\project\target\project
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 1 file to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\lib
    [copy] Copying 75 files to
C:\project\CVSLOCAL\project\experimentation\project\target\project\WEB-INF\classes

war:war:
    [echo] Building WAR project
    [jar] Building jar:
C:\project\CVSLOCAL\project\experimentation\project\target\project.war

    [cactifywar] Analyzing war:
C:\project\CVSLOCAL\project\experimentation\project\target\project.war
    [cactifywar] Building war:
C:\project\CVSLOCAL\project\experimentation\project\target\project-cactus.war

cactus:test-war:
    [cactus]
-----------------------------------------------------------------
    [cactus] Running tests against Tomcat 5.0.25
    [cactus]
-----------------------------------------------------------------
    [cactus]
C:\project\CVSLOCAL\project\experimentation\project\target\test-cactus-tomcat
not found.
    [cactus] Running com....CactusTest
    [cactus] log4j:WARN No appenders could be found for logger
(org.apache.cactus.internal.server.ServerTestCaseCaller).
    [cactus] log4j:WARN Please initialize the log4j system properly.
    [cactus] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,686
sec
    [cactus] Running com...ACacheTest
    [cactus] log4j:WARN No appenders could be found for logger
(org.apache.cactus.internal.server.ServerTestCaseCaller).
    [cactus] log4j:WARN Please initialize the log4j system properly.
    [cactus] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 3,107
sec
    [cactus] Running com...BCacheTest
    [cactus] log4j:WARN No appenders could be found for logger
(org.apache.cactus.internal.server.ServerTestCaseCaller).
    [cactus] log4j:WARN Please initialize the log4j system properly.
    [cactus] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 20,996
sec


cactus:

clover:html-report-internal:
    [clover-report] Clover Version 1.2.3, built on October 20 2003
    [clover-report] loaded from: file:/C:/Documents and
Settings/pieronra/.maven/repository/clover/jars/clover-1.2.3.jar
    [clover-report] 30 day Evaluation Version distributed via the Maven
Jar Repository.
    [clover-report] Clover is not free. You have 30 days to evaluate
it.
    [clover-report] Please visit http://www.thecortex.net/clover to
obtain a licensed version of Clover
    [clover-report] Writing report to
'C:\project\CVSLOCAL\project\experimentation\project\target\docs\clover'
    [clover-report] Merged results from 3 coverage recordings.
    [clover-report] Done. Processed 8 packages.
BUILD SUCCESSFUL
Total time: 2 minutes 32 seconds
Finished at: Fri Jul 16 11:19:31 CEST 2004



	

	
		
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Vincent Massol <vm...@pivolis.com>.

> -----Original Message-----
> From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> Sent: vendredi 16 juillet 2004 10:38
> To: Maven Users List
> Subject: RE: [test coverage] jcoverage and cactus tests
> 
> i have looked a bit more at the output.
> 
> when i use "maven clover:on cactus", it pass the tests
> 
> but when i use "maven clover:report" just after,
> clover says it override its database, then execute the
> unit tests only and i do not have the cactus tests covered.

Hmmm. I would need to try it. You can try calling "maven
clover:html-report-internal" instead of "maven clover:report" so that the
tests are not run. Beware though that clover:html-report-internal is a
non-public goal so it can disappear anytime in the future. Thus we'll need
to modify the clover plugin to support generating the reports without
running the tests.

-Vincent

> 
> R
> 
> 
> --- Raphaël Piéroni <ra...@yahoo.fr> a écrit : > Thanks
> Vincent,
> > but clover only has instrumented the junit tests
> > and let the cactus tests un intrumented
> >
> > Raphaël
> >
> > --- Vincent Massol <vm...@pivolis.com> a écrit : > Hi Raphael,
> > >
> > > Simply type "maven clover:on cactus" and then "maven clover:report"
> > >
> > > -Vincent
> > >
> > > > -----Original Message-----
> > > > From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> > > > Sent: vendredi 16 juillet 2004 07:57
> > > > To: Maven Users List
> > > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > >
> > > > even with clover ?
> > > >
> > > > --- Brett Porter <br...@gmail.com> a écrit : > There is a
> > > bug
> > > > filed against the jcoverage plugin to implement this.
> > > > > Not yet possible.
> > > > >
> > > > > - Brett
> > > > >
> > > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > > > <ra...@yahoo.fr> wrote:
> > > > > > Hello list,
> > > > > >
> > > > > > Does any one know how to have the jcoverage of the cactus
> > tests
> > > > > > of a webapp using maven (1.0-rc4) ?
> > > > > >
> > > > > > and a subsidiary question : how can i have the jxr of those
> > > > > > cactus tests ?
> > > > > >
> > > > > > in advance thanks for any answer.
> > > > > >
> > > > > > Raphaël
> 
> 
> 
> 
> 
> 
> 
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
> Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Raphaël Piéroni <ra...@yahoo.fr>.
i have looked a bit more at the output.

when i use "maven clover:on cactus", it pass the tests 

but when i use "maven clover:report" just after, 
clover says it override its database, then execute the 
unit tests only and i do not have the cactus tests covered.

R


--- Raphaël Piéroni <ra...@yahoo.fr> a écrit : > Thanks
Vincent, 
> but clover only has instrumented the junit tests
> and let the cactus tests un intrumented
> 
> Raphaël
> 
> --- Vincent Massol <vm...@pivolis.com> a écrit : > Hi Raphael,
> > 
> > Simply type "maven clover:on cactus" and then "maven clover:report"
> > 
> > -Vincent
> > 
> > > -----Original Message-----
> > > From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> > > Sent: vendredi 16 juillet 2004 07:57
> > > To: Maven Users List
> > > Subject: Re: [test coverage] jcoverage and cactus tests
> > > 
> > > even with clover ?
> > > 
> > > --- Brett Porter <br...@gmail.com> a écrit : > There is a
> > bug
> > > filed against the jcoverage plugin to implement this.
> > > > Not yet possible.
> > > >
> > > > - Brett
> > > >
> > > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > > <ra...@yahoo.fr> wrote:
> > > > > Hello list,
> > > > >
> > > > > Does any one know how to have the jcoverage of the cactus
> tests
> > > > > of a webapp using maven (1.0-rc4) ?
> > > > >
> > > > > and a subsidiary question : how can i have the jxr of those
> > > > > cactus tests ?
> > > > >
> > > > > in advance thanks for any answer.
> > > > >
> > > > > Raphaël



	

	
		
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Raphaël Piéroni <ra...@yahoo.fr>.
Thanks Vincent, 
but clover only has instrumented the junit tests
and let the cactus tests un intrumented

Raphaël

--- Vincent Massol <vm...@pivolis.com> a écrit : > Hi Raphael,
> 
> Simply type "maven clover:on cactus" and then "maven clover:report"
> 
> -Vincent
> 
> > -----Original Message-----
> > From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> > Sent: vendredi 16 juillet 2004 07:57
> > To: Maven Users List
> > Subject: Re: [test coverage] jcoverage and cactus tests
> > 
> > even with clover ?
> > 
> > --- Brett Porter <br...@gmail.com> a écrit : > There is a
> bug
> > filed against the jcoverage plugin to implement this.
> > > Not yet possible.
> > >
> > > - Brett
> > >
> > > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > > <ra...@yahoo.fr> wrote:
> > > > Hello list,
> > > >
> > > > Does any one know how to have the jcoverage of the cactus tests
> > > > of a webapp using maven (1.0-rc4) ?
> > > >
> > > > and a subsidiary question : how can i have the jxr of those
> > > > cactus tests ?
> > > >
> > > > in advance thanks for any answer.
> > > >
> > > > Raphaël
> > > >

=====
------------------------------------
| Raphaël Piéroni                  |
| 33+ 223 351 354                  |
| mailto:rpieroni@dexem.com        |
| http://www.dexem.com             |
| mailing:raphael_mailing@yahoo.fr |
------------------------------------


	

	
		
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: [test coverage] jcoverage and cactus tests

Posted by Vincent Massol <vm...@pivolis.com>.
Hi Raphael,

Simply type "maven clover:on cactus" and then "maven clover:report"

-Vincent

> -----Original Message-----
> From: Raphaël Piéroni [mailto:raphael_mailing@yahoo.fr]
> Sent: vendredi 16 juillet 2004 07:57
> To: Maven Users List
> Subject: Re: [test coverage] jcoverage and cactus tests
> 
> even with clover ?
> 
> --- Brett Porter <br...@gmail.com> a écrit : > There is a bug
> filed against the jcoverage plugin to implement this.
> > Not yet possible.
> >
> > - Brett
> >
> > On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> > <ra...@yahoo.fr> wrote:
> > > Hello list,
> > >
> > > Does any one know how to have the jcoverage of the cactus tests
> > > of a webapp using maven (1.0-rc4) ?
> > >
> > > and a subsidiary question : how can i have the jxr of those
> > > cactus tests ?
> > >
> > > in advance thanks for any answer.
> > >
> > > Raphaël
> > >
> 
> =====
> ------------------------------------
> | Raphaël Piéroni                  |
> | 33+ 223 351 354                  |
> | mailto:rpieroni@dexem.com        |
> | http://www.dexem.com             |
> | mailing:raphael_mailing@yahoo.fr |
> ------------------------------------
> 
> 
> 
> 
> 
> 
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
> Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [test coverage] jcoverage and cactus tests

Posted by Raphaël Piéroni <ra...@yahoo.fr>.
even with clover ?

--- Brett Porter <br...@gmail.com> a écrit : > There is a bug
filed against the jcoverage plugin to implement this.
> Not yet possible.
> 
> - Brett
> 
> On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
> <ra...@yahoo.fr> wrote:
> > Hello list,
> > 
> > Does any one know how to have the jcoverage of the cactus tests
> > of a webapp using maven (1.0-rc4) ?
> > 
> > and a subsidiary question : how can i have the jxr of those
> > cactus tests ?
> > 
> > in advance thanks for any answer.
> > 
> > Raphaël
> > 

=====
------------------------------------
| Raphaël Piéroni                  |
| 33+ 223 351 354                  |
| mailto:rpieroni@dexem.com        |
| http://www.dexem.com             |
| mailing:raphael_mailing@yahoo.fr |
------------------------------------


	

	
		
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [test coverage] jcoverage and cactus tests

Posted by Brett Porter <br...@gmail.com>.
There is a bug filed against the jcoverage plugin to implement this.
Not yet possible.

- Brett

On Thu, 15 Jul 2004 12:49:24 +0200 (CEST), Raphaël Piéroni
<ra...@yahoo.fr> wrote:
> Hello list,
> 
> Does any one know how to have the jcoverage of the cactus tests
> of a webapp using maven (1.0-rc4) ?
> 
> and a subsidiary question : how can i have the jxr of those
> cactus tests ?
> 
> in advance thanks for any answer.
> 
> Raphaël
> 
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/
> 
> Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! Messenger sur http://fr.messenger.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org