void () { for (Map.Entry<JarInfo, File> entry : myBuiltJars.entrySet()) { File fromFile = entry.getValue(); final JarInfo jarInfo = entry.getKey(); DestinationInfo destination = jarInfo.getDestination(); if (destination instanceof ExplodedDestinationInfo) { File toFile = new File(FileUtil.toSystemDependentName(destination.getOutputPath())); try { FileUtil.rename(fromFile, toFile); } catch (IOException e) { myContext.processMessage(new CompilerMessage(IncArtifactBuilder.getBuilderName(), BuildMessage.Kind.ERROR, CompilerMessage.getTextFromThrowable(e))); } } } }