Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public static void main(String[] args) {
}

String configFilePath = args[0];
Log log = new SystemStreamLog();
try (ObjectInputStream ois = new ObjectInputStream(Files.newInputStream(Paths.get(configFilePath)))) {
Object configuration = ois.readObject();
Log log = new SystemStreamLog();

List<?> classpath = Collections.emptyList();
org.codehaus.gmavenplus.model.IncludeClasspath includeClasspath = null;
Expand Down Expand Up @@ -73,7 +73,7 @@ public static void main(String[] args) {
throw new IllegalArgumentException("Unknown configuration type: " + configuration.getClass().getName());
}
} catch (IOException | ClassNotFoundException | InstantiationException | IllegalAccessException | java.lang.reflect.InvocationTargetException e) {
e.printStackTrace();
log.error(e);
System.exit(1);
}
}
Expand Down
Loading