1 Reply Latest reply on Oct 11, 2010 8:20 AM by Heiko Braun

    Non maven project?

    f.sauter Newbie

      Hey all!

       

      Errai looks really great! But can you provide more info how to setup an Errai project? You describe how to use the bus  workspace and cdi, howto setup a project with maven, but i can't find any informations how to build a project from scratch  (e.g. for users who do not want to use Maven), what jars/inherits do i really need if I want to use the bus only etc. So I would be happy to have a short tutorial. In advance, thanks for help!

       

      cheers, Florian

        • 1. Re: Non maven project?
          Heiko Braun Master

          I can tell what dependencies exist. But how to setup a GWT project largely depends on the environment (Eclipse plugin , standalone, etc) you chose.

          These are the the build-time dependencies:

           

          [INFO] The following files have been resolved:

          [INFO]    com.google.code.guice:guice:jar:aopalliance:2.0:compile

          [INFO]    com.google.code.guice:guice:jar:2.0:compile

          [INFO]    com.google.code.guice:guice-servlet:jar:2.0:compile

          [INFO]    com.google.collections:google-collections:jar:1.0:compile

          [INFO]    com.google.gwt:gwt-dev:jar:2.0.4:provided

          [INFO]    com.google.gwt:gwt-user:jar:2.0.4:provided

          [INFO]    dom4j:dom4j:jar:1.6:compile

          [INFO]    javassist:javassist:jar:3.12.1.GA:compile

          [INFO]    javax.annotation:jsr250-api:jar:1.0:compile

          [INFO]    javax.inject:javax.inject:jar:1:compile

          [INFO]    log4j:log4j:jar:1.2.14:compile

          [INFO]    org.jboss.errai:errai-bus:jar:1.1-SNAPSHOT:compile

          [INFO]    org.jboss.errai:errai-common:jar:1.1-SNAPSHOT:compile

          [INFO]    org.jboss.errai:errai-ioc:jar:1.1-SNAPSHOT:compile

          [INFO]    org.jboss.errai:errai-tools:jar:1.1-SNAPSHOT:compile

          [INFO]    org.mvel:mvel2:jar:2.0.18-RC4:compile

          [INFO]    org.reflections:reflections:jar:0.9.5-RC2_jboss-SP1:compile

          [INFO]    org.slf4j:slf4j-api:jar:1.5.10:compile

          [INFO]    org.slf4j:slf4j-log4j12:jar:1.5.10:compile

          [INFO]    xml-apis:xml-apis:jar:1.0.b2:compile

          Any errai module (errai-*.jar) is actually a GWT module and needs to be included on your app module descriptor [1].
          Probably the most simple way to get going is to leverage GWT project generator [2] and simply include all dependcies
          and update the module descriptor.

          [INFO] The following files have been resolved:
          [INFO]    com.google.code.guice:guice:jar:aopalliance:2.0:compile
          [INFO]    com.google.code.guice:guice:jar:2.0:compile
          [INFO]    com.google.code.guice:guice-servlet:jar:2.0:compile
          [INFO]    com.google.collections:google-collections:jar:1.0:compile
          [INFO]    com.google.gwt:gwt-dev:jar:2.0.4:provided
          [INFO]    com.google.gwt:gwt-user:jar:2.0.4:provided
          [INFO]    dom4j:dom4j:jar:1.6:compile
          [INFO]    javassist:javassist:jar:3.12.1.GA:compile
          [INFO]    javax.annotation:jsr250-api:jar:1.0:compile
          [INFO]    javax.inject:javax.inject:jar:1:compile
          [INFO]    log4j:log4j:jar:1.2.14:compile
          [INFO]    org.jboss.errai:errai-bus:jar:1.1-SNAPSHOT:compile
          [INFO]    org.jboss.errai:errai-common:jar:1.1-SNAPSHOT:compile
          [INFO]    org.jboss.errai:errai-ioc:jar:1.1-SNAPSHOT:compile
          [INFO]    org.jboss.errai:errai-tools:jar:1.1-SNAPSHOT:compile
          [INFO]    org.mvel:mvel2:jar:2.0.18-RC4:compile
          [INFO]    org.reflections:reflections:jar:0.9.5-RC2_jboss-SP1:compile
          [INFO]    org.slf4j:slf4j-api:jar:1.5.10:compile
          [INFO]    org.slf4j:slf4j-log4j12:jar:1.5.10:compile
          [INFO]    xml-apis:xml-apis:jar:1.0.b2:compile