[jira] [Updated] (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] [Updated] (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:all-tabpanel ]

Rick Hillegas updated DERBY-7003:
    Attachment: 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:
>            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