PDA

View Full Version : Random Naming of .cache.js files when using GWT Compile



rThakkar
10 Mar 2015, 11:58 AM
Hey guys,

I noticed that my application creates randomly named files when I use GWT Compile to create the JavaScript. I know these are GUIDs and are unique, but I would like to know how to create shorter/non-random names, because my application requires it.

Thanks for the help

micgala
12 Mar 2015, 9:59 AM
Hi. This is more a GWT question than GXT.http://www.gwtproject.org/doc/latest/DevGuideCompilingAndDebugging.htmlPlease check that, specially this part:Understanding the GWT CompilerYou may not be able to change automatically those names.But, as you said you require it somehow, you can manually rename them, and then, in the .nocache.js file, you have to rever to right name (look for unflattenKeylistIntoAnswers in that file).