Is there a way to add a directory to classpath so that the top-level path is retained? E.g., I want to add res/
to :resource-paths, so that on the classpath the files are accessible as res/foo/bar...
, not foo/bar...
.
@alexyakushev no, you would need to nest your folders one more level to do that
Perhaps, there is a hack to do that using sift magic?
I need to add a bunch of dirs that are top-level in the project, and putting them in another folder would break a lot of conventions
i wonder if symlinks could help?
no idea how well boot handles those
@dave simlinks have issues, there is an untested patch
@alexyakushev you could use sift task and move the files around
Although I wonder how moving the files down one folder would break conventions, is there something else this would affect?
@alexyakushev sift is definitely your friend.