Hello, I’m trying to write a custom build system for java. I want my build system to compile and run a simple class. The problem I’m experiencing is that $basename and $filedir don’t return anything. Here is my code so far.
{
"cmd": "javac", "$file"],
"cmd": "java", "-cp", "${filedir:/}", "$basename"],
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.java"
}
Thanks.