Mercurial > hg > graal-compiler
changeset 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 | a1b71ebfdf5f |
children | fcc40370f78d 25b86e465365 |
files | mxtool/mx.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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)