Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to reduce the amount of generated files

    Hello,
    I am trying to reduce the amount of generated files by GWT but cant seem to find an example of the configuration file online. We had a static security analysis done on our code and the nocache.js and development folders are throwing a lot of critical issues.

    I have uploaded our gwt.xml and a screenshot of the files that are problematic.

    Click image for larger version

Name:	generatedFiles.PNG
Views:	130
Size:	40.5 KB
ID:	253938

    Is there a way to stop them from generating?

    Thank you in advance



    Attached Files

    #2
    Hi,

    the projectname.nocache.js is your main js file that selects the needed permutation (hashvalue.cache.js file) for the user's locale and browser. See normal GWT documentation, you can't get rid of this one.
    For the development folder you can choose not to war and therefore not to deploy it, but I believe I asked the same eventually (for war size reasons) and Developer Console depends on it.

    Best regards
    Blama

    Comment


      #3
      Furthermore the security alerts you are seeing are most likely bogus. Most scanner tools just flag all kinds of things which are actually not a problem, to make you think the tool is providing value.

      Comment

      Working...
      X