Use relative paths by default

Fix filtering interface methods

Get relative path from tag file
This commit is contained in:
2025-03-26 21:46:29 +03:00
parent b386142752
commit 2d3d4b4de4
4 changed files with 18 additions and 17 deletions

View File

@@ -56,9 +56,13 @@ public class Build {
}
static void buildJtags(String mainClass, String[] sourcePaths, String[] classPaths) {
if (classNeedsRebuild(mainClass, sourcePaths)) {
logger.info("Compiling %s...".formatted(program));
compileJava(classPaths, sourcePaths);
if (!classNeedsRebuild(mainClass, sourcePaths)) {
return;
}
logger.info("Compiling %s...".formatted(program));
if (!compileJava(classPaths, sourcePaths)) {
System.exit(1);
}
}