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:
parent
55e175ce31
commit
b995d7a70e
|
@ -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] )
|
||||
}
|
||||
} )
|
||||
|
|
Loading…
Reference in New Issue