question: protected void deleteDirectory ( File webAppFile ) { if ( webAppFile . isDirectory ( ) ) { File [ ] children = webAppFile . listFiles ( ) ; for ( File element : children ) { deleteDirectory ( element ) ; } webAppFile . delete ( ) ; } else { webAppFile . delete ( ) ; } }
target:  Recursively delete the webapp directory.