DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!

131 views
Skip to first unread message

-sowdri-

unread,
Sep 3, 2011, 7:28:29 AM9/3/11
to google-we...@googlegroups.com
Hi,

Using SimpleAppCacheLinker from GWT trunk for generating HTML5 offline manifest, results in the error 

DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!

Any ideas on this??

Thanks

Thomas Broyer

unread,
Sep 3, 2011, 9:48:31 AM9/3/11
to google-we...@googlegroups.com
I guess the linker detects the DevMode and adds an entry for hosted.html in the manifest; and because DevMode does not compile the permutations, the manifest is missing the *.cache.html.
Running GWT Compiler would fix this.
This is actually not much different from the DevMode generating a "dummy" *.nocache.js; except that I guess the linker always replaces the manifest, contrary to DevMode (which only generates the "dummy" file when it doesn't already exist –or it's timestamp is older than the one of the GWT SDK, which would mean it's from a different GWT version–)

…only guessing though; didn't look at the code.

-sowdri-

unread,
Sep 3, 2011, 10:50:56 AM9/3/11
to google-we...@googlegroups.com
I tried creating a custom run configuration, just for the compiler and tried with both 'GWTCompiler' and 'Compiler' as the main class, but still i'm getting the same warning.

And this happened when the application is compiled by GPE for deploying to appengine:

## Compiler output 

   Compiling 6 permutations
      Compiling permutation 0...
      Compiling permutation 1...
      Compiling permutation 2...
      Compiling permutation 3...
      Compiling permutation 4...
      Compiling permutation 5...
   Compile of permutations succeeded
Linking into F:\repo\databox\trunk\target\databox-1.0\DataBox
   [WARN] DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!
   Generating offline cache manifest safari.appcache.nocache.manifest
   [WARN] DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!
   Generating offline cache manifest gecko1_8.appcache.nocache.manifest
   [WARN] DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!
   Generating offline cache manifest opera.appcache.nocache.manifest
   [WARN] DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!
   Generating offline cache manifest ie6.appcache.nocache.manifest
   [WARN] DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!
   Generating offline cache manifest ie8.appcache.nocache.manifest
   [WARN] DevMode warning: Clobbering appcache.nocache.manifest to allow debugging. Recompile before deploying your app!
   Generating offline cache manifest ie9.appcache.nocache.manifest
   Invoking Linker AppCacheLinker
      Generating offline cache manifest appcache.nocache.manifest
   Link succeeded
   Compilation succeeded -- 184.699s
##

Actual code of SimpleAppCacheLinker:

Thanks,, 

Thanks,, 

-sowdri-

unread,
Sep 3, 2011, 10:54:52 AM9/3/11
to google-we...@googlegroups.com
Interestingly,  
  1. This project is a maven build, running mvn clean install also produces the same error.
  2. The same linker has worked for me once. 
  3. The same linker when used with a fresh project (ant build, defaut GPE sample project) works as expected.

Am I missing something?? 

-sowdri-

unread,
Sep 4, 2011, 10:56:09 AM9/4/11
to google-we...@googlegroups.com
Any updates on this issue??
Reply all
Reply to author
Forward
0 new messages