Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

Problem using GWT 2.5 RC1 and Super DevMode #6

Open
hpehl opened this issue Oct 29, 2012 · 1 comment
Open

Problem using GWT 2.5 RC1 and Super DevMode #6

hpehl opened this issue Oct 29, 2012 · 1 comment
Assignees
Milestone

Comments

@hpehl
Copy link
Owner

hpehl commented Oct 29, 2012

What steps will reproduce the problem?

  1. When trying to use the new GWT 2.5 RC1 super devmode the compiler shows the following error:
Linking modules
   Bootstrap link for command-line module 'XXXXX'
      Linking module 'XXXXX'
         Invoking Linker Cross-Site-Iframe
            [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: 
jsonpath.js
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'/>
[ERROR] shell failed in doSlowStartup method

Is possible to fix this by adding the file directly to the html file and seting the parameter, but it would be nice if you could mayble avoid using the script tag to fix this issue.

I guess instead of putting the script files in the Module.xml file it probably makes sense to add them to a ClientBundle and use SCriptInjector to inject them

@ghost ghost assigned hpehl Oct 29, 2012
@hpehl
Copy link
Owner Author

hpehl commented Oct 12, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant