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

  • How to prevent linker from emitting all skins

    I am trying to improve the efficiency of the linking processes and I notice it emits resource for all skins. For example

    Emitting resource sc/skins/Graphite/skin_styles.css.gz
    Emitting resource sc/skins/Graphite/unsupported_browser.html
    Emitting resource sc/skins/Simplicity/images/Calendar/gripper.png
    Emitting resource sc/skins/Simplicity/images/ColorPicker/crosshair.png

    Even though my XML file has only one Skin configured:
    <inherits name="com.smartgwtee.SmartGwtEENoScriptNoTheme"/>
    <inherits name="com.smartgwt.Drawing"/>
    <inherits name="com.smartgwt.Charts"/>
    <inherits name="com.smartclient.theme.tahoe.Tahoe"/>

    Is there a way to tell the linker just to emit the one skin?



  • #2
    Hi gordon333,

    please see this thread about the very same issue, a bit debugged. It does not include a solution, unfortunately.

    If you could also post your test, timings, results and findings, this would be great. You are talking about SuperDevMode recompile, correct?

    Best regards


    • #3
      Can you include your complete module gwt.xml file(s)? It shouldn't be emitting any resources that aren't required by your dependencies.

      Might you have the following declarations?

      <inherits name=""/>
      <inherits name=""/>


      • #4
        Thank you! Removing the
        <inherits name=""/> declaration from my modules did the trick. FYI, super dev mode link time in windows went from avg of 30 seconds to 15 seconds.


        • #5
          Hi Isomorphic,

          the Tools import is needed for developer console, right?
          My (not the OP) inherits are:
              <inherits name="" />
              <inherits name="" />
              <inherits name="com.smartgwtee.SmartGwtEENoScript" />
              <inherits name="" />
          Is this correct if I want the developer console? Or can I remove these and just copy the developer console on my own via my build.xml?
          If not, can you make the emitted resources only to be Enterprise (for developer console)? I don't need nor want EnterpriseBlue, Graphite, Simplicity, ToolSkin, ToolSkinNative, that are generated for me when compiling.
          Even better would be if the Developer Console used the selected theme (Tahoe in my case), then I wouldn't even need Enterprise.

          This whole thing makes SuperDevMode really annoying.

          Best regards