Fix eclipse/README.txt wrt requestfactory-apt
Also move the section to after the gwt-user project has been imported
and requestfactory-apt.jar has been built with Ant, and add a note for
those working on changing the behavior of requestfactory-apt.
Change-Id: I0ce0d16361c67dff3f8e7e15d4c7db7a61700da0
diff --git a/eclipse/README.txt b/eclipse/README.txt
index d62ef8b..7050300 100644
--- a/eclipse/README.txt
+++ b/eclipse/README.txt
@@ -105,29 +105,6 @@
- Annotation is used as super interface
- Enable @SuppressWarnings annotations
-------- Annotation Processor --------
-
-Some components of GWT (RequestFactory) use annotation processing. Do
-the following to add a directory named '.apt-generated' to the source
-path, and put on the APT factory path annotation processors required
-by the RequestFactory unit tests.
-
-Select project 'gwt-user'
-
-Project->Properties->Java Compiler->AnnotationProcessor
-- Check Enable project specific settings
-- Check Enable annotation processing
-- Optional: check Enable processing in editor (for on-the-fly
- validation of RequestFactory interfaces)
-
-Project->Properties->Java Compiler->AnnotationProcessor->Factory Path
-- Add Variable
-- Select GWT_TOOLS and click Extend
-- Select lib/requestfactory and the most recently dated
- requestfactory-apt-YYYY-MM-DD.jar
-- Optional: deselect org.eclipse.jst.ws.annoations.core if eclipse has
- added it, it can make eclipse sluggish
-
== Checkstyle ==
Checkstyle is used to enforce good programming style. Its use in
@@ -229,6 +206,29 @@
use Eclipse's built in compiler.
+------- Annotation Processor --------
+Some components of GWT (RequestFactory) use annotation processing. Do
+the following to add a directory named '.apt-generated' to the source
+path, and put on the APT factory path annotation processors required
+by the RequestFactory unit tests.
+
+Select project 'gwt-user'
+
+Project->Properties->Java Compiler->AnnotationProcessor
+- Check Enable project specific settings
+- Check Enable annotation processing
+- Optional: check Enable processing in editor (for on-the-fly
+ validation of RequestFactory interfaces)
+
+Project->Properties->Java Compiler->AnnotationProcessor->Factory Path
+Click Add External Jars... and choose
+ <path to trunk>/build/staging/gwt-0.0.0/requestfactory-apt.jar'
+This file has been generated by the Ant call above. If you work on
+RequestFactory changing the behavior of requestfactory-apt, you'll
+have to rebuild the JAR with Ant and then close and reopen the 'gwt-user'
+project for the changes to be reflected in Eclipse.
+
+
== Launching 'Hello' ==
While the 'applicationCreator' script is useful for setting up projects and