[
http://jira.codehaus.org/browse/MCOBERTURA-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David J. M. Karlsen updated MCOBERTURA-49:
------------------------------------------
Fix Version/s: 2.4
Assignee: David J. M. Karlsen
Remaining Estimate: 0 minutes
Original Estimate: 0 minutes
> Fails if JRE is not on System Path
> ----------------------------------
>
> Key: MCOBERTURA-49
> URL: http://jira.codehaus.org/browse/MCOBERTURA-49
> Project: Maven 2.x Cobertura Plugin
> Issue Type: Bug
> Affects Versions: 2.0
> Environment: Windows
> Maven-2.0.4
> Reporter: Jon SlinnHawkins
> Assignee: David J. M. Karlsen
> Priority: Critical
> Fix For: 2.4
>
> Original Estimate: 0 minutes
> Remaining Estimate: 0 minutes
>
> If the JRE installed is not of the System Path Cobertura fails to instrument
> the classes. with the following error.
> [INFO] Preparing cobertura:cobertura
>
> [INFO] [resources:resources]
>
> [INFO] Using default encoding to copy filtered resources.
>
> [INFO] [compiler:compile]
>
> [INFO] Nothing to compile - all classes are up to date
>
> [INFO] [cobertura:instrument]
>
> [INFO]
>
> [ERROR] 'java' is not recognized as an internal or external command,
>
> operable program or batch file.
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Unable to instrument project.
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
> It would be better to use the %JAVA_HOME% system variable to locate the Java
> version to be used.
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email