[
https://issues.apache.org/jira/browse/DERBY-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539416#comment-16539416
]
Rick Hillegas commented on DERBY-7003:
--------------------------------------
Attaching derby-7003-01-ab-extraJacocoPermission.diff. This patch further
tweaks the svn:ignore files bound to the root directory.
I have discovered something awkward about the jacoco machinery: When you run
the replication tests outside the jacoco target, they trip over
NullPointerExceptions if the jacoco jars are in tools/java. Lesson learned:
remove the jacoco jars from that directory when you are done running jacoco.
I will re-run tests both with and without jacoco.
> Jacoco test run needs another permission
> ----------------------------------------
>
> Key: DERBY-7003
> URL: https://issues.apache.org/jira/browse/DERBY-7003
> Project: Derby
> Issue Type: Bug
> Components: Test
> Affects Versions: 10.15.0.0
> Reporter: Rick Hillegas
> Assignee: Rick Hillegas
> Priority: Major
> Attachments: derby-7003-01-aa-extraJacocoPermission.diff,
> derby-7003-01-ab-extraJacocoPermission.diff
>
>
> When I run the jacoco-complete target, I see FilePermission errors because
> write permission has not been granted to trunk/jacoco.exec. Read/write
> permissions are granted to the user.dir directory, which is a directory tree
> parallel to jacoco.exec. The following permission needs to be granted to the
> jacoco jars:
> {noformat}
> permission java.io.FilePermission
> "${jacoco.active}${user.dir}${/}..${/}jacoco.exec", "read, write";
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)