I'm new to gwtp, so forgive me if I forgot something stupid.
I tried to follow the documentation here:
The first code snippet:
package com.mydomain.myproject.client;
import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;
import com.gwtplatform.mvp.client.gin.DefaultModule;
import com.gwtplatform.mvp.shared.proxy.RouteTokenFormatter;
import com.mydomain.myproject.client.application.ApplicationModule;
public class ClientModule extends AbstractPresenterModule {
@Override
protected void configure() {
install(new Builder()
.tokenFormatter(RouteTokenFormatter.class)
.defaultPlace(NameTokens.HOME)
.errorPlace(NameTokens.HOME)
.unauthorizedPlace(NameTokens.HOME)
.build());
install(new ApplicationModule());
}
}
Is referring to a Builder class... but it is not available. Is the documentation inline with the 1.5 release or is already based on 1.6-SNAPSHOT (which I can not use right now - no maven access to the snapshot repo).
Or am I missing a maven dependency ? I only have this in my pom:
<groupId>com.gwtplatform</groupId>
<artifactId>gwtp-mvp-client</artifactId>
<version>1.5</version>
<scope>provided</scope>
</dependency>