Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Commit

Permalink
Added support for verbose mode when called from main
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dietrich <christian.dietrich@itemis.de>
  • Loading branch information
cdietrich committed Dec 14, 2022
1 parent edeb067 commit 49bc766
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ public static void main(String[] args) {
compiler.setUseCurrentClassLoaderAsParent(true);
} else if ("-writeTraceFiles".equals(argument)) {
compiler.setWriteTraceFiles(true);
} else if ("-verbose".equals(argument)) {
compiler.setVerbose(true);
} else {
List<String> existingDirs = new ArrayList<String>(compiler.getSourcePathDirectories());
existingDirs.add(argument);
Expand Down Expand Up @@ -93,6 +95,7 @@ private static void printUsage() {
out.println("-generateAnnotationComment <string> If -generateGeneratedAnnotation is used, add a comment.");
out.println("-useCurrentClassLoader Use current classloader as parent classloader");
out.println("-writeTraceFiles Write Trace-Files");
out.println("-verbose Run compiler in verbose mode");
}

}

0 comments on commit 49bc766

Please sign in to comment.