Thanks for your direction. Used lastErrorMessage to get error in manifest file. meerkat
> -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of Michael Nordman > Sent: Tuesday, March 03, 2009 10:22 PM > To: [email protected] > Subject: [gears-users] Re: Files is manifest not copied > > > See > http://code.google.com/apis/gears/api_localserver.html#ManagedResourceStor > e > > .oncomplete > .onerror > .updateStatus > .lastErrorMessage > > On Tue, Mar 3, 2009 at 2:17 PM, meerkat <[email protected]> wrote: > > > > try > > { > > var localServer = google.gears.factory.create('beta.localserver'); > > } catch (ex) > > { > > setText('Could not create local server: ' + ex.message); > > return; > > } > > try > > { > > var store = localServer.createManagedStore("ABC_STORE"); > > store.manifestUrl = 'testManifest.json'; > > store.checkForUpdate(); > > setText('Local Store Created'); > > } > > catch(e) > > { > > setText('Could not create Local Store: ' + e.message); > > return; > > } > > > > Hello, > > I have the standard code above for creating localserver and > > managedresourcestore. I am getting the successful messages, the local > > server is created but the files in the manifest are not being copied > > over.( For testing purposes I only have a few files in the store to > > start with.) > > > > Any suggestions on to what might be (or not) happening? > > Thanks, > > meerkat > >
