HHH-10972 Use UTF-8 charset for reading file content of scripts that are used for initializing databases

Fix tests failing on Linux because the processTestRessources filter task was assuming UTF-8 source files even for the ISO-8859-1 files
This commit is contained in:
Vlad Mihalcea 2016-09-15 16:39:00 +03:00
parent 55e175ce31
commit b995d7a70e
1 changed files with 5 additions and 0 deletions

View File

@ -251,6 +251,11 @@ subprojects { subProject ->
from file('src/test/resources')
into file( "${buildDir}/resources/test" )
exclude 'src/test/resources/arquillian.xml'
exclude 'src/test/resources/hibernate.properties'
}
copy {
from file('src/test/resources/hibernate.properties')
into file( "${buildDir}/resources/test" )
filter( ReplaceTokens, tokens: dbBundle[db] )
}
} )