high-advantage-47550
01/20/2017, 2:42 PM./pants X
, and then ./pants X
again (with no changes in-between), why would some targets return a 404
against the cache?high-advantage-47550
01/20/2017, 2:42 PMhigh-advantage-47550
01/20/2017, 2:45 PMcompile
or compiled-changed
in CI?billions-airport-86951
01/20/2017, 5:01 PMwide-energy-11069
01/20/2017, 5:32 PMwide-energy-11069
01/20/2017, 5:33 PMbillowy-minister-38128
01/20/2017, 7:20 PMhappy-kitchen-89482
01/22/2017, 5:25 AMX
in ./pants X
? For most tasks, rerunning should be a no-op and the cache shouldn't even be consulted.acceptable-scooter-37412
01/23/2017, 1:29 PMacceptable-scooter-37412
01/23/2017, 1:29 PMacceptable-scooter-37412
01/23/2017, 1:29 PMresources
goalacceptable-scooter-37412
01/23/2017, 1:30 PMjvm_binary
targetacceptable-scooter-37412
01/23/2017, 1:32 PMbuild_properties_task
-- writes a build.properties
file containing a bunch of information that we find useful for the build -- e.g. the git commit hash, list of most recent previous commits, etc.acceptable-scooter-37412
01/23/2017, 1:32 PMbuild.properties
then gets bundled in to the final jar when we run ./pants build
against a jvm_binary
targetacceptable-scooter-37412
01/23/2017, 1:33 PMacceptable-scooter-37412
01/23/2017, 1:34 PM./pants build
against the same jvm_binary
target can end up with different build.properties results -- e.g. they might get different commit hashes, even if both are running the command while checked out on same branchacceptable-scooter-37412
01/23/2017, 1:35 PMbuild.properties
often contains references to old commit hashes, as if it is referring to stuff that has been cached somewhereacceptable-scooter-37412
01/23/2017, 1:36 PMdeploy_jar_rules
section to the BUILD stanza, it magically worksacceptable-scooter-37412
01/23/2017, 1:36 PMdeploy_jar_rules=jar_rules(rules=[])
with no rules inside, the build.properties
then contains what is expectedacceptable-scooter-37412
01/23/2017, 1:37 PMresources
section, or a I add more dependencies
, it reverts to faulty behaviouracceptable-scooter-37412
01/23/2017, 1:39 PMdeploy_jar_rules=jar_rules(rules=[])
in the BUILD stanzas seems non-ideal)acceptable-scooter-37412
01/23/2017, 1:39 PMhigh-advantage-47550
01/23/2017, 3:23 PMcompile myproject/src/main/scala
enough-analyst-54434
01/23/2017, 5:04 PMbillions-airport-86951
01/23/2017, 5:11 PMenough-analyst-54434
01/23/2017, 5:11 PMenough-analyst-54434
01/23/2017, 5:12 PMbillions-airport-86951
01/23/2017, 5:14 PMregister_jvm_tool(register,
'cobertura-instrument',
classpath=[
cobertura_jar(),
slf4j_jar
])
Can I shade it out with config or do I need to submit a PR to remove it?enough-analyst-54434
01/23/2017, 5:14 PMenough-analyst-54434
01/23/2017, 5:18 PM