HHH-9782 Build plugins pick up JAVA6_HOME as environment variable
This commit is contained in:
parent
bb2833bafc
commit
5bf9bb2a1d
|
@ -43,6 +43,9 @@ class HibernateBuildPlugin implements Plugin<Project> {
|
|||
if ( java6HomeDirSetting == null ) {
|
||||
java6HomeDirSetting = System.getProperty( "JAVA6_HOME" );
|
||||
}
|
||||
if ( java6HomeDirSetting == null ) {
|
||||
java6HomeDirSetting = System.getenv( "JAVA6_HOME" );
|
||||
}
|
||||
|
||||
if ( java6HomeDirSetting != null ) {
|
||||
project.logger.info( "Using JAVA6_HOME setting [${java6HomeDirSetting}]" )
|
||||
|
|
Loading…
Reference in New Issue