INNER CODE UNIT · Java

main

fabric8io/kubernetes-client · scripts/GenerateGraalvmMetadata.java:92

  public static void main(String[] args) {
    System.exit(generate(args) == Result.ERROR ? 1 : 0);
  }

  /**
   * Generate GraalVM metadata without calling System.exit().
   * This method can be called from other scripts using jbang SOURCES directive.
   */
  static Result generate(String[] args) {
    try {
      var config = parseArgs(args);
      if (config == null) {
        return Result.EMPTY; // Help was shown, nothing to do
      }

      if (!config.indexFile.exists()) {
        System.err.println("ERROR: Jandex index file not found: " + config.indexFile);
        System.err.println("Consider generating index with jandex-maven-plugin");

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…