public static void copResourcesFromJarToDir ( String sourceClassPath , File dest ) { try { List < File > resourcesInnPackage = getResourcesInnPackage ( sourceClassPath ) ; for ( File file : resourcesInnPackage ) { JK . printBlock ( "Copying file: " + file . getName ( ) + " to folder " + dest . getAbsolutePath ( ) ) ; FileUtils . copyFileToDirectory ( file , dest ) ; } } catch ( IOException e ) { JK . throww ( e ) ; } }
Cop resources from jar to dir .