You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: