cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r786514 - /cxf/trunk/distribution/src/main/release/samples/common_build.xml
Date Fri, 19 Jun 2009 14:07:24 GMT
Author: dkulp
Date: Fri Jun 19 14:07:23 2009
New Revision: 786514

URL: http://svn.apache.org/viewvc?rev=786514&view=rev
Log:
Fix non-maven based demos not compiling correctly

Modified:
    cxf/trunk/distribution/src/main/release/samples/common_build.xml

Modified: cxf/trunk/distribution/src/main/release/samples/common_build.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/common_build.xml?rev=786514&r1=786513&r2=786514&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/common_build.xml (original)
+++ cxf/trunk/distribution/src/main/release/samples/common_build.xml Fri Jun 19 14:07:23 2009
@@ -124,6 +124,13 @@
         <copy todir="${build.classes.dir}">
             <fileset dir="${src.dir}" excludes="**/*.java" />
             <fileset dir="${build.src.dir}" includes="**/*.java" />
+        </copy>
+        <available property="maven.resources.dir.exists" file="${basedir}/src/main/resources"
type="dir" />
+        <antcall target="copy.maven.resources"/>
+    </target>
+
+    <target name="copy.maven.resources" if="maven.resources.dir.exists">
+        <copy todir="${build.classes.dir}">
             <fileset dir="${basedir}/src/main/resources" includes="**/*" />
         </copy>
     </target>



Mime
View raw message