php - phing - delete directory contents without directory itself -


i trying automate php build, part of deleting selected content directory, in below snippet

<delete verbose="${phing.verbose}">     <fileset dir="${svn.exportdir}/includes" casesensitive="false">         <exclude name="alerts.php"/>         <exclude name="config.php"/>         <exclude name="${client.name}_config.php"/>         <exclude name="defaults.php"/>         <exclude name="func.inc.php"/>     </fileset> </delete> 

now above code remove includes folder well, undesirable. phing not understand

 dir="${svn.exportdir}/includes/**" 

(directory includes/** not found), , adding

<exclude name="${svn.exportdir}/includes"/> 

to delete task kind of awkward, wondering whether there better way remove selected content directory phing?

it know bug, see http://www.phing.info/trac/ticket/796 should working versions 2.9+

for me not work on 2.9.1


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -