if (null != (out = buffer.readLine()) && (out.contains("version"))) {
Matcher matcher = Pattern.compile("((\\d|\\.)+)").matcher(out);
if (matcher.find())
- job.setVersion(matcher.group(0));
+ job.setProgramVersion(matcher.group(0));
}
while (null != (line = buffer.readLine())) {
out += line;
boolean LogfileExists = false;
JpredJob job = new JpredJob(jobinfo[jobinfo.length - 1], jobinfo[0], jobinfo[1]);
job.setIP(jobinfo[2]);
+ job.setProgramName("Jpred");
Date currDate = new Date();
String maindir = dirprefix + "/" + job.getJobID() + "/";
}
if (199 < httpConnection_logurl.getResponseCode() && httpConnection_logurl.getResponseCode() < 300) {
LogfileExists = true;
- job.setProgrammeName("Jpred");
job.setLog(parseLogFile(logurl.openStream(), job));
} else {
// The job has not been started at all...