Revision: 10403
Author:   zun...@google.com
Date:     Mon Jun 27 09:15:42 2011
Log: Removes .apt_generated from gwt-user classpath. Since Annotation Processor support isn't turned on for the imported project, the directory is never created
and just causes errors when trying to launch projects.

In the future, we might want this back on along with Annotation Processor
support enabled by default

Review at http://gwt-code-reviews.appspot.com/1466807

Review by: robertvaw...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10403

Modified:
 /trunk/eclipse/README.txt
 /trunk/eclipse/user/.classpath

=======================================
--- /trunk/eclipse/README.txt   Mon May  2 09:43:22 2011
+++ /trunk/eclipse/README.txt   Mon Jun 27 09:15:42 2011
@@ -101,6 +101,18 @@
 - Annotation is used as super interface
 - Enable @SuppressWarnings annotations

+------- Annotation Processor --------
+
+Some components of GWT (RequestFactory) use annotation processing.
+
+Select project 'gwt-user'
+
+Project->Preferences->Java Compiler->AnnotationProcessor
+- Check Enable project specific settings
+- Check Enable annotation processing
+
+This adds a directory named '.apt-generated' to the source path.
+
 == Checkstyle ==

 Checkstyle is used to enforce good programming style.
=======================================
--- /trunk/eclipse/user/.classpath      Thu Jun  9 11:31:51 2011
+++ /trunk/eclipse/user/.classpath      Mon Jun 27 09:15:42 2011
@@ -59,10 +59,5 @@
<classpathentry kind="var" path="GWT_TOOLS/lib/jboss/test-harness/jboss-test-harness-api-1.0.0.jar" sourcepath="/GWT_TOOLS/lib/jboss/test-harness/jboss-test-harness-api-1.0.0-sources.jar"/> <classpathentry kind="var" path="GWT_TOOLS/lib/testng/testng-5.14.1-sources.jar"/> <classpathentry kind="var" path="GWT_TOOLS/lib/testng/testng-5.14.1-nojunit.jar" sourcepath="/GWT_TOOLS/lib/testng/testng-5.14.1-sources.jar"/>
-       <classpathentry kind="src" path=".apt_generated">
-               <attributes>
-                       <attribute name="optional" value="true"/>
-               </attributes>
-       </classpathentry>
        <classpathentry kind="output" path="bin"/>
 </classpath>

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to