We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The text was updated successfully, but these errors were encountered:
In the common testcase that all test extend, we have :
Path out = Paths.get("target/test_"+this.getClass().getSimpleName()+".json");
See https://stackoverflow.com/questions/9834776/java-nio-file-path-issue
Sorry, something went wrong.
https://bugs.openjdk.java.net/browse/JDK-8197918
schemacrawler/SchemaCrawler#199
final Path linterConfigsFile = FileSystems.getDefault().getPath("",this.getClass().getClassLoader().getResource(linterName + "/schemacrawler-linter-configs-test.xml").getPath());
Here is a code sample submitted by @schemacrawler :
final Path codePath = Paths.get(testClass.getProtectionDomain() .getCodeSource().getLocation().toURI()).normalize().toAbsolutePath();
Notice the use of URI which could really do the job !
URI
adriens
No branches or pull requests
The text was updated successfully, but these errors were encountered: