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 4d83cc8ac2
commit 06eaa174d7

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 {