sangy14 / google-plugin-for-eclipse

Automatically exported from code.google.com/p/google-plugin-for-eclipse
0 stars 0 forks source link

Add option to refresh folders after running GWT Compile #94

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by rdayal@google.com on 10 Dec 2012 at 7:35

GoogleCodeExporter commented 9 years ago

Original comment by rdayal@google.com on 2 Jan 2013 at 9:53