witty-crayon-22786
04/07/2016, 8:07 PMcreamy-optician-55754
04/07/2016, 8:59 PMcreamy-optician-55754
04/07/2016, 8:59 PMwitty-crayon-22786
04/07/2016, 9:02 PMcurved-manchester-66006
04/07/2016, 9:33 PMsrc/java/org/example/coolproject/{conf,bin}
Or in their own part of the tree?witty-crayon-22786
04/07/2016, 9:36 PMwitty-crayon-22786
04/07/2016, 9:36 PMcurved-manchester-66006
04/07/2016, 9:37 PMcurved-manchester-66006
04/07/2016, 9:39 PMsrc
but there is another root with tarballs/myteam/custom-hard-to-share-build-file
or something like that?witty-crayon-22786
04/07/2016, 9:39 PMwitty-crayon-22786
04/07/2016, 9:39 PMsrc/resources/**/*
witty-crayon-22786
04/07/2016, 9:40 PMcurved-manchester-66006
04/07/2016, 9:42 PMcurved-manchester-66006
04/07/2016, 9:45 PMwitty-crayon-22786
04/07/2016, 9:45 PMfast-megabyte-33579
04/07/2016, 9:46 PMfast-megabyte-33579
04/07/2016, 9:47 PMdist
) but works well in practicefast-nail-55400
04/07/2016, 9:48 PMcurved-manchester-66006
04/07/2016, 9:50 PMfast-nail-55400
04/07/2016, 9:50 PMfast-nail-55400
04/07/2016, 9:50 PMdocker_image
target for BUILD filesfast-nail-55400
04/07/2016, 9:51 PMcurved-manchester-66006
04/07/2016, 9:52 PMfast-nail-55400
04/07/2016, 9:53 PMcurved-manchester-66006
04/07/2016, 11:06 PMjvm_app
sticks everything in libs
enough-analyst-54434
04/08/2016, 12:09 AM-[no-]bundle-jvm-deployjar (default: False)
Expand 3rdparty jars into loose classfiles in the bundle's root dir. If unset, the root will contain internal classfiles only, and 3rdparty jars will go into the bundle's libs dir.
enough-analyst-54434
04/08/2016, 12:09 AMenough-analyst-54434
04/08/2016, 12:11 AM./pants bundle.jvm --deployjar [target]
. So the bundle.jvm scope does actually make some sense since bundle applies to other, non-jvm, backends where --deployjar
makes no sense.enough-analyst-54434
04/08/2016, 12:18 AM./pants bundle.jvm --deployjar --archive=tar src/java/::
find dist -name "*.tar" -print -exec tar -tf {} \;
dist/src.java.org.pantsbuild.tools.jar.main.tar
./
./jar-tool.jar
dist/src.java.org.pantsbuild.tools.junit.main.tar
./
./junit-runner.jar
dist/src.java.org.pantsbuild.tools.runner.runner-binary.tar
./
./pants-runner.jar
tar -xf dist/src.java.org.pantsbuild.tools.jar.main.tar
java -jar jar-tool.jar -h | head -2
Usage:
TARGET_JAR [-classpath=<CLASS_PATH_ENTRY,CLASS_PATH_ENTRY,...>] [-compress=BOOL]...
full-kilobyte-93429
04/08/2016, 12:22 AM