Thanks a lot very much for your response.
On Wednesday, January 28, 2015 at 4:45:17 AM UTC-5, Thomas Broyer wrote:
On Tuesday, January 27, 2015 at 6:20:53 PM UTC+1, ssg wrote:Hi All,
I am getting the following error while running ANT Build.xml; Please help me in correcting the following.
[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] js/ext/ext-all.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.
Based on the above message,
How do I include these tags in the host page? WHERE is the host page and WHAT all tags I have to include in the host page ?The "host page" is the HTML page that loads your GWT app: http://www.gwtproject.
org/doc/latest/ DevGuideOrganizingProjects. html#DevGuideHostPageSo you'll have to put <script src="js/ext/adapter/ext/ext- base.js"></script> and <script src="js/ext/ext-all.js"></ script> in there (adapt the paths as necessary).
I have added <set-configuration-property name='xsiframe.
failIfScriptTag' value='FALSE'/>to my gwt.xml file.I'd have rather removed the <script> elements from the gwt.xml, but indeed that works too…
Below is my gwt.xml code;
<?xml version="1.0" encoding="UTF-8"?>
<!--<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.
googlecode.com/svn/tags/1.7.0/">--> distro-source/core/src/gwt- module.dtd
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.7.0//EN" "http://www.gwtproject.org/
<!-- Inherit the GWTEXT stuff.-->
all.css" />I'd also move that to the host page: <link rel=stylesheet href="js/ext/resources/css/ ext-all.css" />
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To post to this group, send email to firstname.lastname@example.org.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.