plain-sundown-25537
11/20/2016, 6:18 PMplain-sundown-25537
11/20/2016, 6:19 PMhappy-kitchen-89482
11/20/2016, 6:21 PMplain-sundown-25537
11/20/2016, 6:22 PMplain-sundown-25537
11/20/2016, 6:22 PMwitty-crayon-22786
11/20/2016, 6:27 PMwitty-crayon-22786
11/20/2016, 6:27 PMwitty-crayon-22786
11/20/2016, 6:27 PMjvm_binary
and java_library
in ithappy-kitchen-89482
11/20/2016, 6:27 PMwitty-crayon-22786
11/20/2016, 6:27 PM./pants binary ${project}::
works to build all binaries that can be builtplain-sundown-25537
11/20/2016, 6:29 PMplain-sundown-25537
11/20/2016, 6:29 PMwitty-crayon-22786
11/20/2016, 6:32 PMwitty-crayon-22786
11/20/2016, 6:33 PMplain-sundown-25537
11/20/2016, 6:40 PMwitty-crayon-22786
11/20/2016, 6:42 PMjvm_binary
target. i agree with benjy that we could support building a deploy bundle for any target.witty-crayon-22786
11/20/2016, 6:43 PMhappy-kitchen-89482
11/20/2016, 8:09 PM./pants jar <library target>
should do something sensible, and I think most new users would expect that to be something like "create a jar of <library target> and all its deps, with no manifest"happy-kitchen-89482
11/20/2016, 8:09 PMenough-analyst-54434
11/20/2016, 8:48 PMenough-analyst-54434
11/20/2016, 8:49 PMclean-all
then ./pants jar ...
and find:
$ tree .pants.d/jar/create/
.pants.d/jar/create/
βββ 252d64521cf9
βββ src.java.com.sun.tools.javac.api.api
βΒ Β βββ 5c78e180e544
βΒ Β βΒ Β βββ api.jar
βΒ Β βββ current -> 5c78e180e544
βββ src.java.org.pantsbuild.args4j.args4j
βΒ Β βββ 3649d44e1ce2
βΒ Β βΒ Β βββ args4j.jar
βΒ Β βββ current -> 3649d44e1ce2
βββ src.java.org.pantsbuild.junit.annotations.annotations
βΒ Β βββ 94c1daade151
βΒ Β βΒ Β βββ annotations.jar
βΒ Β βββ current -> 94c1daade151
βββ src.java.org.pantsbuild.testing.testing
βΒ Β βββ 8bc92a4eec7c
βΒ Β βΒ Β βββ testing.jar
βΒ Β βββ current -> 8bc92a4eec7c
βββ src.java.org.pantsbuild.tools.jar.jar
βΒ Β βββ 012ebfce1e03
βΒ Β βΒ Β βββ jar.jar
βΒ Β βββ current -> 012ebfce1e03
βββ src.java.org.pantsbuild.tools.junit.junit
βΒ Β βββ 47e84656060d
βΒ Β βΒ Β βββ junit.jar
βΒ Β βββ current -> 47e84656060d
βββ src.java.org.pantsbuild.tools.junit.withretry.withretry
βΒ Β βββ 3ab833ffe2c1
βΒ Β βΒ Β βββ withretry.jar
βΒ Β βββ current -> 3ab833ffe2c1
βββ src.java.org.pantsbuild.tools.runner.runner-library
βββ 84cd17ae0f83
βΒ Β βββ runner-library.jar
βββ current -> 84cd17ae0f83
25 directories, 8 files
But that's obviously way too low-level and is just a workaround.enough-analyst-54434
11/20/2016, 8:51 PMenough-analyst-54434
11/20/2016, 8:53 PMbinary
does what you suggest todayenough-analyst-54434
11/20/2016, 8:54 PMhappy-kitchen-89482
11/20/2016, 8:54 PMhappy-kitchen-89482
11/20/2016, 8:54 PMjar
could be ambiguous over whether all deps are included or if it's just the classes for the target you invoked on.enough-analyst-54434
11/20/2016, 8:54 PMhappy-kitchen-89482
11/20/2016, 8:55 PMhappy-kitchen-89482
11/20/2016, 8:55 PMenough-analyst-54434
11/20/2016, 8:55 PM