mysterious-action-44812
12/03/2018, 5:43 PMaloof-angle-91616
12/03/2018, 5:49 PMclean-all
? i think what happens here is that if the zip file is corrupted or interrupted when we try to write it a previous time, then the zip library (and most compression utilities, for some reason) will try to open up the file and edit it instead of overwriting it. this may be better perf-wise? and this is also a wild guess regardless, but if it is correct then a clean-all
(which should delete that file) should fix italoof-angle-91616
12/03/2018, 5:50 PMaloof-angle-91616
12/03/2018, 5:51 PMbrief-engineer-67497
12/03/2018, 5:52 PM# 3rdparty/jvm/io/get-coursier/BUILD
jar_library(name='coursier-dep',
jars=[
jar(org='io.get-coursier', name='coursier-cli_2.12', rev='1.1.0-M8'),
],
)
jvm_binary(
name='coursier-bin',
main='coursier.cli.Coursier',
dependencies=[
':coursier-dep',
])
jvm_app(
name='coursier',
binary=':coursier-bin',
)
./pants bundle 3rdparty/jvm/io/get-coursier:coursieraloof-angle-91616
12/03/2018, 5:54 PMscala_jar(org='io.get-coursier', name='coursier-cli', rev='1.1.0-M8')
which avoids the _2.12
(it uses the scala version you're using)aloof-angle-91616
12/03/2018, 5:54 PMaloof-angle-91616
12/03/2018, 5:58 PMmysterious-action-44812
12/03/2018, 6:07 PMbrief-engineer-67497
12/03/2018, 6:26 PMbrief-engineer-67497
12/03/2018, 6:26 PMwide-energy-11069
12/03/2018, 7:23 PMwide-energy-11069
12/03/2018, 7:24 PMwide-energy-11069
12/03/2018, 7:27 PM$ unzip -l coursier-cli_2.12-1.1.0-M8-standalone.jar | grep Coursier
warning [coursier-cli_2.12-1.1.0-M8-standalone.jar]: 55 extra bytes at beginning or within zipfile
(attempting to process anyway)
209 10-24-2018 10:28 coursier/cli/Coursier.class
wide-energy-11069
12/03/2018, 7:28 PMmysterious-action-44812
12/03/2018, 8:03 PMbrief-engineer-67497
12/03/2018, 10:08 PMbootstrap_jar_url
brief-engineer-67497
12/03/2018, 10:12 PM[resolve.coursier]
execution_strategy=subprocess
let us use <https://oss.sonatype.org/content/repositories/releases/io/get-coursier/coursier-cli_2.12/1.1.0-M8/coursier-cli_2.12-1.1.0-M8-standalone.jar>
wide-energy-11069
12/03/2018, 10:41 PMwide-energy-11069
12/03/2018, 10:42 PMcoursier-cli_2.12-1.1.0-M8-standalone.jar
yet, but will do in a bitbrief-engineer-67497
12/03/2018, 10:44 PMbrief-engineer-67497
12/03/2018, 10:44 PMbrief-engineer-67497
12/03/2018, 10:45 PMbrief-engineer-67497
12/03/2018, 10:45 PMwide-energy-11069
12/03/2018, 10:46 PMbrief-engineer-67497
12/03/2018, 10:47 PMbrief-engineer-67497
12/03/2018, 10:47 PMexecution_strategy=subprocess
trickbrief-engineer-67497
12/03/2018, 10:49 PMwide-energy-11069
12/03/2018, 10:49 PMcoursier-cli_2.12-1.1.0-M8-standalone.jar
works with subprocess but fails with nailgun?brief-engineer-67497
12/03/2018, 10:49 PM