When developping errai-based applications (http://www.jboss.org/errai),
invoking GWT compile makes the errai extension to generate java classes in the
build output folder.
These new classes won't be visible in eclipse until you manually refresh that
output.
Provided you installed m2e, m2e-wtp, GPE on an Eclipse JavaEE distribution :
- create a new maven project
- select the jboss-errai-kitchensink-archetype
- in the gen'ed project properties > Java Compiler > Annotation Processing :
enable project specific settings and annotation processing
- under the Java Compiler > Annotation Processing > Factory path : add the
errai-common-2.2.0-SNAPSHOT.jar attached here
- let eclipse rebuild the project : A classlist.mf file will be generated under
target/classes
- Now trigger GWT Compile on the project.
- Once compilation is over, open the navigator view and look at
target/classes/org folder : it contains the root package of your app.
- refresh target/classes/org/ the jboss package will show up
Original issue reported on code.google.com by fbri...@gmail.com on 30 Nov 2012 at 12:02
Original issue reported on code.google.com by
fbri...@gmail.com
on 30 Nov 2012 at 12:02Attachments: