Patched up README, fixed doctool build
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@160 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/eclipse/build-tools/doctool/.checkstyle b/eclipse/build-tools/doctool/.checkstyle
new file mode 100644
index 0000000..afcc9b2
--- /dev/null
+++ b/eclipse/build-tools/doctool/.checkstyle
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<fileset-config file-format-version="1.2.0" simple-config="false">
+ <fileset name="all" enabled="true" check-config-name="GWT Checks" local="false">
+ <file-match-pattern match-pattern="." include-pattern="true"/>
+ </fileset>
+</fileset-config>
diff --git a/eclipse/build-tools/doctool/.classpath b/eclipse/build-tools/doctool/.classpath
index c05d518..785ca66 100644
--- a/eclipse/build-tools/doctool/.classpath
+++ b/eclipse/build-tools/doctool/.classpath
@@ -2,6 +2,6 @@
<classpath>
<classpathentry kind="src" path="core/src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry sourcepath="/GWT_TOOLS/lib/jdk/tools-1.4.2_09-src.zip" kind="var" path="GWT_TOOLS/lib/jdk/tools-1.4.2_09.jar"/>
+ <classpathentry kind="var" path="JDK_HOME/lib/tools.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/eclipse/settings/code-style/README.txt b/eclipse/settings/code-style/README.txt
index e6def33..f781578 100644
--- a/eclipse/settings/code-style/README.txt
+++ b/eclipse/settings/code-style/README.txt
@@ -1,32 +1,35 @@
Eclipse 3.2.X instructions
Code style/formatting:
-Window->Preferences->Java->Code Style->Formatter->Import...->gwt-format.xml
+Window->Preferences->Java->Code Style->Formatter->Import...
+gwt-format.xml
Import organization:
-Window->Preferences->Java->Code Style->Organize Imports->Import...->gwt.importorder
+Window->Preferences->Java->Code Style->Organize Imports->Import...
+gwt.importorder
Member sort order:
Window->Preferences->Java->Appearance->Members Sort Order
There is no import here, make your settings match gwt-sort-order.png
Checkstyle:
-1. Checkstyle is used to enforce good programming style. The Eclipse Checkstyle plugin can be found at:
-http://eclipse-cs.sourceforge.net/.
+1. Checkstyle is used to enforce good programming style. The Eclipse Checkstyle
+plugin can be found at: http://eclipse-cs.sourceforge.net/.
2. Importing the GWT Checkstyle configuration:
-Window->Preferences->Checkstyle->new->import->gwtCheckstyle.xml as GWT Checks
-
+Window->Preferences->Checkstyle->New...
+Set the Type to "External Configuration File"
+Set the Name to "GWT Checks"
+Set the location to the "gwt-checkstyle.xml" in this directory.
+Click "Ok".
3. Enabled Custom GWT Checkstyle checks:
-After the first ant-build, CustomChecks.jar is created in build/lib.
-Go to <path-to-my-eclipse>/plugins/com.atlassw.tools.eclipse.checkstyle_x.x.x directory and copy the CustomChecks.jar into the extension-libraries directory
+After building GWT, a "gwt-customchecks.jar" is created in build/lib.
+Copy this jar into:
+ <eclipse>/plugins/com.atlassw.tools.eclipse.checkstyle_x.x.x/extension-libraries
4. Enable Checkstyle for each project:
Package Explorer-> Project Name -> Preferences->Checkstyle
- Check Checkstyle active for this project, the rest of the configuration should be already loaded.
-
-
-
-
+Check Checkstyle active for this project, the rest of the configuration should
+be already loaded.