dion        2002/06/06 19:18:01

  Modified:    src/templates/build/plugins/core build-init.xml
  Log:
  Removed now redundant callback and callback-check targets as they couldn't work
  for ant reasons
  
  Revision  Changes    Path
  1.8       +1 -26     
jakarta-turbine-maven/src/templates/build/plugins/core/build-init.xml
  
  Index: build-init.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/core/build-init.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- build-init.xml    6 Jun 2002 15:04:00 -0000       1.7
  +++ build-init.xml    7 Jun 2002 02:18:01 -0000       1.8
  @@ -6,7 +6,7 @@
     Based on src/templates/build/build-init-target v1.37
     
     author:   dion
  -  version:  $Id: build-init.xml,v 1.7 2002/06/06 15:04:00 jvanzyl Exp $
  +  version:  $Id: build-init.xml,v 1.8 2002/06/07 02:18:01 dion Exp $
   -->
   
   <project name="maven-init" default="verify-project">
  @@ -312,31 +312,6 @@
       <!-- Get rid of the temporary copy -->    
       <delete file="project.xml.${maven.toVersion}"/>
       
  -  </target>
  -
  -  <!-- ================================================================== -->
  -  <!-- C A L L B A C K S  - generic tasks to handle checking and          -->
  -  <!-- ant running of a callback, if files and properties are provided    -->
  -  <!-- must pass buildFile, buildTarget, buildTargetName to these targets -->
  -  <!-- ================================================================== -->
  -
  -  <target name="callback-check">
  -    <condition property="maven.callback.ok">
  -      <and>
  -        <available file="${buildFile}"/>
  -        <not>
  -          <equals arg1="${buildTarget}"
  -                  arg2="$${${buildTargetName}}" />
  -        </not>
  -      </and>
  -    </condition>
  -  </target>
  -  
  -  <target name="callback" depends="callback-check" if="maven.callback.ok">
  -    <!-- not sure about exporting from callbacks yet.... -->
  -    <maven-ant antfile="${buildFile}" target="${buildTarget}" 
  -      inheritAll="true" exportRefs="false" exportAll="false"/>
  -
     </target>
   
   </project>
  
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to