Revision: 10158
Author:   [email protected]
Date:     Fri May  6 09:30:06 2011
Log:      Improving SimpleAppCacheLinker noise.

Review at http://gwt-code-reviews.appspot.com/1438802

Review by: [email protected]
http://code.google.com/p/google-web-toolkit/source/detail?r=10158

Modified:
 /trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java

=======================================
--- /trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java Wed May 4 09:12:17 2011 +++ /trunk/dev/core/src/com/google/gwt/core/linker/SimpleAppCacheLinker.java Fri May 6 09:30:06 2011
@@ -86,7 +86,8 @@
     }

     if (toReturn.find(SelectionInformation.class).isEmpty()) {
-      logger.log(TreeLogger.INFO, "devmode: generating empty " + MANIFEST);
+ logger.log(TreeLogger.INFO, "DevMode warning: Clobbering " + MANIFEST + " to allow debugging. "
+          + "Recompile before deploying your app!");
       artifacts = null;
     }

@@ -161,9 +162,8 @@
     sb.append("NETWORK:\n");
     sb.append("*\n");

-    logger.log(TreeLogger.INFO, "Make sure you have the following"
- + " attribute added to your landing page's <html> tag: <html manifest=\""
-        + context.getModuleFunctionName() + "/" + MANIFEST + "\">");
+ logger.log(TreeLogger.INFO, "Be sure your landing page's <html> tag declares a manifest:" + + " <html manifest=" + context.getModuleFunctionName() + "/" + MANIFEST + "\">");

     // Create the manifest as a new artifact and return it:
     return emitString(logger, sb.toString(), MANIFEST);

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to