A RetroSearch Logo

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

Search Query:

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

[core] Incremental Analysis doesn't close file correctly on Windows upon a cache hit · Issue #618 · pmd/pmd · GitHub

Hi I'm a developer of Gradle and recently I found there might be some issue in pmd plugin. If I turn on the incremental analysis, some files wouldn't be closed correctly on Windows .

To reproduce it, you should have a windows machine. Mine is Windows 7. Here're the steps:

java.io.IOException: Unable to delete file: C:\tcagent1\work\6031ced305d8bea4\subprojects\code-quality\build\tmp\test files\PmdPluginIncrementalAnalysisIntegrationTest\incremental_analysi...e_enabled\p9laj\src\main\java\org\gradle\GoodClass.java

Looks like some files are not closed correctly, so the cleanup failed. As a comparison, you can run ./gradlew codeQuality:integTest --tests '*WithoutIA*', this will run the WithoutIA.groovy and everything works well, the only difference is that this test turn off the incremental analysis.

I'm not familiar with pmd, so I'm here for help, is there any possibility of not closing file correctly?

@jsotuyod Could you help me?


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