daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Dec 12th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <project xmlns:drops="antlib:com.arcadsoftware.mmk.anttasks" name="Delete a list of files" default="delete">
  4.     <target name="delete" description="description">
  5.         <copy todir="${backup.directory}/${deployment.transactionid}/deletions" overwrite="true" force="true">
  6.             <fileset dir="${param.dir}" includesfile="${param.file}" />
  7.         </copy>
  8.         <delete verbose="true">
  9.             <fileset dir="${param.dir}" includesfile="${param.file}" />
  10.         </delete>
  11.     </target>
  12.     <target name="restore" description="Rollback the copy">
  13.         <copy todir="${param.dir}" overwrite="true" force="true">
  14.             <fileset dir="${backup.directory}/${deployment.transactionid}/deletions" />
  15.         </copy>
  16.     </target>
  17. </project>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top