hs-err file location

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1894411 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2021-10-20 13:08:53 +00:00
parent 40888e08cd
commit 6b1a477997
2 changed files with 3 additions and 2 deletions

View File

@ -437,7 +437,7 @@ poijobs.each { poijob ->
}
}
// in archive, junit and jacoco publishers, matches beneath build/*/build/... are for Gradle-build results
archiveArtifacts('build/dist/*.zip,build/dist/*.tgz,build/dist/maven/*/*.jar,build/coverage/**')
archiveArtifacts('build/dist/*.zip,build/dist/*.tgz,build/dist/maven/*/*.jar,build/coverage/**,build/hs_err*.log')
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()
}
@ -542,7 +542,7 @@ xmlbeansjobs.each { xjob ->
}
}
publishers {
archiveArtifacts('build/*.jar,build/*.zip,build/*.tgz')
archiveArtifacts('build/*.jar,build/*.zip,build/*.tgz,build/hs_err*.log')
warnings(['Java Compiler (javac)', 'JavaDoc Tool'], null) {
resolveRelativePaths()

View File

@ -304,6 +304,7 @@ test {
doFirst {
jvmArgs += [
"-Xverify:all",
"-XX:ErrorFile=../build/hs_err_pid%p.log",
"-javaagent:${OOXML_LITE_AGENT}=${OOXML_LITE_REPORT}|${OOXML_LITE_INCLUDES}"
]
if (JavaVersion.current() != JavaVersion.VERSION_1_8) {