-
Notifications
You must be signed in to change notification settings - Fork 51
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
Custom config files are not deployed unless clean is run #686
Comments
Testing some more, it seems actually like the changed files aren't copied unless I delete the whole server directory. |
@Azquelt I will check into this, but I would expect |
I'm not using |
@Azquelt I understand that. I was pointing out that behavior would be expected with |
Can you try adding |
@cherylking Ah, sorry, I misread. @mattbsox Yes, adding that line does make it copy the files every time! |
Poking at it some more, without adding adding the line from mattbsox, if the server directory is outside of the project (e.g. by setting |
I suspect that there's something similar causing that. Does it work correctly if you delete the |
Yes, if I delete the specific server directory it does work (the directory is recreated with the custom config files included). |
Okay, probably a similar issue with a null property/default location and an up-to-date check in that case as well. I'll see what I can do about a fix for those problems. |
If I add additional files to
src/main/liberty/config
, they are deployed when I run thelibertyStart
orlibertyCreate
tasks.However, if I make changes to these files, they are not redeployed when I run
libertyStart
orlibertyCreate
, unless I first runclean
.If I add the
--info
option, I can see that gradle is skippinglibertyCreate
because "it is up-to-date".The text was updated successfully, but these errors were encountered: