You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some JARs are "executable" in the sense that they can be run directly with java -jar. This is supported by setting a main class in the JAR's manifest file.
It may be convenient to be able to run such JARs using bazel run. The java_import rule could support this. An executable boolean attribute could be added to the rule to let the user indicate whether a JAR is in fact executable.
The text was updated successfully, but these errors were encountered:
Some JARs are "executable" in the sense that they can be run directly with
java -jar
. This is supported by setting a main class in the JAR's manifest file.It may be convenient to be able to run such JARs using
bazel run
. Thejava_import
rule could support this. Anexecutable
boolean attribute could be added to the rule to let the user indicate whether a JAR is in fact executable.The text was updated successfully, but these errors were encountered: