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/modules/twiddle maven.xml
Date Wed, 13 Aug 2003 11:07:51 GMT
jdillon     2003/08/13 04:07:51

  Modified:    modules/twiddle maven.xml
  Log:
   o drop uptodate stuff for now as it appears to be broke
  
  Revision  Changes    Path
  1.2       +1 -21     incubator-geronimo/modules/twiddle/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/incubator-geronimo/modules/twiddle/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	12 Aug 2003 18:18:45 -0000	1.1
  +++ maven.xml	13 Aug 2003 11:07:51 -0000	1.2
  @@ -29,25 +29,9 @@
                        types="j2"/>
       -->
       
  -    <!-- The following is a hacked snippet of the castor plugin -->
  -    
       <j:set var="schema" value="${basedir}/src/schema/twiddle-configuration.xsd"/>
  -    <j:set var="fileVar" value="${schema}.filename"/>
  -    <j:set var="uptodateVar" value="${schema}.uptodate"/>
  -    <ant:basename property="${fileVar}" file="${schema}"/>
  -    <j:set var="filename" value="${pom.getContext().getVariable(fileVar)}"/>
  -    <j:set var="context" value="${pom.getPluginContext('maven-castor-plugin')}"/>
  -    <j:set var="log" value="${pom.getPluginContext('maven-castor-plugin').getVariable('maven.castor.tstamp')}"/>
       <j:set var="gen" value="${pom.getPluginContext('maven-castor-plugin').getVariable('maven.castor.dest')}"/>
       
  -    <ant:uptodate property="${uptodateVar}" targetfile="${log}/${filename}">
  -      <ant:srcfiles dir="${basedir}" includes="${schema}"/>
  -    </ant:uptodate>
  -    
  -    <j:set var="uptodate" value="${pom.getContext().getVariable(uptodateVar)}"/>
  -    
  -    <j:if test="${uptodate == null}">
  -    
       <ant:java className="org.exolab.castor.builder.SourceGenerator"
                 failonerror="true">
         <ant:arg value="-i"/>
  @@ -63,10 +47,6 @@
         <ant:arg value="-dest"/>
         <ant:arg value="${gen}"/>
       </ant:java>
  -    
  -    <ant:touch file="${log}/${filename}"/>
  -    
  -    </j:if>
       
     </preGoal>
   
  
  
  

Mime
View raw message