yandex-qatools / postgresql-embedded

Embedded PostgreSQL Server
Other
494 stars 90 forks source link

Fix cached artifacts store for Windows #73

Closed smecsia closed 7 years ago

smecsia commented 7 years ago

This PR fixes #72

artpass commented 7 years ago

Hi!

Did you test the fix? I tried and it doesn't work. Some complaint about invalid "*" in pattern when running. Looks like there's no simple fix without FileSet class fix. This '\' is a nasty thing and can be replaced in filesSet entries later just before matching with if (file.getPath().replace('/', File.separatorChar).... But may seem a bit old-fashioned. And this is the other lib already...

Good luck! Best regards, artpass

smecsia commented 7 years ago

@artpass Hm. I actually tested this fix on Win10 x64, and it worked well. Are you sure you tried the fixed version?