Working with particular file extension


1 comment

  • Avatar

    The <deleteFile>action supports patterns so you could just use the below code:


    The <unzip> action however does not support providing multiple files at once but you could use a <foreach> action:

    <foreach variables="zip">
       <values>"${installdir}/" "${installdir}/" "${installdir}/"</values>

    You could also include the deletion of the zip file inside the foreach.

Please sign in to leave a comment.