Wednesday, April 1, 2015

gwt-tour not working

I can't get gwt-tour working with my project.

As described 
here https://github.com/eemi2010/Gwt-Tour
and here http://eemi2010.github.io/gwt-tour/

I added in my pom.xml
<repositories>
   
<repository>
       
<id>gwttour-mvn-repo</id>
       
<url>https://raw.github.com/kerbymart/gwt-tour/mvn-repo/</url>
       
<snapshots>
           
<enabled>true</enabled>
           
<updatePolicy>always</updatePolicy>
       
</snapshots>
   
</repository>
</repositories>


<dependency>
   
<groupId>com.eemi.gwt</groupId>
   
<artifactId>tour</artifactId>
   
<version>1.0-SNAPSHOT</version>    
</dependency>

Added in the gwt-project.xml the line
<inherits name='com.eemi.gwt.tour.GwtTour'/>


When I add the following line in the code
Tour tour = new Tour("myTour");

Compiling in SDM returns an error "failed"
Console-Log:
Linking modules
   
Bootstrap link for command-line module 'at.mlux.oha'
     
Linking module 'oha'
         
Invoking Linker Cross-Site-Iframe
           
Ignoring the following script tags in the gwt.xml file
hopscotch
-0.1.js
....
....
src
='{feedAuthorAvatarURL}'> (:22)
         
Computing all possible rebind results for 'com.eemi.gwt.tour.client.resources.GwtTourResources'
           
Rebinding com.eemi.gwt.tour.client.resources.GwtTourResources
               
Invoking generator com.google.gwt.resources.rebind.context.InlineClientBundleGenerator
                 
Creating assignment for css()
                     
Finding resources
                       
[ERROR] Resource hopscotch.css not found. Is the name specified as ClassLoader.getResource() would expect?
                 
Creating assignment for js()
                     
Finding resources
                       
[ERROR] Resource hopscotsch-0.1.2.min.js not found. Is the name specified as ClassLoader.getResource() would expect?
         
[ERROR] Errors in 'com/eemi/gwt/tour/client/GwtTour.java'
           
[ERROR] Line 57: Failed to resolve 'com.eemi.gwt.tour.client.resources.GwtTourResources' via deferred

What went wrong?

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment