Tightened up datanucleus paths to include only **/domain/*.class

Merged over a few remaining changes from bikeshed

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


git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@8615 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/common.ant.xml b/samples/common.ant.xml
index cfd0a47..d0342c7 100755
--- a/samples/common.ant.xml
+++ b/samples/common.ant.xml
@@ -43,6 +43,12 @@
         <copy tofile="${sample.build}/pom.xml" file="pom.xml"/>
       </then>
     </if>
+    <if>
+      <available file="README-MAVEN.txt"/>
+      <then>
+        <copy tofile="${sample.build}/README-MAVEN.txt" file="README-MAVEN.txt"/>
+      </then>
+    </if>
   </target>
 
   <target name="compile" description="Compile all java files">