jenkinsci / lib-file-leak-detector

Java agent that detects file handle leak
http://file-leak-detector.kohsuke.org/
MIT License
237 stars 112 forks source link

[issue #153] update commandline samples to use … #156

Closed WolfgangHG closed 9 months ago

WolfgangHG commented 9 months ago

…file-leak-detector-jar-with-dependencies.jar. This resolves #153

I tested the "javaagent" command line also, and it fails also for when calling "file-leak-detector-1.16.jar". Maybe it would work if all dependencies were added to the classpath. But they cannot even be found in the download area.

I also added a commandline sample for continuous logging, as this was the silver bullet in my use case (debugging locked files on windows after deploying an application to GlassFish server)

Fixes #153