public static File findTemplateDirectory ( ApplicationTemplate tpl , File configurationDirectory ) { StringBuilder sb = new StringBuilder ( TEMPLATES ) ; sb . append ( "/" ) ; sb . append ( tpl . getName ( ) ) ; if ( ! Utils . isEmptyOrWhitespaces ( tpl . getVersion ( ) ) ) { sb . append ( " - " ) ; sb . append ( tpl . getVersion ( ) ) ; } return new File ( configurationDirectory , sb . toString ( ) ) ; }
Finds the directory that contains the files for an application template .