purple-oil-45048
02/06/2017, 5:42 AMprepare_resources
..
path = os.path.join(chroot, 'build.properties')
resources = self.context.products.get_data('resources', lambda: defaultdict(MultipleRootedProducts))
classpaths = self.context.products.get_data('runtime_classpath')
with safe_open(path, 'w') as output:
<http://self.context.log.info|self.context.log.info>('file={}'.format(path))
output.writelines( … )
# only for resources?
resources[target].add_abs_paths(chroot, [path])
classpaths.add_for_target(target, [('default', chroot)])
The file gets generated but I don’t see it anywhere in the /dist
dir after running ./pants bundle