You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/10/06 12:03:55 UTC

[jira] Created: (MPJCOVERAGE-15) FileNotFoundException after project clean goal run.

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-15

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-15
    Summary: FileNotFoundException after project clean goal run.
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin

   Assignee: Emmanuel Venisse
   Reporter: Ricardo Gladwell

    Created: Wed, 6 Oct 2004 6:02 AM
    Updated: Wed, 6 Oct 2004 6:02 AM
Environment: Maven 1.0, Java 1.4.2_05, Windows XP

Description:
I get a FileNotFoundException running the jcoverage goal after a clean goal has been run. See attached stacktrace.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (MPJCOVERAGE-15) FileNotFoundException after project clean goal run.

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Ricardo Gladwell (mailto:ricardo.gladwell@btinternet.com)
       Date: Wed, 6 Oct 2004 6:03 AM
    Comment:
Stack trace of FileNotFoundException.
    Changes:
             Attachment changed to stacktrace.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPJCOVERAGE-15?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-15

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-15
    Summary: FileNotFoundException after project clean goal run.
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin

   Assignee: Emmanuel Venisse
   Reporter: Ricardo Gladwell

    Created: Wed, 6 Oct 2004 6:02 AM
    Updated: Wed, 6 Oct 2004 6:03 AM
Environment: Maven 1.0, Java 1.4.2_05, Windows XP

Description:
I get a FileNotFoundException running the jcoverage goal after a clean goal has been run. See attached stacktrace.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (MPJCOVERAGE-15) FileNotFoundException after project clean goal run.

Posted by "Steve Gudmundson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJCOVERAGE-15?page=all ]

Steve Gudmundson updated MPJCOVERAGE-15:
----------------------------------------

    Attachment: maven-jcoverage-plugin-1.0.9-PATCHED-MPJCOVERAGE-15.jar

> FileNotFoundException after project clean goal run.
> ---------------------------------------------------
>
>          Key: MPJCOVERAGE-15
>          URL: http://jira.codehaus.org/browse/MPJCOVERAGE-15
>      Project: maven-jcoverage-plugin
>         Type: Bug
>  Environment: Maven 1.0, Java 1.4.2_05, Windows XP
>     Reporter: Ricardo Gladwell
>     Assignee: Emmanuel Venisse
>  Attachments: CoverageReport.java, maven-jcoverage-plugin-1.0.9-PATCHED-MPJCOVERAGE-15.jar, stacktrace.txt
>
>
> I get a FileNotFoundException running the jcoverage goal after a clean goal has been run. See attached stacktrace.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Updated: (MPJCOVERAGE-15) FileNotFoundException after project clean goal run.

Posted by "Steve Gudmundson (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MPJCOVERAGE-15?page=all ]

Steve Gudmundson updated MPJCOVERAGE-15:
----------------------------------------

    Attachment: CoverageReport.java

> FileNotFoundException after project clean goal run.
> ---------------------------------------------------
>
>          Key: MPJCOVERAGE-15
>          URL: http://jira.codehaus.org/browse/MPJCOVERAGE-15
>      Project: maven-jcoverage-plugin
>         Type: Bug
>  Environment: Maven 1.0, Java 1.4.2_05, Windows XP
>     Reporter: Ricardo Gladwell
>     Assignee: Emmanuel Venisse
>  Attachments: CoverageReport.java, maven-jcoverage-plugin-1.0.9-PATCHED-MPJCOVERAGE-15.jar, stacktrace.txt
>
>
> I get a FileNotFoundException running the jcoverage goal after a clean goal has been run. See attached stacktrace.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPJCOVERAGE-15) FileNotFoundException after project clean goal run.

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Ricardo Gladwell
    Created: Fri, 15 Oct 2004 5:18 AM
       Body:
This is caused by an out-of-date jcoverage.ser file. Since this file is not stored in the target directory when it is generated, but in the root of the project it is not deleted during a 'clean' goal and therefore attempts to generate output for deleted files, etc.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJCOVERAGE-15?page=comments#action_25401

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJCOVERAGE-15

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJCOVERAGE-15
    Summary: FileNotFoundException after project clean goal run.
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jcoverage-plugin

   Assignee: Emmanuel Venisse
   Reporter: Ricardo Gladwell

    Created: Wed, 6 Oct 2004 6:02 AM
    Updated: Fri, 15 Oct 2004 5:19 AM
Environment: Maven 1.0, Java 1.4.2_05, Windows XP

Description:
I get a FileNotFoundException running the jcoverage goal after a clean goal has been run. See attached stacktrace.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPJCOVERAGE-15) FileNotFoundException after project clean goal run.

Posted by "Steve Gudmundson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPJCOVERAGE-15?page=comments#action_46327 ] 

Steve Gudmundson commented on MPJCOVERAGE-15:
---------------------------------------------

I am also getting this error.  I have found that if I create the full directory path that the FileNotFoundException references then run the goal again, it will work.  So the problem seems to be that it is trying to write the file to a directory that has not yet been created.  Is anyone working on this? If not maybe I will pop the code open and have a look.

> FileNotFoundException after project clean goal run.
> ---------------------------------------------------
>
>          Key: MPJCOVERAGE-15
>          URL: http://jira.codehaus.org/browse/MPJCOVERAGE-15
>      Project: maven-jcoverage-plugin
>         Type: Bug
>  Environment: Maven 1.0, Java 1.4.2_05, Windows XP
>     Reporter: Ricardo Gladwell
>     Assignee: Emmanuel Venisse
>  Attachments: stacktrace.txt
>
>
> I get a FileNotFoundException running the jcoverage goal after a clean goal has been run. See attached stacktrace.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


[jira] Commented: (MPJCOVERAGE-15) FileNotFoundException after project clean goal run.

Posted by "Steve Gudmundson (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MPJCOVERAGE-15?page=comments#action_46335 ] 

Steve Gudmundson commented on MPJCOVERAGE-15:
---------------------------------------------

Here is the fix compared to MAVEN_JCOVERAGE_1_0_9 version of the CoverageReport.java file:

159a160,164
>             // BEGIN MPJCOVERAGE-15 FIX //
>             String pkgdirname = pkg.getDirectory() + "/";
>             File pkgFileDir = new File(dir, pkgdirname);
>             pkgFileDir.mkdirs();
>             // END MPJCOVERAGE-15 FIX //

http://svn.apache.org/repos/asf/maven/maven-1/plugins/tags/MAVEN_JCOVERAGE_1_0_9/jcoverage/src/main/org/apache/maven/jcoveragereport/CoverageReport.java

Attached is the .class file with this change and a new maven-jcoverage-plugin.jar containing this change.

> FileNotFoundException after project clean goal run.
> ---------------------------------------------------
>
>          Key: MPJCOVERAGE-15
>          URL: http://jira.codehaus.org/browse/MPJCOVERAGE-15
>      Project: maven-jcoverage-plugin
>         Type: Bug
>  Environment: Maven 1.0, Java 1.4.2_05, Windows XP
>     Reporter: Ricardo Gladwell
>     Assignee: Emmanuel Venisse
>  Attachments: stacktrace.txt
>
>
> I get a FileNotFoundException running the jcoverage goal after a clean goal has been run. See attached stacktrace.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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