2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-22 18:07:12 +01:00

Merge branch 'javatest-deps' into 'master'

javaw: fix buglet overwrites working variable while adding dependencies

See merge request ita1024/waf!2275
This commit is contained in:
ita1024 2020-01-04 10:29:40 +00:00
commit e17ac4d27d

View File

@ -251,7 +251,7 @@ def use_javac_files(self):
base_node = tg.path.get_bld() base_node = tg.path.get_bld()
self.use_lst.append(base_node.abspath()) self.use_lst.append(base_node.abspath())
self.javac_task.dep_nodes.extend([x for x in base_node.ant_glob(JAR_RE, remove=False, quiet=True)]) self.javac_task.dep_nodes.extend([dx for dx in base_node.ant_glob(JAR_RE, remove=False, quiet=True)])
for tsk in tg.tasks: for tsk in tg.tasks:
self.javac_task.set_run_after(tsk) self.javac_task.set_run_after(tsk)