Announcement
Collapse
No announcement yet.
X
-
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:
andCode:<inherits name='com.google.gwt.user.User' <inherits name="com.smartgwt.SmartGwtNoScript" /> leads to: myproj\war\lms\sc\skins\Graphite, ToolSkin, ToolSkinNative.
Best regards,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).
Blama
Leave a comment:
-
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:
-
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:
-
Hi Isomorphic,
I changed:
toCode:<inherits name="com.smartgwt.SmartGwtNoScript" />
I needed SmartGwtNoScript because of the used Linker. I get this error when building with SmartGwtNoTheme:Code:<inherits name="com.smartgwt.SmartGwtNoTheme" />
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)?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'/>
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:
Best regards,Code:<inherits name='com.google.gwt.user.User' /> <inherits name="com.smartgwt.SmartGwtNoScript" />
Blama
Leave a comment:
-
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:
-
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 withFor me, also the developer console has the modified skin, so I really don't think I'll need those four different skin-directories.Code:<script type="text/javascript" src="myproj/sc/skins/Simplicity/load_skin.js"></script>
Best regards,
Blama
Leave a comment:
-
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
and nothing more.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" />
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,
BlamaTags: None
Leave a comment: