Currently we skip a fixed number of lines in getdown.txt, I managed to break this just by adding a comment line. We should parse out the key-value pairs instead.
...
sc.readLine(); # skip a comment (but what if there are more comment lines?)
//get server url from getDown.txt
String cadesimUrl = sc.readLine();
String[] url = cadesimUrl.split("=");
//read version from getDown.txt
String cadeSimVersion = sc.readLine();
...
Currently we skip a fixed number of lines in
getdown.txt
, I managed to break this just by adding a comment line. We should parse out the key-value pairs instead.