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:
Dominik Stadler 2016-12-30 20:35:13 +00:00
parent 8f346f598b
commit bce3c31ea2
1 changed files with 3 additions and 0 deletions

View File

@ -133,6 +133,9 @@ Apache POI - the Java API for Microsoft Documents
label(slaves)
environmentVariables {
env('LANG', 'en_US.UTF-8')
if(jdkKey == '1.9') {
env('ANT_OPTS', '--add-modules=java.xml.bind')
}
}
wrappers {
timeout {