javaVSCode
javaVSCode copied to clipboard
read classpath from file
I'm working on a gradle project which has a rather lengthy class path (which I figure would hold true for any but the most simplistic java project). Putting the whole thing into launch.json is rather inconvenient. In order to get support for Java in VSCode I'm using the Java Language Support extension. This requires me to have the classpath in a file called classpath.txt. It would be super nice if I could pass the name of this file as an argument to the Java Debugger extension, or even better have it use the classpath.txt file by default to get the classpath.
Hi @c-mu Maybe using something like java -cp "$(cat classpath.txt)"
.