ticket 2073: add simple test for method IO.copyDirectory()
just a simple test showing that IO.copyDirectory() works as expected
(see ticket https://play.lighthouseapp.com/projects/57987/tickets/2073)
maybe you check again #1041 it is related to os language settings.
local test work if you have a LANG environment set but if you unset LANG it will fail.
the tests on travis run without LANG therefore it will fail there too.
it is related to: http://stackoverflow.com/questions/5663709/how-to-fix-java-when-if-refused-to-open-a-file-with-special-charater-in-filename http://stackoverflow.com/questions/3072376/how-can-i-open-files-containing-accents-in-java
the problem of the play framework library play.libs.IO is the
for (String child: source.list()) {
the string child gets wrong file name because of encoding problems.
my solution was not to rely on encoding at all, using the filetree walker of java. it suits best the recursive copying of files. you do not need the names you just need the file objects.
therefore check again #1041 before releasing 1.4.4 play
Sorry for this misleading hint.