mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-27 14:30:16 +00:00
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')
|
from file('src/test/resources')
|
||||||
into file( "${buildDir}/resources/test" )
|
into file( "${buildDir}/resources/test" )
|
||||||
exclude 'src/test/resources/arquillian.xml'
|
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] )
|
filter( ReplaceTokens, tokens: dbBundle[db] )
|
||||||
}
|
}
|
||||||
} )
|
} )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user