mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fix
This commit is contained in:
parent
0fba2f1b24
commit
05cffeb1e7
@ -29,7 +29,7 @@ public class CarbonContextInitializationUtil {
|
|||||||
private final static String CARBON_HOME = "carbon.home";
|
private final static String CARBON_HOME = "carbon.home";
|
||||||
|
|
||||||
public static void initializeCarbonContext() {
|
public static void initializeCarbonContext() {
|
||||||
if (System.getProperty(CARBON_HOME) == null) {
|
if (System.getProperty("carbon.home") == null) {
|
||||||
File file = new File("src/test/resources");
|
File file = new File("src/test/resources");
|
||||||
if (file.exists()) {
|
if (file.exists()) {
|
||||||
System.setProperty(CARBON_HOME, file.getAbsolutePath());
|
System.setProperty(CARBON_HOME, file.getAbsolutePath());
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user