geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject cvs commit: incubator-geronimo/etc maven.xml
Date Mon, 25 Aug 2003 15:42:20 GMT
jdillon     2003/08/25 08:42:20

  Modified:    etc      maven.xml
  Log:
   o Added script cleansing
   o Added clobber goal to nuke log files
  
  Revision  Changes    Path
  1.8       +26 -2     incubator-geronimo/etc/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/etc/maven.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- maven.xml	17 Aug 2003 08:29:20 -0000	1.7
  +++ maven.xml	25 Aug 2003 15:42:20 -0000	1.8
  @@ -66,7 +66,23 @@
       </j:if>
     </preGoal>
     
  -  <!-- TODO: add same thing for test:compile -->
  +  <!-- Remove the log files -->
  +  <goal name="clobber" 
  +        description="Removes all (non-repository installed) build generated files">
  +        
  +    <!-- Let clean:clean do some work first -->
  +    <attainGoal name="clean:clean"/>
  +    
  +    <j:jelly xmlns="jelly:ant">
  +      <delete quiet="false" failonerror="false">
  +        <fileset dir="${basedir}">
  +          <include name="maven.log"/>
  +          <include name="velocity.log*"/>
  +        </fileset>
  +      </delete>
  +    </j:jelly>
  +  
  +  </goal>
     
     <!-- Cleanse source files -->
     <goal name="cleanse-sources"
  @@ -114,6 +130,14 @@
           <include name="project.xml"/>
           <include name="maven.xml"/>
         </fixcrlf>
  +      
  +      <!-- Cleanse scripts -->
  +      <j:set var="srcdir" value="${basedir}/src/bin"/>
  +      <u:available file="${srcdir}">
  +        <fixcrlf srcdir="${srcdir}" eol="lf" eof="remove" tab="remove" tablength="4">
  +          <include name="**/*"/>
  +        </fixcrlf>
  +      </u:available>
         
       </j:scope>
       
  
  
  

Mime
View raw message