A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/337 below:

[core] Version 5.5.4 seems to hold file lock on rules JAR (affects Windows only) · Issue #337 · pmd/pmd · GitHub

Rule Set:

See https://github.com/gradle/gradle/blob/master/subprojects/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/PmdPluginAuxclasspathIntegrationTest.groovy#L108

Description:

After running PMD via the Gradle plugin, the pmd-rule.jar cannot deleted anymore on Windows, apparently because some file lock is held. Works with version 5.5.3, does not work with version 5.5.4. Discovered when trying to upgrade the PDM version the Gradle plugin uses, see gradle/gradle#1623 (comment).

Code Sample demonstrating the issue:

  1. Clone https://github.com/sschuberth/gradle
  2. Checkout the pmd-upgrade branch
  3. Run ./gradlew codeQuality:integTest --tests org.gradle.api.plugins.quality.PmdPluginAuxclasspathIntegrationTest

Running PMD through: Gradle


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4