Revision: 8602 Author: [email protected] Date: Fri Aug 20 08:26:19 2010 Log: Updated common.ant.xml to copy pom.xml (if found) to build/out Added .place-holder to ensure war dir existence
Review at http://gwt-code-reviews.appspot.com/782801 Review by: [email protected] http://code.google.com/p/google-web-toolkit/source/detail?r=8602 Added: /trunk/samples/expenses/war /trunk/samples/expenses/war/.place-holder Modified: /trunk/samples/build.xml /trunk/samples/common.ant.xml ======================================= --- /trunk/samples/build.xml Wed Aug 18 18:29:03 2010 +++ /trunk/samples/build.xml Fri Aug 20 08:26:19 2010 @@ -61,6 +61,12 @@ </antcall> </target> + <target name="source" description="Copy source to the output folder"> + <antcall target="-do"> + <param name="target" value="source" /> + </antcall> + </target> + <target name="test" description="Test GWT"> <antcall target="-do"> <param name="target" value="test" /> ======================================= --- /trunk/samples/common.ant.xml Wed Aug 18 18:29:03 2010 +++ /trunk/samples/common.ant.xml Fri Aug 20 08:26:19 2010 @@ -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"> -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
