Mercurial > hg > graal-compiler
diff mxtool/mx.py @ 13982:b167b1838029
mx eclipseinit: take care of working sets that were edited by hand
author | Michael Haupt <michael.haupt@oracle.com> |
---|---|
date | Thu, 20 Feb 2014 11:14:46 +0100 |
parents | 6c6d1eacc398 |
children | 9d8aaa3200a3 |
line wrap: on
line diff
--- a/mxtool/mx.py Wed Feb 19 14:50:49 2014 -0800 +++ b/mxtool/mx.py Thu Feb 20 11:14:46 2014 +0100 @@ -3057,6 +3057,10 @@ if name == 'item': if ps.current_ws is None: target.element(name, attributes) + elif not attributes.has_key('elementID') and attributes.has_key('factoryID') and attributes.has_key('path') and attributes.has_key('type'): + target.element(name, attributes) + p_name = attributes['path'][1:] # strip off the leading '/' + ps.seen_projects.append(p_name) else: p_name = attributes['elementID'][1:] # strip off the leading '=' _workingset_element(target, p_name)