cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r603695 - in /incubator/cxf/trunk: buildtools/src/main/resources/cxf-checkstyle-suppressions.xml distribution/pom.xml distribution/src/main/release/samples/common_build.xml
Date Wed, 12 Dec 2007 18:28:11 GMT
Author: dkulp
Date: Wed Dec 12 10:28:11 2007
New Revision: 603695

URL: http://svn.apache.org/viewvc?rev=603695&view=rev
Log:
Fix running samples from a source build
Ignore the **/build/src/** directories for checkstyle

Modified:
    incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle-suppressions.xml
    incubator/cxf/trunk/distribution/pom.xml
    incubator/cxf/trunk/distribution/src/main/release/samples/common_build.xml

Modified: incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle-suppressions.xml?rev=603695&r1=603694&r2=603695&view=diff
==============================================================================
--- incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle-suppressions.xml (original)
+++ incubator/cxf/trunk/buildtools/src/main/resources/cxf-checkstyle-suppressions.xml Wed
Dec 12 10:28:11 2007
@@ -24,4 +24,8 @@
     <suppress checks=".*"
               files=".+[\\\/]generated[\\\/].+\.java"
               />
+    <suppress checks=".*"
+              files=".+[\\\/]build[\\\/]src[\\\/].+\.java"
+              />
+
 </suppressions>

Modified: incubator/cxf/trunk/distribution/pom.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/pom.xml?rev=603695&r1=603694&r2=603695&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/pom.xml (original)
+++ incubator/cxf/trunk/distribution/pom.xml Wed Dec 12 10:28:11 2007
@@ -322,19 +322,6 @@
             </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-ant-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>generate-sources</id>
-                        <phase>generate-sources</phase>
-                        <goals>
-                            <goal>ant</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-assembly-plugin</artifactId>
                 <executions>
                     <execution>
@@ -369,8 +356,7 @@
                         <phase>process-sources</phase>
                         <configuration>
                             <tasks>
-                                <xslt style="${basedir}/src/main/xsl/srcbuild_paths.xsl"
in="build.xml" out="${basedir}/target/srcbuild_paths.xml">
-                                </xslt>
+                                <mkdir dir="${basedir}/target"/>
                                 <pathconvert property="cp" refid="maven.runtime.classpath"
/>
                                 <condition property="output.cp" value="set CXF_CLASSPATH=${cp}">
                                     <os family="windows" />
@@ -381,6 +367,7 @@
                                 <property name="output.cp" value="export CXF_CLASSPATH=${cp}"
/>
                                 <property name="output.ext" value="" />
                                 <echo file="${basedir}/target/srcbuild_env${output.ext}"
message="${output.cp}" />
+                                <echo file="${basedir}/target/srcbuild_env.ant" message="${cp}"
/>
                                 <echo file="${basedir}/target/version.properties" message="cxf.version=${pom.version}"
/>
                                 <copy file="${basedir}/src/main/assembly/jbi.xml" tofile="${basedir}/target/jbi.xml"
overwrite="yes">
                                     <filterset>

Modified: incubator/cxf/trunk/distribution/src/main/release/samples/common_build.xml
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/common_build.xml?rev=603695&r1=603694&r2=603695&view=diff
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/common_build.xml (original)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/common_build.xml Wed Dec 12
10:28:11 2007
@@ -37,12 +37,13 @@
 
     <!-- Setup for building in a source build-->
     <available property="srcbuild_paths.file"
-        value="../../../../target/srcbuild_paths.xml"
-        file="target/srcbuild_paths.xml"
-        filepath="../../../.."/>
-    <property name="srcbuild_paths.file" value="notsrcbuildpath"/>
-    <import file="${srcbuild_paths.file}" optional="true"/>
-    <property name="srcbuild.classpath" value=""/>
+        value="../../../../../target/srcbuild_env.ant"
+        file="target/srcbuild_env.ant"
+        filepath="../../../../.."/>
+    <property name="srcbuild_paths.file" value="${build.dir}/notsrcbuildpath"/>
+    <mkdir dir="${build.dir}"/>
+    <touch file="${build.dir}/notsrcbuildpath" verbose="false"/>
+    <loadfile property="srcbuild.classpath" srcFile="${srcbuild_paths.file}" failonerror="false"
quiet="true"/>
 
     <uptodate property="codegen.notrequired" value="true">
         <srcfiles dir="${wsdl.dir}" includes="**/*.wsdl"/>
@@ -137,6 +138,7 @@
         <delete file="demo.log"/>
         <delete dir="${build.var.dir}"/>
         <delete dir="${activemq.home}/var"/>
+        <delete dir="${build.dir}"/>
     </target>
 
 



Mime
View raw message