witty-crayon-22786
01/23/2017, 8:28 PMenough-analyst-54434
01/23/2017, 8:28 PMwitty-crayon-22786
01/23/2017, 8:28 PMenough-analyst-54434
01/23/2017, 8:29 PMwitty-crayon-22786
01/23/2017, 8:29 PMenough-analyst-54434
01/23/2017, 8:29 PMhigh-advantage-47550
01/23/2017, 9:03 PMbinary
task generate a jar with the version appended to the filename?witty-crayon-22786
01/23/2017, 9:04 PMwitty-crayon-22786
01/23/2017, 9:04 PMbasename
to something containing a manually specified version, then that would do ithigh-advantage-47550
01/23/2017, 9:05 PMhigh-advantage-47550
01/24/2017, 1:19 AMrough-minister-58256
01/24/2017, 1:24 AMrough-minister-58256
01/24/2017, 1:25 AMhigh-advantage-47550
01/24/2017, 1:29 AMhigh-advantage-47550
01/24/2017, 1:30 AMwide-energy-11069
01/24/2017, 1:31 AMhigh-advantage-47550
01/24/2017, 1:31 AMacceptable-scooter-37412
01/24/2017, 1:35 PMacceptable-scooter-37412
01/24/2017, 1:37 PMinvalidate_dependents
, but the only place I see it being set is hardcoded as False in ResourcesTask here: https://github.com/pantsbuild/pants/blob/master/src/python/pants/backend/jvm/tasks/resources_task.py#L54acceptable-scooter-37412
01/24/2017, 1:39 PMinvalidate_dependents
is actually used and I see that is used in create_cache_manager
in TaskBase
here: https://github.com/pantsbuild/pants/blob/master/src/python/pants/task/task.py#L264acceptable-scooter-37412
01/24/2017, 1:40 PMinvalidate_dependents
to be True
. So something like: def create_cache_manager(self, invalidate_dependents, fingerprint_strategy=None):
return super(BuildPropertiesTask, self).create_cache_manager(
invalidate_dependents=True,
fingerprint_strategy=fingerprint_strategy)
acceptable-scooter-37412
01/24/2017, 1:40 PMacceptable-scooter-37412
01/24/2017, 1:41 PMacceptable-scooter-37412
01/24/2017, 1:41 PMenough-analyst-54434
01/24/2017, 3:21 PM:API: public
so its not guaranteed to be stable when you upgrade to pants next
- more generally, ResourcesTask is a high-level base, yet this is reaching into a low level to tweakenough-analyst-54434
01/24/2017, 3:21 PMenough-analyst-54434
01/24/2017, 3:22 PM:API: public
knob in ResourcesTask for invalidate_dependants and eventually switch to consuming that new API when it rolls out to a pants version you're comfortable upgrading to.enough-analyst-54434
01/24/2017, 3:23 PMenough-analyst-54434
01/24/2017, 3:58 PMTestProjectsIntegrationTest
pretty hard last night as was contributor James Bench. I filed https://github.com/pantsbuild/pants/issues/4204 but wanted to check in on status / knowledge of this problem. I'm not sure if I hit a size edge by bad luck or if this has been a known problem.enough-analyst-54434
01/24/2017, 3:59 PM