Arthur Burma wrote:I'm lookig for the simplest way to extract a directory from the deployed jar at execution.
A resources folder called loader exists under src/main/resources (defined in pom);
How to copy the tree under loader directory at launching jar location ?
If you look around you'll find a lot of code that is supposed to work, but it didn't work for me.
Here's what I came up with instead. Your mileage may vary.