uses constants like:
public static final String SERVER_CONFIG_DROPINS_DEFAULTS = File.separator + String.join(File.separator, "configDropins", "defaults") + File.separator;
However, the file path is coming via other lsp layers from a file type URI/URL. This uses forward-slash ('/') separators even on Windows. I don't have a definitive reference but looking in the debugger this seems to clearly be the issue.
So the backslash in the comparison string is causing the 'contains' test to return 'false'.
RECREATE
EXPLANATION
The LibertyUtils method
uses constants like:
public static final String SERVER_CONFIG_DROPINS_DEFAULTS = File.separator + String.join(File.separator, "configDropins", "defaults") + File.separator;
However, the file path is coming via other lsp layers from a file type URI/URL. This uses forward-slash ('/') separators even on Windows. I don't have a definitive reference but looking in the debugger this seems to clearly be the issue.
So the backslash in the comparison string is causing the 'contains' test to return 'false'.