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:
fedepell 2018-01-17 15:47:53 +01:00 committed by ita1024
parent daa0c135e1
commit 0c07d0d7fb
1 changed files with 1 additions and 1 deletions

View File

@ -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