Fixes 2 issues:

(a) Build files for samples contain both the 'hosted' and 'oopm' target. The
oophm target is no longer necessary and refers the now non-existent
gwt-dev-oophm.jar

(b) Fixes the README.txt generated in each sample of the distribution.

Patch by: amitmanjhi
Review by: rjrjr (TBR)



git-svn-id: https://google-web-toolkit.googlecode.com/svn/branches/farewellSwt@6294 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/tools/README.txtsrc b/user/src/com/google/gwt/user/tools/README.txtsrc
index dda9750..650d35e 100644
--- a/user/src/com/google/gwt/user/tools/README.txtsrc
+++ b/user/src/com/google/gwt/user/tools/README.txtsrc
@@ -8,6 +8,9 @@
 We've tested against Eclipse 3.3 and 3.4.  Later versions will likely also
 work, earlier versions may not.
 
+If the directory containing this file does not have a .classpath or .project
+file, generate them by running 'ant eclipse.generate'
+
 In Eclipse, go to the File menu and choose:
 
   File -> Import... -> Existing Projects into Workspace
diff --git a/user/src/com/google/gwt/user/tools/project.ant.xmlsrc b/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
index b054c1d..8b3ef42 100644
--- a/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
+++ b/user/src/com/google/gwt/user/tools/project.ant.xmlsrc
@@ -55,21 +55,6 @@
       <!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
       <arg value="@moduleName"/>
     </java>
-  </target>
-
-  <target name="oophm" depends="javac" description="Run OOPHM hosted mode">
-    <java failonerror="true" fork="true" classname="@shellClass">
-      <classpath>
-        <pathelement location="${gwt.sdk}/gwt-dev-oophm.jar"/>
-        <pathelement location="src"/>
-        <path refid="project.class.path"/>
-      </classpath>
-      <jvmarg value="-Xmx256M"/>
-      <arg value="-startupUrl"/>
-      <arg value="@startupUrl"/>
-      <!-- Additional arguments like -style PRETTY or -logLevel DEBUG -->
-      <arg value="@moduleName"/>
-    </java>
   </target>@antEclipseRule
 
   <target name="build" depends="gwtc" description="Build this project" />