Skip to content
Snippets Groups Projects
Commit afd7f2b2 authored by eyan_'s avatar eyan_
Browse files

oops forgot to save a file

parent 7fcd16b1
No related branches found
No related tags found
No related merge requests found
...@@ -80,7 +80,7 @@ public class ScheduleServer { ...@@ -80,7 +80,7 @@ public class ScheduleServer {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
Properties serverProp = new Properties(); Properties serverProp = new Properties();
FileInputStream in = new FileInputStream("C:/cmpt370/cmpt-370-group-project/SchedulerApp/src/main/java/com/example/scheduler_server/server.properties"); FileInputStream in = new FileInputStream("./src/main/java/com/example/scheduler_server/server.properties");
serverProp.load(in); serverProp.load(in);
ScheduleServer server = new ScheduleServer(serverProp.getProperty("ipAddress"), Integer.parseInt(serverProp.getProperty("port")), ScheduleServer server = new ScheduleServer(serverProp.getProperty("ipAddress"), Integer.parseInt(serverProp.getProperty("port")),
serverProp.getProperty("dbURL"), serverProp.getProperty("dbUser"), serverProp.getProperty("dbPass")); serverProp.getProperty("dbURL"), serverProp.getProperty("dbUser"), serverProp.getProperty("dbPass"));
......
...@@ -15,7 +15,7 @@ public class ScheduleApp extends Application { ...@@ -15,7 +15,7 @@ public class ScheduleApp extends Application {
@Override @Override
public void start(Stage stage) throws Exception { public void start(Stage stage) throws Exception {
Properties serverProp = new Properties(); Properties serverProp = new Properties();
FileInputStream in = new FileInputStream("C:/cmpt370/cmpt-370-group-project/SchedulerApp/src/main/java/com/example/scheduler_server/server.properties"); FileInputStream in = new FileInputStream("./src/main/java/com/example/scheduler_server/server.properties");
serverProp.load(in); serverProp.load(in);
Model model = new Model(serverProp.getProperty("ipAddress"), Integer.parseInt(serverProp.getProperty("port"))); Model model = new Model(serverProp.getProperty("ipAddress"), Integer.parseInt(serverProp.getProperty("port")));
Controller controller = new Controller(); Controller controller = new Controller();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment