Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Gwt Test fails

    Hi there,

    I got a problem with my GWT Test. They fail with the following exception:

    Code:
    [INFO] Caused by: java.lang.Exception: com.google.gwt.core.client.JavaScriptException: (ReferenceError): $debox is not defined
    This only occurs, if I use SMART GWT in my tests, other GWT Tests work fine.
    I'm using SMART GWT 2.4 and GWT 2.2. I've previously worked with SMART GWT 2.2 & GWT 2.0. With this combination they run fine.

    The app itself starts fine, only the GWT tests fail.

    I've already tried to put the SMART GWT inherit on top of my module xml, as explained here: http://forums.smartclient.com/showth...light=%24debox.
    However, this did not help.Here is my module.gwt.xml:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <module rename-to='map'>
    
        <!-- SMART GWT -->
      <inherits name="com.smartgwt.SmartGwt" />
    
    	<!-- Inherit the core Web Toolkit stuff.-->
      <inherits name='com.google.gwt.user.User'/>
      
       <!-- Inherit the default GWT style sheet.  You can change       -->
      <!-- the theme of your GWT application by uncommenting          -->
      <!-- any one of the following lines.                            -->
    <!--  <inherits name='com.google.gwt.user.theme.standard.Standard'/>-->
      <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
      <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->
    
      <!-- Other module inherits                                      -->
      <inherits name='com.eas.trias.api.Map'/>
      <inherits name='com.eas.trias.gwt.core.Core'/>
      <!--<inherits name="com.smartgwt.SmartGwtNoScript" />-->
    <!--  <inherits name="com.smartgwt.SmartGwtNoTheme" />-->
    <!--  <inherits name="com.smartclient.theme.egp.Enterprise" />-->
      
      <!-- GIN -->
      <inherits name="com.google.gwt.inject.Inject"/>
      
      <!-- Openlayers -->
      <inherits name="com.eas.trias.openlayers.Openlayers" />
      
      <!-- Specify the paths for translatable code                    -->
      <source path='client'/>
      <public path='client/resources/files'/> 
      
      <!-- Specify the app entry point class.                         -->
      <entry-point class='com.eas.trias.gwt.map.client.MapMain'/>
    </module>
    Any help apprechiated.

    Best regards,
    Henry
    Last edited by thalles; 12 May 2011, 08:45.

    #2
    *push*

    Need help here!

    Comment

    Working...
    X