< prev index next >
src/jdk.jextract/share/classes/com/sun/tools/jextract/Main.java
Print this page
@@ -251,11 +251,11 @@
Files.createDirectories(dest);
} else if (!Files.isDirectory(dest)) {
ctx.err.println(format("not.a.directory", dest));
return 4;
}
- ctx.collectClassFiles(dest, targetPackage);
+ ctx.collectClassFiles(dest, args, targetPackage);
} catch (IOException ex) {
ctx.err.println(format("cannot.write.class.file", dest, ex));
if (Main.DEBUG) {
ex.printStackTrace(ctx.err);
}
@@ -271,11 +271,11 @@
} else {
outputName = options.nonOptionArguments().get(0) + ".jar";
}
try {
- ctx.collectJarFile(Paths.get(outputName), targetPackage);
+ ctx.collectJarFile(Paths.get(outputName), args, targetPackage);
} catch (IOException ex) {
ctx.err.println(format("cannot.write.jar.file", outputName, ex));
if (Main.DEBUG) {
ex.printStackTrace(ctx.err);
}
< prev index next >