Skip to content

Commit 5bf9bb2

Browse files
committed
HHH-9782 Build plugins pick up JAVA6_HOME as environment variable
1 parent bb2833b commit 5bf9bb2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

buildSrc/src/main/groovy/org/hibernate/build/HibernateBuildPlugin.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ class HibernateBuildPlugin implements Plugin<Project> {
4343
if ( java6HomeDirSetting == null ) {
4444
java6HomeDirSetting = System.getProperty( "JAVA6_HOME" );
4545
}
46+
if ( java6HomeDirSetting == null ) {
47+
java6HomeDirSetting = System.getenv( "JAVA6_HOME" );
48+
}
4649

4750
if ( java6HomeDirSetting != null ) {
4851
project.logger.info( "Using JAVA6_HOME setting [${java6HomeDirSetting}]" )

0 commit comments

Comments
 (0)