enricher/deprecated/src/main/java/io/fabric8/maven/enricher/deprecated/IconEnricher.java
private void copyAppConfigFiles(File appBuildDir, File appConfigDir) throws IOException {
        File[] files = appConfigDir.listFiles();
        if (files != null) {
            appBuildDir.mkdirs();
            for (File file : files) {
                File outFile = new File(appBuildDir, file.getName());
                if (file.isDirectory()) {
                    copyAppConfigFiles(outFile, file);
                } else {
                    Files.copy(file, outFile);
                }
            }
        }
    }
private void copyAppConfigFiles(File appBuildDir, File appConfigDir) throws IOException {
        File[] files = appConfigDir.listFiles();
        if (files != null) {
            appBuildDir.mkdirs();
            for (File file : files) {
                File outFile = new File(appBuildDir, file.getName());
                if (file.isDirectory()) {
                    copyAppConfigFiles(outFile, file);
                } else {
                    Files.copy(file, outFile);
                }
            }
        }
    }
private void copyAppConfigFiles ( File appBuildDir , File appConfigDir ) throws IOException { File [ ] files = appConfigDir . listFiles ( ) ; if ( files != null ) { appBuildDir . mkdirs ( ) ; for ( File file : files ) { File outFile = new File ( appBuildDir , file . getName ( ) ) ; if ( file . isDirectory ( ) ) { copyAppConfigFiles ( outFile , file ) ; } else { Files . copy ( file , outFile ) ; } } } }
Copies any local configuration files into the app directory
Copies any local configuration files into the app directory