Ignore .svn folders when building the war
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
play framework |
Fix Committed
|
Undecided
|
Erwan Loisant | ||
1.0 |
Won't Fix
|
Undecided
|
Unassigned | ||
1.1 |
Fix Committed
|
Low
|
Erwan Loisant |
Bug Description
svn folders are build with the wars, causing the following error (on windows):
~
~ Packaging
~ ---------
~ Packaging current version of the framework and the application to c:
\users\
Traceback (most recent call last):
File "D:\Developer\
execfile(
File "D:\Developer\
in <module>
package_
File "D:\Developer\
if os.path.
File "D:\Developer\
rmtree
rmtree(
File "D:\Developer\
rmtree
rmtree(
File "D:\Developer\
rmtree
rmtree(
File "D:\Developer\
rmtree
onerror(
File "D:\Developer\
rmtree
os.
WindowsError: [Error 5] AccÞs refus: 'c:\\users\
\\temp\
The solution is to ignore .svn folders when copy application to destination dir before building the war.
Maybe on ligne 864 in play python script
There is a new feature in python 2.6 to ignore foders during copytree but Play use 2.5 ... Is it difficult to migrate to 2.6 ?
shutil.
This factory function creates a function that can be used as a callable for copytree()‘s ignore argument, ignoring files and directories that match one of the glob-style patterns provided. See the example below.
Changed in play: | |
assignee: | nobody → Erwan Loisant (eloisant) |
status: | New → Fix Committed |