You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Pierre Smits (Created) (JIRA)" <ji...@apache.org> on 2012/03/25 11:54:28 UTC
[jira] [Created] (OFBIZ-4757) Cobertura targets fail
Cobertura targets fail
----------------------
Key: OFBIZ-4757
URL: https://issues.apache.org/jira/browse/OFBIZ-4757
Project: OFBiz
Issue Type: Bug
Components: framework
Affects Versions: Release 10.04, Release 09.04.01, Release Branch 11.04, SVN trunk
Reporter: Pierre Smits
Fix For: Release Branch 11.04, SVN trunk
When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
cobertura-report-xml:
[delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
[mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
[cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
[cobertura-merge] Error: No files were specified for merging.
BUILD FAILED
/Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-4757) Cobertura targets fail
Posted by "Erwan de FERRIERES (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238312#comment-13238312 ]
Erwan de FERRIERES commented on OFBIZ-4757:
-------------------------------------------
I've done the same with release11.04, and everything is working well too.
> Cobertura targets fail
> ----------------------
>
> Key: OFBIZ-4757
> URL: https://issues.apache.org/jira/browse/OFBIZ-4757
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 09.04.01, Release 10.04, Release Branch 11.04, SVN trunk
> Reporter: Pierre Smits
> Assignee: Erwan de FERRIERES
> Fix For: Release Branch 11.04, SVN trunk
>
> Attachments: log.ofbiz.cobertura
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
> Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
> cobertura-report-xml:
> [delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [cobertura-merge] Error: No files were specified for merging.
> BUILD FAILED
> /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (OFBIZ-4757) Cobertura targets fail
Posted by "Erwan de FERRIERES (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwan de FERRIERES reassigned OFBIZ-4757:
-----------------------------------------
Assignee: Erwan de FERRIERES
> Cobertura targets fail
> ----------------------
>
> Key: OFBIZ-4757
> URL: https://issues.apache.org/jira/browse/OFBIZ-4757
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 09.04.01, Release 10.04, Release Branch 11.04, SVN trunk
> Reporter: Pierre Smits
> Assignee: Erwan de FERRIERES
> Fix For: Release Branch 11.04, SVN trunk
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
> Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
> cobertura-report-xml:
> [delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [cobertura-merge] Error: No files were specified for merging.
> BUILD FAILED
> /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-4757) Cobertura targets fail
Posted by "Pierre Smits (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238209#comment-13238209 ]
Pierre Smits commented on OFBIZ-4757:
-------------------------------------
The target looks for runtime/logs/cobertura-base.dat and runtime/logs/cobertura-components.dat, but these file are not generated.
> Cobertura targets fail
> ----------------------
>
> Key: OFBIZ-4757
> URL: https://issues.apache.org/jira/browse/OFBIZ-4757
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 09.04.01, Release 10.04, Release Branch 11.04, SVN trunk
> Reporter: Pierre Smits
> Fix For: Release Branch 11.04, SVN trunk
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
> Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
> cobertura-report-xml:
> [delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [cobertura-merge] Error: No files were specified for merging.
> BUILD FAILED
> /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (OFBIZ-4757) Cobertura targets fail
Posted by "Pierre Smits (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13243055#comment-13243055 ]
Pierre Smits commented on OFBIZ-4757:
-------------------------------------
The above mentioned files are not generated, because in the file 'framework/base/build.xml following pieces of code in the 'init' target prevents the Cobertura worker to be started:
<condition property="exclude.cobertura" value="org/ofbiz/base/config/Cobertura*.java">
<not>
<available classname="net.sourceforge.cobertura.instrument.ClassInstrumenter" classpathref="local.class.path"/>
</not>
</condition>
and later on:
<exclude name="${exclude.cobertura}"/>
In a testbed on Mac where I excluded (remmed out) the pieces of code, the run-tests targets runs properly and cobertura output is generated.
> Cobertura targets fail
> ----------------------
>
> Key: OFBIZ-4757
> URL: https://issues.apache.org/jira/browse/OFBIZ-4757
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 09.04.01, Release 10.04, Release Branch 11.04, SVN trunk
> Environment: UBUNTU 10.04 LTS, Mac OS X 10.6.8
> Reporter: Pierre Smits
> Assignee: Erwan de FERRIERES
> Fix For: Release Branch 11.04, SVN trunk
>
> Attachments: log.ofbiz.cobertura
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
> Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
> cobertura-report-xml:
> [delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [cobertura-merge] Error: No files were specified for merging.
> BUILD FAILED
> /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-4757) Cobertura targets fail
Posted by "Pierre Smits (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Pierre Smits updated OFBIZ-4757:
--------------------------------
Environment: UBUNTU 10.04 LTS, Mac OS X 10.6.8
> Cobertura targets fail
> ----------------------
>
> Key: OFBIZ-4757
> URL: https://issues.apache.org/jira/browse/OFBIZ-4757
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 09.04.01, Release 10.04, Release Branch 11.04, SVN trunk
> Environment: UBUNTU 10.04 LTS, Mac OS X 10.6.8
> Reporter: Pierre Smits
> Assignee: Erwan de FERRIERES
> Fix For: Release Branch 11.04, SVN trunk
>
> Attachments: log.ofbiz.cobertura
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
> Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
> cobertura-report-xml:
> [delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [cobertura-merge] Error: No files were specified for merging.
> BUILD FAILED
> /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OFBIZ-4757) Cobertura targets fail
Posted by "Erwan de FERRIERES (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwan de FERRIERES updated OFBIZ-4757:
--------------------------------------
Attachment: log.ofbiz.cobertura
Pierre,
here is a complete log from the different steps to use cobertura with OFBiz trunk.
Everything is working well.
> Cobertura targets fail
> ----------------------
>
> Key: OFBIZ-4757
> URL: https://issues.apache.org/jira/browse/OFBIZ-4757
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 09.04.01, Release 10.04, Release Branch 11.04, SVN trunk
> Reporter: Pierre Smits
> Assignee: Erwan de FERRIERES
> Fix For: Release Branch 11.04, SVN trunk
>
> Attachments: log.ofbiz.cobertura
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
> Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
> cobertura-report-xml:
> [delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [cobertura-merge] Error: No files were specified for merging.
> BUILD FAILED
> /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (OFBIZ-4757) Cobertura targets fail
Posted by "Erwan de FERRIERES (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OFBIZ-4757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erwan de FERRIERES closed OFBIZ-4757.
-------------------------------------
Resolution: Fixed
Pierre,
please look at rev 1308301, which is correcting the issue you reported.
Cheers,
> Cobertura targets fail
> ----------------------
>
> Key: OFBIZ-4757
> URL: https://issues.apache.org/jira/browse/OFBIZ-4757
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Release 09.04.01, Release 10.04, Release Branch 11.04, SVN trunk
> Environment: UBUNTU 10.04 LTS, Mac OS X 10.6.8
> Reporter: Pierre Smits
> Assignee: Erwan de FERRIERES
> Fix For: Release Branch 11.04, SVN trunk
>
> Attachments: log.ofbiz.cobertura
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> When running ./ant cobertura-report or ./ant cobertura-report-xml following error is generated:
> Buildfile: /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml
> cobertura-report-xml:
> [delete] Deleting directory /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [mkdir] Created dir: /Users/s0001/Documents/workspace/ofbiz-trunk/runtime/logs/cobertura-report
> [cobertura-merge] Cobertura 1.9.4.1 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file
> [cobertura-merge] Error: No files were specified for merging.
> BUILD FAILED
> /Users/s0001/Documents/workspace/ofbiz-trunk/build.xml:1003: Error running reports. See messages above.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira