Skip to content

Commit b441caa

Browse files
author
wdforson
committed
re-committing to make sure that the latest version of AbstractGlobalModel is included, since the junit file generated in the latest build is old
git-svn-id: file:///tmp/test-svn/branches/drscala@5701 fe72c1cf-3628-48e9-8b72-1c46755d3cff
1 parent f994ad3 commit b441caa

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

drjava/src/edu/rice/cs/drjava/model/GlobalModelTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,6 +1306,6 @@ public void nonTestCase(boolean isTestAll, boolean didCompileFail) {
13061306
* some unit tests because the slave JVM keeps its working directory open until it shuts down.
13071307
*/
13081308
public static class TestGlobalModel extends DefaultGlobalModel {
1309-
public File getWorkingDirectory() { return getMasterWorkingDirectory(); }
1309+
// public File getWorkingDirectory() { return getMasterWorkingDirectory(); }
13101310
}
13111311
}

drjava/src/edu/rice/cs/drjava/model/compiler/DefaultCompilerModel.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,9 @@ private void _doCompile(List<OpenDefinitionsDocument> docs) throws IOException {
251251
/* Filter docs to construct filesToCompile */
252252
for (OpenDefinitionsDocument doc : docs) {
253253
if (doc.isSourceFile()) {
254+
255+
_log.log(doc.getFile() + " IS SourceFile...");
256+
254257
File f = doc.getFile();
255258
// Check for null in case the file is untitled (not sure this is the correct check)
256259
if (f != null && f != FileOps.NULL_FILE) {

0 commit comments

Comments
 (0)