Skip to content

gwtproject/gwt-callback

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GWT Callback

GWT3/J2CL compatible License Chat on Gitter CI

A future-proof port of the com.google.gwt.user.client.rpc GWT module, with no dependency on gwt-user (besides the Java Runtime Emulation), to prepare for GWT 3 / J2Cl.

Migrating from com.google.gwt.user.client.AsyncCallback

  1. Add the dependency to your build.

    For Maven:

    <dependency>
      <groupId>org.gwtproject.callback</groupId>
      <artifactId>gwt-callback</artifactId>
      <version>HEAD-SNAPSHOT</version>
    </dependency>

    For Gradle:

    implementation("org.gwtproject.callback:gwt-callback:HEAD-SNAPSHOT")
  2. Update your GWT module to use

    <inherits name="org.gwtproject.callback.AsyncCallback" />
  3. Change the imports in your Java source files:

    import org.gwtproject.callback.client;

Instructions

To build the module:

  • run mvn clean verify

on the parent directory.

System Requirements

GWT Callback requires GWT 2.8.2 or greater!

Dependencies

GWT Callback does not depend on any other module.