Announcement

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

  • Blama
    replied
    Didn't see your last post. Will try clean/exit now and come back.

    Leave a comment:


  • Blama
    replied
    Hi Isomorphic,

    sorry, the Simplicity folder in the text file is from my skin. If I leave the copy-skin-ant-task away, I get the following:

    Code:
    <inherits name='com.google.gwt.user.User'
    <inherits name="com.smartgwt.SmartGwtNoScript" />
    leads to: myproj\war\lms\sc\skins\Graphite, ToolSkin, ToolSkinNative.
    and
    Code:
    <inherits name='com.google.gwt.user.User'
    <inherits name="com.smartgwt.tools.SmartGwtTools" />
    <inherits name="com.smartgwtee.tools.Tools" />
    <inherits name="com.smartgwt.SmartGwtNoScript" />
    leads to: myproj\war\lms\sc\skins\[B]Enterprise[/B], Graphite, ToolSkin, ToolSkinNative (generated in this order).
    Best regards,
    Blama

    Leave a comment:


  • Isomorphic
    replied
    We are certainly not reproducing that.

    Most likely, because of some IDE staleness issue, the old <inherits> are still being used when you run a GWT compile.

    Leave a comment:


  • Blama
    replied
    These are really filled directories. Please see this text file.

    Please note the following:
    - There are serveral load_skin.js.gz and skin_styles.css.gz files.
    - ToolSkinNative has no images

    Best regards,
    Blama

    Leave a comment:


  • Isomorphic
    replied
    We'll check on the NoScriptNoTheme possibility.

    As far as seeing those folders created with no Tools include, are you saying you're seeing empty folders or the actual resources?

    Leave a comment:


  • Blama
    replied
    Hi Isomorphic,

    I changed:
    Code:
    <inherits name="com.smartgwt.SmartGwtNoScript" />
    to
    Code:
    <inherits name="com.smartgwt.SmartGwtNoTheme" />
    I needed SmartGwtNoScript because of the used Linker. I get this error when building with SmartGwtNoTheme:
    Code:
         [java]    Invoking Linker Cross-Site-Iframe
         [java]       [ERROR] The Cross-Site-Iframe linker does not support <script> tags in the gwt.xml files, but the gwt.xml file (or the gwt.xml files which it includes) contains the following script tags: 
         [java] sc/modules/ISC_Core.js
         [java] sc/modules/ISC_Foundation.js
         [java] sc/modules/ISC_Containers.js
         [java] sc/modules/ISC_Grids.js
         [java] sc/modules/ISC_Forms.js
         [java] sc/modules/ISC_RichTextEditor.js
         [java] sc/modules/ISC_Calendar.js
         [java] sc/modules/ISC_DataBinding.js
         [java] In order for your application to run correctly, you will need to include these tags in your host page directly. In order to avoid this error, you will need to remove the script tags from the gwt.xml file, or add this property to the gwt.xml file: <set-configuration-property name='xsiframe.failIfScriptTag' value='FALSE'/>
    I inspected your main jar and saw that there is no "NoScriptNoTheme.gwt.xml". Could you add this (no priority for me, I will just delete the generated sc\skins\Enterprise with ant for now)?

    Regarding the other three skins I understood this now, but still wonder when they are used.
    Also they are still generated for me with only these inherits:
    Code:
    	<inherits name='com.google.gwt.user.User' />
    	<inherits name="com.smartgwt.SmartGwtNoScript" />
    Best regards,
    Blama

    Leave a comment:


  • Isomorphic
    replied
    To avoid the Enterprise directory being created, use the *NoTheme variant of your main SmartGWT inherit.

    Again the other directories come from the EE Tools include.

    Leave a comment:


  • Blama
    replied
    Hi Isomorphic,

    I'm not sure were are talking about the same thing. I asked about the four different skins in myproj\war\myproj\sc\skins.
    The rest (=the inherits) I gave in order to give you an idea why those four directories might be generated. I know that I'll need the inherhits-tags.

    I load my skin (modified, based on Simplicity) in the bootstrap html with
    Code:
    <script type="text/javascript" src="myproj/sc/skins/Simplicity/load_skin.js"></script>
    For me, also the developer console has the modified skin, so I really don't think I'll need those four different skin-directories.

    Best regards,
    Blama

    Leave a comment:


  • Isomorphic
    replied
    These are skins and other resources that really are required by the combination of your app (Enterprise) and various tools (the others).

    They are not clutter and you should not delete them.

    Leave a comment:


  • Disable skin generation in workspace\myproj\war\myproj\sc\skins during gwtc run

    Hi Isomorphic,

    I noticed that during a gwtc run the following directories are created:
    • workspace\myproj\war\myproj\sc\skins\Enterprise
    • workspace\myproj\war\myproj\sc\skins\Graphite
    • workspace\myproj\war\myproj\sc\skins\ToolSkin
    • workspace\myproj\war\myproj\sc\skins\ToolSkinNative

    Later I copy my own skin there in an ant task.
    In my .gwt.xml I inherit

    Code:
    	<inherits name='com.google.gwt.user.User' />
    	<inherits name="com.smartgwt.tools.SmartGwtTools" />
    	<inherits name="com.smartgwtee.tools.Tools" />
    	<inherits name="com.smartgwt.SmartGwtNoScript" />
    and nothing more.

    I copy and use only my skin from my bootstrap-html-file. Also do not have a skin-changer as in the showcase. Therefore I think I don't need the four directories from above. Right now, they clutter my war-directory and also the war-file I want to deploy.
    Of course I could delete them after gwtc before war, but I think it would be better if they were not generated in the first place.

    How can I control this?

    Thank you & Best regards,
    Blama
Working...
X