Open baerbelK opened 9 years ago
It's a bug in the plugin. I'll fix it for the next major version.
Thanks! Am 13.08.2015 15:09 schrieb "Damien Lecan" notifications@github.com:
It's a bug in the plugin. I'll fix it for the next major version.
— Reply to this email directly or view it on GitHub https://github.com/play2war/play2-war-plugin/issues/282#issuecomment-130663668 .
When building the war file with the Play2WarKeys.explodedJar := true option. The subfolders (including the evolutions dir) of the conf directory are not in the war file. Therefore the evolution scripts can not be executed.
Building the war file without that option, the evolutions directory get copied into the jar and the evolutions do not get executed, too. I Struggled with this behaviour, because first i couldn't see why the evolutions scripts don't get executed. Question, is this a Bug or planned behaviour?
PS("dirty" fix): I copied the x.sql files in the war/WEB-INF/classes/ (then they get included) folder and invoke the evelutions from code.
I do not have experience with scala and sbt, but maybe i can help a little bit? Same question like:
263