|
|
@ -1,5 +1,5 @@
|
|
|
|
/*
|
|
|
|
/*
|
|
|
|
* Copyright 2012-2017 the original author or authors.
|
|
|
|
* Copyright 2012-2018 the original author or authors.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
@ -147,12 +147,10 @@ class Installer {
|
|
|
|
String home = SystemPropertyUtils
|
|
|
|
String home = SystemPropertyUtils
|
|
|
|
.resolvePlaceholders("${spring.home:${SPRING_HOME:.}}");
|
|
|
|
.resolvePlaceholders("${spring.home:${SPRING_HOME:.}}");
|
|
|
|
File extDirectory = new File(new File(home, "lib"), "ext");
|
|
|
|
File extDirectory = new File(new File(home, "lib"), "ext");
|
|
|
|
if (!extDirectory.isDirectory()) {
|
|
|
|
if (!extDirectory.isDirectory() && !extDirectory.mkdirs()) {
|
|
|
|
if (!extDirectory.mkdirs()) {
|
|
|
|
|
|
|
|
throw new IllegalStateException(
|
|
|
|
throw new IllegalStateException(
|
|
|
|
"Failed to create ext directory " + extDirectory);
|
|
|
|
"Failed to create ext directory " + extDirectory);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
return extDirectory;
|
|
|
|
return extDirectory;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|