I want to know if there is something wrong in my project. When I run the project in the Eclipse console appears the following traces:
Linking modules
Bootstrap link for command-line module 'com.testcases.smartgwt.multifileitem.MultiFileItemTestCase'
Linking module 'multifileitemtestcase'
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
...
Invoking Linker SmartGwtScriptInjector
Creating loadScriptTagFiles.js to manually load the following script tags:
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
...
Later when I open then link in the browser and check the browser console, I find the next trace pointing that the most likely cause of this error must be that I'm importing a NoScript version of the smartGWT library but I'm not. Can you help me to understand what's going wrong? If I import the manually the project works but I want to understand if there is somthing to be fixed:
com.smartgwt.client.core.JsObject$SGWT_WARN: Core SmartClient JavaScript libraries appear not to be loaded.
If inheriting the NoScript SmartGWT modules, verify that the HTML file includes <script src=...> tags to load the SmartClient module .js files from the appropriate location within the WAR.
My xxx.gwt.xml file contains the following inherits:
<!-- Other module inherits -->
<inherits name="com.smartgwt.SmartGwt" />
<!-- This inherit at the very begining was not here and the problem was the same -->
<inherits name="com.smartgwt.tools.SmartGwtTools" />
Find attached an Eclipse sample project to reproduce what I said. I've removed all the libraries needed to be able to upload the project but will be straight forward to know which libraries are missing.
MultiFileItemTestCase.zip
Thank you very much
Linking modules
Bootstrap link for command-line module 'com.testcases.smartgwt.multifileitem.MultiFileItemTestCase'
Linking module 'multifileitemtestcase'
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
...
Invoking Linker SmartGwtScriptInjector
Creating loadScriptTagFiles.js to manually load the following script tags:
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
...
Later when I open then link in the browser and check the browser console, I find the next trace pointing that the most likely cause of this error must be that I'm importing a NoScript version of the smartGWT library but I'm not. Can you help me to understand what's going wrong? If I import the manually the project works but I want to understand if there is somthing to be fixed:
com.smartgwt.client.core.JsObject$SGWT_WARN: Core SmartClient JavaScript libraries appear not to be loaded.
If inheriting the NoScript SmartGWT modules, verify that the HTML file includes <script src=...> tags to load the SmartClient module .js files from the appropriate location within the WAR.
My xxx.gwt.xml file contains the following inherits:
<!-- Other module inherits -->
<inherits name="com.smartgwt.SmartGwt" />
<!-- This inherit at the very begining was not here and the problem was the same -->
<inherits name="com.smartgwt.tools.SmartGwtTools" />
Find attached an Eclipse sample project to reproduce what I said. I've removed all the libraries needed to be able to upload the project but will be straight forward to know which libraries are missing.
MultiFileItemTestCase.zip
Thank you very much
Comment