This repository has been archived by the owner on Jul 11, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1119262 jon3-7] EAP6 drifts exclude pattern not working for windows …
…case The issue here is that the drift template defines the plugin descriptor and in this case, the associated excludes filter: pattern="*_history/**/*". It can only be predefined in one format, and the plugin naturally uses linux-style forward slashes for the directory separator. But on Windows that is the wrong separator. The solution is to convert to the native separator slash internally at "detection-time", regardless of the slashing used in the pattern. This is, I think, in-line with ant file-pattern approach we are using. Also, -- added new FileUtil.useNativeSlash(String path)
- Loading branch information