Feature Request: allow 'play war' to ignore specified subdirectories
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Unassigned | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The 'play war' command doesn't play nicely with my version control system. When I run 'play war', I get errors in calls to rmtree or copytree due to access violations trying to read files in the .svn subdirectories that Subversion litters my projects with.
As a workaround, of course, I am simply not versioning the directories it needs to export. However, it would be nice to be able to version everything, using the tool of my choice, and still be able to export my play projects.
It would be nice to have a feature that lets us pass an optional parameter in to the 'play war' command that would ignore specified directories that we do not want exported to the war. (Python 2.6 introduces an ignore parameter to copytree that could be useful for implementing this feature.)
I should add that the directory that was particularly annoying me was the 'war' directory for GAE-enabled play apps. Because I had to modify the appengine-web.xml I wanted it checked in, but that puts an .svn file in the directory, and that prevented me from exporting the project successfully.