Announcement

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

    Upgrade to SmartGwt 5.0 results in Linker output that we cannot seem to resolve

    SmartGwt: 5.0P
    GWT: 2.7.0
    Java 1.6

    When I do a GWT Compile of our project, after the upgrade from SmartGwt 4.1p to 5.0P, I am now getting this output:

    **********************************************************
    Compiling module eti.Triad40
    Compiling 5 permutations
    Compiling permutation 0...
    Compiling permutation 1...
    Compiling permutation 2...
    Compiling permutation 3...
    Compiling permutation 4...
    Compile of permutations succeeded
    Compilation succeeded -- 85.851s
    Linking into C:\SubversionProjects\Overture\ProjectForGWTUpgrade\war\triad40
    Invoking Linker Cross-Site-Iframe
    Ignoring the following script tags in the gwt.xml file
    sc/initsc.js
    sc/modules/ISC_Core.js
    sc/modules/ISC_Foundation.js
    sc/modules/ISC_Containers.js
    sc/modules/ISC_Grids.js
    sc/modules/ISC_Forms.js
    sc/modules/ISC_RichTextEditor.js
    sc/modules/ISC_Calendar.js
    sc/modules/ISC_DataBinding.js

    Invoking Linker SmartGwtScriptInjector
    Creating loadScriptTagFiles.js to manually load the following script tags:
    sc/initsc.js
    sc/modules/ISC_Core.js
    sc/modules/ISC_Foundation.js
    sc/modules/ISC_Containers.js
    sc/modules/ISC_Grids.js
    sc/modules/ISC_Forms.js
    sc/modules/ISC_RichTextEditor.js
    sc/modules/ISC_Calendar.js
    sc/modules/ISC_DataBinding.js
       Link succeeded
       Linking succeeded -- 10.027s

    ************************************************


    We have been reading forum posts and other things to understand why this output is occurring:

    Invoking Linker SmartGwtScriptInjector
    Creating loadScriptTagFiles.js to manually load the following script tags:
    sc/initsc.js
    sc/modules/ISC_Core.js
    sc/modules/ISC_Foundation.js
    sc/modules/ISC_Containers.js
    sc/modules/ISC_Grids.js
    sc/modules/ISC_Forms.js
    sc/modules/ISC_RichTextEditor.js
    sc/modules/ISC_Calendar.js
    sc/modules/ISC_DataBinding.js


    Per what I understood from the other posts I have modified our <projectName>.html to include the following:
    <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <!--makes IE 8,9 work -->
    <!-- This tells the browser which locale to load when the app is running
    <meta name="gwt:property" content="locale=zh_TW"> -->
    <link type="image/x-icon" rel="icon" href="favicon.ico">
    <title>ETI - Overture</title>
    <link type="text/css"rel="stylesheet" href="dataurl.css?version=2.0.5">

    &#194;&#160;<script src="pace.min.js?version=2.0.5"></script>

    <!-- New additions per the upgrage to SmartGwt 5.0P -->
    <script scr="sc/initsc.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_Core.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_Foundation.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_Containers.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_Grids.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_Forms.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_RichTextEditor.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_Calendar.js?version=2.0.5"></script>
    <script scr="sc/modules/ISC_DataBinding.js?version=2.0.5"></script>
    <script scr="sc/skins/Graphite/load_skin.js?version=2.0.5"></script>
    </head>


    This does not prevent the output.

    What do I need to do to fix what I perceive as a problem?



    this is our <project>.gwt.xml
    ***************************************************************
    <inherits name='com.google.gwt.user.User'/>

    <inherits name="com.smartgwtee.SmartGwtEENoTheme"/> <!--&#194;&#160; this overrides the SmartGwtPowerNoTheme as of 4.1p -->

    <inherits name="com.smartgwtpower.tools.Tools"/>
    <inherits name="com.smartgwt.tools.SmartGwtTools"/>
    <inherits name="com.smartclient.theme.graphite.Graphite"/>


    <!-- Specify the app entry point class. -->
    <entry-point class='eti.client.Triad40'/>

    <!-- Specify the paths for translatable code -->
    <source path='client'/>
    <source path='shared'/>



    PS: I don't understand why your editor is inserting "&#194;&#160;&#194;&#160; &#194;&#160;" in this post: I have tried to remove them all but may have missed some.


    thanks,
    Richard
    Last edited by siegersallee; 14 Sep 2015, 06:31.

    #2
    GWT dropped support for tags in modules.

    Through our own code we added back support. You don't need to make changes to your host .html file.

    There is no known way to stop the GWT compiler from informing you that it is ignoring script tags. We don't plan to remove them since it would break other versions of GWT.

    Comment


      #3
      Just a further clarification - for SuperDevMode, you do need to merge in the changes from our latest BuiltInDS.html (the line that loads the file loadScriptTagFiles.js). This is not necessary for classic Development Mode.

      For either mode, the linker message you see are expected and do not indicate an issue.

      Comment

      Working...
      X