Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-2485

Setting test.jvmArgs accidentally sets test.debug=false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3-rc-1

      Description

      I use jacoco for code coverage during testing which uses [a javaagent like so]([1]http://stevendick.github.com/blog/201...). This doesn't play nice with the test.debug feature as the logic in JvmOptions#jvmArgs is based on processing the full set of options each time.

      It seems there should be a way to add a jvm arg rather than overwrite them all each time. Does such a method exist?

      Cheers
      Matt
      ----------------------------------------------------------------------------------------
      [1] http://stevendick.github.com/blog/2012/01/22/jacoco-and-gradle/

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: