code: public TomcatServiceBuilder baseDir(Path baseDir) {
          baseDir = requireNonNull(baseDir, "baseDir").toAbsolutePath();
          if (!Files.isDirectory(baseDir)) {
              throw new IllegalArgumentException("baseDir: " + baseDir + " (expected: a directory)");
          }
  
          this.baseDir = baseDir;
          return this;
      }
docs: Sets the base directory of an embedded Tomcat.