mirror of
https://gitlab.com/ita1024/waf.git
synced 2024-11-25 19:30:04 +01:00
eclipse: use standard variable ${PROJECT_DIR_NAME} in pydev configuration instead of hardcoded name for better portability
This commit is contained in:
parent
acb0420313
commit
ac4cd579e6
@ -278,7 +278,7 @@ class eclipse(Build.BuildContext):
|
||||
prop = self.add(doc, pydevproject, 'pydev_pathproperty',
|
||||
{'name':'org.python.pydev.PROJECT_SOURCE_PATH'})
|
||||
for i in user_path:
|
||||
self.add(doc, prop, 'path', '/'+appname+'/'+i)
|
||||
self.add(doc, prop, 'path', '/${PROJECT_DIR_NAME}/'+i)
|
||||
|
||||
doc.appendChild(pydevproject)
|
||||
return doc
|
||||
|
Loading…
Reference in New Issue
Block a user