I didn't revert all your modifications. I don't remove the test for verify
that the source file exist reporting by Gilles Dodinet.

I test the plugin with many project and it works fine but not on maven
project, it's curious.
If I run maven jcoverage, it works fine, but "maven jcoverage site" or add
jcoverage report declaration into project generate a failure. Maven doesn't
find any goals declare in postGoal test:test for touchstone build.

any ideas?

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: "Maven Developers List" <[EMAIL PROTECTED]>
Sent: Tuesday, September 09, 2003 1:35 AM
Subject: Re: cvs commit:
maven/src/plugins-build/jcoverage/src/main/org/apache/maven/jcoveragereport
CoverageReport.java


> This causes jcoverage to fail when running against Maven.
>
> Any ideas why?
> --
> dIon Gillard, Multitask Consulting
> Blog:      http://blogs.codehaus.org/people/dion/
>
>
> [EMAIL PROTECTED] wrote on 08/09/2003 11:39:51 PM:
>
> > evenisse    2003/09/08 06:39:51
> >
> >   Modified:    src/plugins-
> > build/jcoverage/src/main/org/apache/maven/jcoveragereport
> >                         CoverageReport.java
> >   Log:
> >   Remove bad existence check on file. We must don't check the
> > existence beacause we want to generate this file. It's html files.
> >
> >   Revision  Changes    Path
> >   1.4       +1 -9      maven/src/plugins-
> >
>
build/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.jav
a
> >
> >   Index: CoverageReport.java
> >   ===================================================================
> >   RCS file: /home/cvs/maven/src/plugins-
> >
> build/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.
> > java,v
> >   retrieving revision 1.3
> >   retrieving revision 1.4
> >   diff -u -r1.3 -r1.4
> >   --- CoverageReport.java   8 Sep 2003 03:43:19 -0000   1.3
> >   +++ CoverageReport.java   8 Sep 2003 13:39:51 -0000   1.4
> >   @@ -198,10 +198,6 @@
> >                urlDirectory = ".";
> >            }
> >            File fsFile = new File(dir, filename);
> >   -        if (!fsFile.exists())
> >   -        {
> >   -            return;
> >   -        }
> >            PrintWriter pw = new PrintWriter(new BufferedWriter(new
> > FileWriter(fsFile)));
> >            pw.println("<html>");
> >            pw.println("<head>");
> >   @@ -260,10 +256,6 @@
> >                rootRef = "";
> >            }
> >            File fsFile = new File(dir, filename);
> >   -        if (!fsFile.exists())
> >   -        {
> >   -            return;
> >   -        }
> >            PrintWriter pw = new PrintWriter(new BufferedWriter(new
> > FileWriter(fsFile)));
> >            pw.println("<html>");
> >            pw.println("<head>");
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
> _____________________________________________________________________
> Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
> http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France

_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? T�l�charger MSN Messenger
http://www.ifrance.com/_reloc/m la 1�re messagerie instantan�e de France


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

Reply via email to