Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-7003

Jacoco test run needs another permission

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.15.1.3
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None
    • Urgency:
      Normal

      Description

      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:

        permission java.io.FilePermission "${jacoco.active}${user.dir}${/}..${/}jacoco.exec", "read, write";
      

        Attachments

        1. derby-7003-01-aa-extraJacocoPermission.diff
          11 kB
          Richard N. Hillegas
        2. derby-7003-01-ab-extraJacocoPermission.diff
          11 kB
          Richard N. Hillegas

          Issue Links

            Activity

              People

              • Assignee:
                rhillegas Richard N. Hillegas
                Reporter:
                rhillegas Richard N. Hillegas
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: