'play war' should preserve the lib and classes dirs in /war/WEB-INF
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
New
|
Undecided
|
Erwan Loisant |
Bug Description
When running 'play war' on an app with a legacy Servlet-based tree under <app_dir>/war/ the command should preserve the contents of <app_dir>
Currently, after copying the files to the WAR destination the command replaces the contents of <war_dir>
I'm including a simple patch to /framework/
Changed in play: | |
assignee: | nobody → Erwan Loisant (eloisant) |
Hi, thanks for your patch. However we need to keep a distinction between directories with generated content and the one managed by the user. With your current patch WEB-INF/lib is managed by both the script and the user, and this is a problem.
For example, if you change your Play version you can end up with old jar in your lib (from a previous play war command).
We need to do it in a way that keeps a clear separation between what the developer manages and what the script generates.