|
|
@ -181,7 +181,7 @@ public class DeviceManagementServiceImpl implements DeviceManagementService {
|
|
|
|
|
|
|
|
|
|
|
|
// Load the configuration file
|
|
|
|
// Load the configuration file
|
|
|
|
Properties config = new Properties();
|
|
|
|
Properties config = new Properties();
|
|
|
|
try (FileInputStream configFile = new FileInputStream("org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json")) {
|
|
|
|
try (FileInputStream configFile = new FileInputStream("components/device-mgt/org.wso2.carbon.device.mgt.ui/src/main/resources/jaggeryapps/devicemgt/app/conf/config.json")) {
|
|
|
|
config.load(configFile);
|
|
|
|
config.load(configFile);
|
|
|
|
} catch (IOException e) {
|
|
|
|
} catch (IOException e) {
|
|
|
|
e.printStackTrace();
|
|
|
|
e.printStackTrace();
|
|
|
|