[jira] [Commented] (DERBY-7003) Jacoco test run needs another permission

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (DERBY-7003) Jacoco test run needs another permission

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/DERBY-7003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16540026#comment-16540026 ]

ASF subversion and git services commented on DERBY-7003:
--------------------------------------------------------

Commit 1835636 from [hidden email] in branch 'code/trunk'
[ https://svn.apache.org/r1835636 ]

DERBY-7003: Add extra FilePermission to the jacoco test runs; tests passed cleanly on derby-7003-01-ab-extraJacocoPermission.diff.

> 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)