~codescore-dev/codescore/version-1.0

« back to all changes in this revision

Viewing changes to src/net/codescore/dbo/JudgeSolution.java

  • Committer: Adam Cornett
  • Date: 2008-05-16 02:53:17 UTC
  • mfrom: (65.1.52 codescore)
  • Revision ID: adam.cornett@gmail.com-20080516025317-douek1kxjabvb3wu
Merged changes from my branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        private static final long serialVersionUID = 9108378782874964903L;
26
26
 
27
27
        private File srcFile, tempDir, compileStdOut, compileStdErr, exeStdErr,
28
 
                exeStdOut, expStdOut;
 
28
                exeStdOut, expStdOut, logFile;
29
29
 
30
30
        public File getCompileStdErrFile() {
31
31
                if (compileStdErr == null)
67
67
                return expStdOut;
68
68
        }
69
69
 
 
70
        @Override
 
71
        public File getLogFile() {
 
72
                if (logFile == null)
 
73
                        logFile = touchLocalFile(getProblem().getUnixName() + ".log");
 
74
                return logFile;
 
75
        }
 
76
 
70
77
        public File getSrcFile() throws IOException {
71
78
                if (srcFile == null) {
72
79
                        srcFile =