This is a demo To-do list application that uses Errai as its dependency injection framework.
NOTE: This is a very early stage development demo. Many of the IOC/CDI features might not work as expected.
-
Clone the Errai fork at tiagobento and build the
errai-cdi-lite
experimental branch.git clone https://github.com/tiagobento/errai
git checkout errai-cdi-lite
mvn clean install -Dgwt.compiler.skip
-
Clone this repo and build it.
git clone https://github.com/tiagobento/errai-cdi-lite-demo
mvn clean install -Dgwt.compiler.skip
-
Run the Main class.
mvn clean install exec:java -Dexec.mainClass="org.jboss.errai.demos.cdi.lite.Main" -pl todolist-java -Dapt-generators
-
Either with new Errai APT generators.
mvn clean gwt:run -pl todolist-gwt -Dapt-generators
-
Or with classical GWT generators.
mvn clean gwt:run -pl todolist-gwt