gentle-potato-32845
03/08/2016, 7:37 AMrough-minister-58256
03/08/2016, 7:38 AM$ ./pants help-advanced resolve |grep jvm-options
--resolve-ivy-jvm-options=<option>... (--resolve-ivy-jvm-options=<option>...) ... (default: ['-Xmx1g','-XX:MaxPermSize=256m’])
gentle-potato-32845
03/08/2016, 7:38 AMgentle-potato-32845
03/08/2016, 7:38 AMrough-minister-58256
03/08/2016, 7:38 AMresolve
gentle-potato-32845
03/08/2016, 7:38 AMgentle-potato-32845
03/08/2016, 7:40 AMIvy
class which gets used by IvyTaskMixin
so every ivy task will get themgentle-potato-32845
03/08/2016, 7:41 AMrough-minister-58256
03/08/2016, 7:44 AMpants.ivy.bootstrapper.Bootstrapper
uses a method of the IvySubsystem
(the global “hook” for Ivy configuration/etc) to get these extra options when its bootstrapping the pants.ivy.ivy.Ivy
instancerough-minister-58256
03/08/2016, 7:45 AMgentle-potato-32845
03/08/2016, 7:46 AMgentle-potato-32845
03/08/2016, 7:48 AMgentle-potato-32845
03/08/2016, 7:49 AMrough-minister-58256
03/08/2016, 7:49 AMIvySubsystem
but yeahrough-minister-58256
03/08/2016, 7:49 AMrough-minister-58256
03/08/2016, 7:50 AMrough-minister-58256
03/08/2016, 7:50 AMrough-minister-58256
03/08/2016, 7:51 AM./pants help-advanced <scope>
rough-minister-58256
03/08/2016, 7:51 AMgentle-potato-32845
03/08/2016, 7:52 AMgentle-potato-32845
03/08/2016, 7:52 AMrough-minister-58256
03/08/2016, 7:52 AMrough-minister-58256
03/08/2016, 7:53 AMsrc/python/pants/backend/jvm/register.py
41:from pants.backend.jvm.tasks.ivy_resolve import IvyResolve
140: task(name='ivy', action=IvyResolve).install('resolve', first=True)
rough-minister-58256
03/08/2016, 7:53 AMrough-minister-58256
03/08/2016, 7:53 AMrough-minister-58256
03/08/2016, 7:53 AMcontrib/go/src/python/pants/contrib/go/register.py
44: task(name='go', action=GoFetch).install('resolve’)
rough-minister-58256
03/08/2016, 7:54 AMrough-minister-58256
03/08/2016, 7:54 AMrough-minister-58256
03/08/2016, 7:54 AMgentle-potato-32845
03/08/2016, 7:55 AM