mirror of https://gitlab.com/ita1024/waf.git
eclipse: don't rely on Context.g_module.out as it may not be defined if default used, used bldnode instead
This commit is contained in:
parent
daa0c135e1
commit
0c07d0d7fb
|
@ -343,7 +343,7 @@ class eclipse(Build.BuildContext):
|
|||
{'kind': 'src', 'path': i})
|
||||
|
||||
self.add(doc, javaproject, 'classpathentry', {'kind': 'con', 'path': 'org.eclipse.jdt.launching.JRE_CONTAINER'})
|
||||
self.add(doc, javaproject, 'classpathentry', {'kind': 'output', 'path': Context.g_module.out})
|
||||
self.add(doc, javaproject, 'classpathentry', {'kind': 'output', 'path': self.bldnode.name })
|
||||
doc.appendChild(javaproject)
|
||||
return doc
|
||||
|
||||
|
|
Loading…
Reference in New Issue