I had encountered a problem with the Jcoverage plugin. I do 
not know if it's related but my problem was due to inner 
class. The plugin failed during report generation (I patch 
the plugin to solve it). 

-----Message d'origine-----
De : VLADIMIR TERZIC [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 10 décembre 2003 04:47
À : [EMAIL PROTECTED]
Objet : RE: Need help getting jcoverage to work


i can't get jcoverage to work from maven either...

thanks
vlad

>>> [EMAIL PROTECTED] 12/09/03 06:28PM >>>
Not sure if its related, but in making the AndroMDA maven plugin work
(inside Eclipse), I found that I had to split up my Ant taskdef and its
invocation into 2 separate maven/jelly goals.

An init goal to do the taskdef and then a separeate goal to run the task.
The second goal declared the init goals as a prereq.

This was *only* when running maven from within Eclipse. When the exact same
maven project was run from a command-line I did not have any trouble

Matthew

> -----Original Message-----
> From: Gilles Dodinet [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 10, 2003 9:36 AM
> To: Maven Users List
> Subject: Re: Need help getting jcoverage to work
>
>
> vlad,
>
> i am using eclipse as well and ive encountered some problem with
> jcoverage too. i cannot retell precisely what the symptoms were but from
> what i remember, the main issue was that the testcases were instrumented
> along with the application classes (and thus the stats were biased). im
> aware that this problem is quite different from yours, altho i reply in
> hope it could lead you to some solution.
>
> the problem faced came from the fact that i didnt specify different
> output folders for test and app classes (in eclipse project propeties).
> also before building the site (or running the report for that matters)
> the target/ directory wasnot cleaned. so, as jcoverage plugin
> instruments all classes under ${maven.build.dest}, testcases were
> instrumented as well. perhaps your problem is related to an eclipse
> configuration thingie as was mine ?
>
> not sure that will help but i hope it will at least give some ideas..
>
> -- gd
>
> VLADIMIR TERZIC wrote:
>
> >i am using eclipse with maven and i get errors when i try to run
> jcoverage on my project.
> >(i guess i should mention that i am able to run clover maven
> task just fine)
> >
> >i have my source in src/java and my test source code in src/test
> >
> >i don't have any jcoverage properties set and when i try to run
> jcoverage only classes from /src/java directory get instrumented
> (nothing in the package structure bellow). at that point i get IO
> exception for coverage.xml file missing in target/jcoverage
> >
> >i would appreciate some help ;-)
> >
> >thanks
> >vlad
> >
> >
> >---------------------------------------------------------------------
> >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] 


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



------------------------------
Ce message est protege par les regles relatives au secret des correspondances ; il 
peut en outre contenir des informations a caractere confidentiel ou protegees par 
differentes regles et notamment le secret des affaires ; il est etabli a destination 
exclusive de son destinataire. Toute divulgation, utilisation, diffusion ou 
reproduction (totale ou partielle) de ce message, ou des informations qu'il contient, 
doit etre prealablement autorisee. 
Tout message electronique est susceptible d'alteration et son integrite ne peut etre 
assuree. Les AGF declinent toute responsabilite au titre de ce message s'il a ete 
modifie ou falsifie. 
Si vous n'etes pas destinataire de ce message, merci de le detruire immediatement et 
d'avertir l'expediteur de l'erreur de distribution et de la destruction du message.
This message is protected by the secrecy of correspondence rules ; furthermore it may 
contain privileged or confidential information that is protected by law, notably by 
the secrecy of business relations rule ; it is intended solely for the attention of   
the addressee . Any disclosure, use, dissemination or reproduction (either whole or  
partial) of this message or the information contained herein is strictly prohibited 
without prior consent.
Any electronic message  is susceptible to alteration  and  its integrity can not be 
assured.  AGF declines any  responsibility for  this message in the event of  
alteration  or falsification..
If you are not the intended  recipient, please destroy it immediately and  notify the 
sender of the wrong delivery and the mail deletion. 
------------------------------


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

Reply via email to