// Try to set up a symbolic link for the test. try {
Files.createSymbolicLink(Paths.get("a"), Paths.get("tmp"));
System.err.println("Created symbolic link");
} catch (UnsupportedOperationException | IOException e) {
System.err.println("Problem creating symbolic link: " + e);
System.err.println("Test cannot continue; test passed by default"); return;
}
// If symbolic link was successfully created, // try a compilation that will use it. new JavacTask(tb)
.sourcepath(".")
.outdir(".")
.sources(TSrc)
.run()
.writeAll();
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.