Alvinalexander2 weeks agoJavaScriptAmmonite REPL: How to import managed dependencies (and JAR files, too)To load managed dependencies in Ammonite REPL, use import $ivy.`groupId::artifactId:version` syntax. [ more ]
Alvinalexander1 month agoScalaJava Jar file: How to read a file from a Jar fileJava applications can read text files from their own JAR files using InputStream and BufferedReader. Using getResourceAsStream method without a path before the filename reads files from the current directory within a JAR. [ more ]