A RetroSearch Logo

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

Search Query:

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

[doc] How to configure "-cache <path>" · Issue #1394 · pmd/pmd · GitHub

Affects PMD Version: 6.8.0

Rule:

Description:

I want to use the incremental analysis of the PMD. I looked up the document and it says use -cache to specify a location for the analysis cache file to use.But when I use the '-cache' argument within CLI, I just can't set the right parameter. It seems like I have trouble in generating the cache file at the first running , I do it like "-cache /path" which '/path' is the directory where I want to store the cache file. But I got the Error says"Could not load analysis cache from file. // (Is a directory)" . Then I set the path as an empty file like '.../cache' , and I got "Cache file a is malformed, will not be used for current analysis" . It seems like I can't generate the cache file at the first time . This may be an simple question but I am new for PMD and I didn't find the right way to do this on Internet. So I would be appreciated if you can help me with this.
Thanks a lot.

Code Sample demonstrating the issue:

Running PMD through: [CLI]


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