Set --add-modules as environment-variable as well as we need to enable it in Ant itself for the forbidden-api-checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776634 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4d83cc8ac2
commit
06eaa174d7
@ -133,6 +133,9 @@ Apache POI - the Java API for Microsoft Documents
|
|||||||
label(slaves)
|
label(slaves)
|
||||||
environmentVariables {
|
environmentVariables {
|
||||||
env('LANG', 'en_US.UTF-8')
|
env('LANG', 'en_US.UTF-8')
|
||||||
|
if(jdkKey == '1.9') {
|
||||||
|
env('ANT_OPTS', '--add-modules=java.xml.bind')
|
||||||
|
}
|
||||||
}
|
}
|
||||||
wrappers {
|
wrappers {
|
||||||
timeout {
|
timeout {
|
||||||
|
Loading…
Reference in New Issue
Block a user