I would give the button a unique text and search on the text. Refreshing in Eclipse after the above error/warning always helps in my case.
On Fri, Jan 20, 2012 at 10:18 AM, tong123123 <[email protected]> wrote: > Thanks for the reply. > I try to use "pretty" compile option but still cannot search > <button class="gwt-Button" tabindex="0" type="button">Add</button> > , there is error as follow: > [code] > Problems encountered during text search. > File 'gwtFirstLesson/war/gwtfirstlesson/ > E720E054419B741AA727C0B7947BDC5D.gwt.rpc' has been skipped, problem > while reading: ('Resource is out of sync with the file system: '/ > gwtFirstLesson/war/gwtfirstlesson/ > E720E054419B741AA727C0B7947BDC5D.gwt.rpc'.'). > Resource is out of sync with the file system: '/gwtFirstLesson/war/ > gwtfirstlesson/E720E054419B741AA727C0B7947BDC5D.gwt.rpc'. > File 'gwtFirstLesson/war/WEB-INF/deploy/gwtfirstlesson/ > rpcPolicyManifest/manifests/11788ECC1161BA1216712B0DB083DC1D.txt' has > been skipped, problem while reading: ('Resource is out of sync with > the file system: '/gwtFirstLesson/war/WEB-INF/deploy/gwtfirstlesson/ > rpcPolicyManifest/manifests/11788ECC1161BA1216712B0DB083DC1D.txt'.'). > Resource is out of sync with the file system: '/gwtFirstLesson/war/WEB- > INF/deploy/gwtfirstlesson/rpcPolicyManifest/manifests/ > 11788ECC1161BA1216712B0DB083DC1D.txt'. > File 'gwtFirstLesson/war/WEB-INF/deploy/gwtfirstlesson/ > rpcPolicyManifest/manifest.txt' has been skipped, problem while > reading: ('Resource is out of sync with the file system: '/ > gwtFirstLesson/war/WEB-INF/deploy/gwtfirstlesson/rpcPolicyManifest/ > manifest.txt'.'). > Resource is out of sync with the file system: '/gwtFirstLesson/war/WEB- > INF/deploy/gwtfirstlesson/rpcPolicyManifest/manifest.txt'. > [/code] > > I see "'Resource is out of sync with the file system: ", but I already > select the project and right click > refresh in eclipse before search. > > On Jan 20, 4:39 pm, Ed <[email protected]> wrote: > > The generated Js will be obfuscated so you will need to generate "pretty" > > Js to be able to read it and find it with any text search. > > See: > > PrettyCompile< > http://code.google.com/webtoolkit/doc/1.6/FAQ_DebuggingAndCompiling.h...> > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
