ArtifactCompilerInstructionCreator (@NotNull String archiveFileName) { final JarDestinationInfo destination = createFileDestination(archiveFileName); final JarInfo jarInfo = new JarInfo(destination); final String outputPath = myJarDestination.getOutputPath() + "/" + archiveFileName; if (!myInstructionsBuilder.registerJarFile(jarInfo, outputPath)) { return new SkipAllInstructionCreator(myInstructionsBuilder); } myJarInfo.addJar(destination.getPathInJar(), jarInfo); return new PackIntoArchiveInstructionCreator(myInstructionsBuilder, jarInfo, "", destination); }