JUnit's -noserver option was not actually doing anything useful.

Review by: jat

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7036 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/GWTShell.java b/dev/core/src/com/google/gwt/dev/GWTShell.java
index 20ff7fe..8436cf3 100644
--- a/dev/core/src/com/google/gwt/dev/GWTShell.java
+++ b/dev/core/src/com/google/gwt/dev/GWTShell.java
@@ -200,7 +200,7 @@
     TreeLogger logger = ui.getWebServerLogger("Tomcat", null);
     // TODO(bruce): make tomcat work in terms of the modular launcher
     String whyFailed = EmbeddedTomcatServer.start(isHeadless() ? getTopLogger()
-        : logger, getPort(), options);
+        : logger, getPort(), options, shouldAutoGenerateResources());
 
     if (whyFailed != null) {
       getTopLogger().log(TreeLogger.ERROR, "Starting Tomcat: " + whyFailed);
@@ -222,4 +222,8 @@
     linkerStack.produceOutput(linkLogger, artifacts, false, outFileSet);
     outFileSet.close();
   }
+
+  protected boolean shouldAutoGenerateResources() {
+    return true;
+  }
 }
diff --git a/user/src/com/google/gwt/junit/JUnitShell.java b/user/src/com/google/gwt/junit/JUnitShell.java
index 85f16f9..d704657 100644
--- a/user/src/com/google/gwt/junit/JUnitShell.java
+++ b/user/src/com/google/gwt/junit/JUnitShell.java
@@ -899,6 +899,7 @@
     return true;
   }
 
+  @Override
   protected boolean shouldAutoGenerateResources() {
     return shouldAutoGenerateResources;
   }