}
private void doResolve(CliParser p) throws IOException {
// fetch needed deps
System.out.println("Init repos");
DependencyParser dparser = new SNDependencyParser(ReqType.SW, util);
List<Requirement> reqs = null;
try {
reqs = dparser.parseMultipleDepFiles(p);
} catch (FileNotFoundException e) {
System.err.println("Dep file not found, sure this is a supernanny repo?");
System.exit(1);
} catch (InvalidFormatException e) {
System.err.println("Invalid format" + e);
System.exit(1);
}
DependencyParser defaultParser = new SNDependencyParser(ReqType.GE, util);
repoProvider.setDependencyParser(defaultParser);
// init all known repos in parallel to speed things up
try {
repoProvider.warmUp(reqs, executor);