Saturday, April 4, 2015

Re: gwt-tour not working

GWT Tour now includes 2 libraries  Intro.js and Hopscotch.js. You are inheriting the Intro JS wrapper. You need to inherit  the Hopscotch one 

<inherits name='com.ait.toolkit.hopscotch.HopScotch'/>

Then you can start using the Tour API.


Tour tour = new Tour("myTour");


Hope that helps,

Cheers,

Alain 


On 4 April 2015 at 11:36, marian lux <mlux.at@gmail.com> wrote:
Thank you but could you explain the exact steps to get it working?


in my pom.xml I added now
                <dependency>
    <groupId>com.ahome-it</groupId>
<artifactId>gwt-tour</artifactId>
<version>2.0.0-SNAPSHOT</version>   
</dependency>

in my *.gwt.xml I added
<inherits name='com.ait.toolkit.intro.Intro'/>

After adding the line
Tour tour = new Tour("myTour");

I get the error on console in super dev mode
               [ERROR] Line 150: No source code is available for type com.ait.toolkit.hopscotch.client.Tour; did you forget to inherit a required

What is wrong with my config?
THX Marian


Am Donnerstag, 2. April 2015 12:27:00 UTC+2 schrieb Alain:

On 2 April 2015 at 12:18, Alain Ekambi <jazzma...@gmail.com> wrote:

We just release a new version of gwt tour. You can get it from our sonatype repository.

On 1 Apr 2015 17:55, "marian lux" <mlu...@gmail.com> wrote:
I can't get gwt-tour working with my project.

As described 
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-we...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.



--

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/

--
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.



--

Alain Ekambi

Co-Founder

Ahomé Innovation Technologies

http://www.ahome-it.com/

--
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