Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经编写了要在我的 riemann 配置中使用的自定义 clojure 函数。我正在使用 leiningen 构建包含我的函数的 jar 文件(带有依赖项)。启动 riemann 时将这个 jar 文件包含在类路径中的正确方法是什么?
我只发现了这种方式。我不确定这是否是正确的方法:
java -cp "/path/to/my/custom.jar:/path/to/riemann-0.2.6/lib/riemann.jar" riemann.bin /path/to/riemann-0.2.6/etc/riemann.配置