Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

SmartGWT very slow when running from IDE

$
0
0
Hi,

We're using an old lgpl smartgwt version (3.0p) and we're trying to upgrade to a newer version of gwt. Our .gwt.xml includes an inherit for com.smartgwt.SmartGwt. Unfortunately that does not work anymore with gwt 2.7.

So I created a new test project using this GWT archetype:
Code:

mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo -DarchetypeArtifactId=gwt-maven-plugin -DarchetypeVersion=2.7.0
When I try to run it it starts within seconds.


I then downloaded the latest 5.0p version, installed it into my local maven repository and changed my .gwt.xml to use:
<inherits name="com.smartgwt.SmartGwtNoScriptNoTheme"/>

I changed my GWTTest1.html to use:
Code:

    <script type="text/javascript" type="text/javascript"> var isomorphicDir = "GWTTest1/sc/";</script>
    <script src="GWTTest1/sc/modules/ISC_Core.js"></script>
    <script src="GWTTest1/sc/modules/ISC_Foundation.js"></script>
    <script src="GWTTest1/sc/modules/ISC_Containers.js"></script>
    <script src="GWTTest1/sc/modules/ISC_Grids.js"></script>
    <script src="GWTTest1/sc/modules/ISC_Forms.js"></script>
    <script src="GWTTest1/sc/modules/ISC_RichTextEditor.js"></script>
    <script src="GWTTest1/sc/modules/ISC_Calendar.js"></script>
    <script src="GWTTest1/sc/modules/ISC_DataBinding.js"></script>

Now the project takes almost 2 minute to start from my IDE with no other changes to the project than those mentioned above. The same happens when I try to use older versions of smartgwt and with different IDE's (Eclipse 4.4.1 and IntelliJ 14.02) . Tested using IE11.

What am I doing wrong?

Viewing all articles
Browse latest Browse all 4756

Trending Articles