Reviewers: rice_google.comm,

Description:
Updated common.ant.xml to copy pom.xml (if found) to  build/out
Added .place-holder to ensure war dir existence


Please review this at http://gwt-code-reviews.appspot.com/782801/show

Affected files:
  M samples/build.xml
  M samples/common.ant.xml
  A samples/expenses/war/.place-holder


Index: samples/build.xml
===================================================================
--- samples/build.xml   (revision 8573)
+++ samples/build.xml   (working copy)
@@ -61,6 +61,12 @@
     </antcall>
   </target>

+  <target name="source" description="Static analysis of GWT source">
+    <antcall target="-do">
+      <param name="target" value="source" />
+    </antcall>
+  </target>
+
   <target name="test" description="Test GWT">
     <antcall target="-do">
       <param name="target" value="test" />
Index: samples/common.ant.xml
===================================================================
--- samples/common.ant.xml      (revision 8573)
+++ samples/common.ant.xml      (working copy)
@@ -37,6 +37,12 @@
     <copy todir="${sample.build}/war">
       <fileset dir="war" excludes="WEB-INF/classes/**"/>
     </copy>
+    <if>
+      <available file="pom.xml"/>
+      <then>
+        <copy tofile="${sample.build}/pom.xml" file="pom.xml"/>
+      </then>
+    </if>
   </target>

   <target name="compile" description="Compile all java files">
Index: samples/expenses/war/.place-holder
===================================================================
--- samples/expenses/war/.place-holder  (revision 0)
+++ samples/expenses/war/.place-holder  (revision 0)


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

Reply via email to