Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

evolutions get not copied in the explodedJar (evolutions are not executed) #282

Open
baerbelK opened this issue Feb 21, 2015 · 2 comments
Open
Labels
Milestone

Comments

@baerbelK
Copy link

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

@dlecan dlecan added the plugin label Aug 13, 2015
@dlecan
Copy link
Member

dlecan commented Aug 13, 2015

It's a bug in the plugin.
I'll fix it for the next major version.

@dlecan dlecan added this to the 1.4-beta2 milestone Aug 13, 2015
@dlecan dlecan self-assigned this Aug 13, 2015
@baerbelK
Copy link
Author

Thanks!
Am 13.08.2015 15:09 schrieb "Damien Lecan" [email protected]:

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
#282 (comment)
.

@dlecan dlecan modified the milestones: v1.x, 1.4.0 Jan 3, 2017
@dlecan dlecan removed their assignment Aug 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants