comparison mxtool/mx.py @ 11701:e29743466d00

fixed regression in mx.py
author Doug Simon <doug.simon@oracle.com>
date Wed, 18 Sep 2013 11:20:43 +0200
parents facb442de5db
children 78e6109ee411
comparison
equal deleted inserted replaced
11700:528ab536b403 11701:e29743466d00
2556 update_file(join(settingsDir, name), content) 2556 update_file(join(settingsDir, name), content)
2557 2557
2558 if len(p.annotation_processors()) > 0: 2558 if len(p.annotation_processors()) > 0:
2559 out = XMLDoc() 2559 out = XMLDoc()
2560 out.open('factorypath') 2560 out.open('factorypath')
2561 out.element('factorypathentry', {'kind' : 'PLUGIN', 'id' : 'org.eclipset.ws.annotations.core', 'enabled' : 'true', 'runInBatchMode' : 'false'}) 2561 out.element('factorypathentry', {'kind' : 'PLUGIN', 'id' : 'org.eclipse.jst.ws.annotations.core', 'enabled' : 'true', 'runInBatchMode' : 'false'})
2562 for ap in p.annotation_processors(): 2562 for ap in p.annotation_processors():
2563 for dep in dependency(ap).all_deps([], True): 2563 for dep in dependency(ap).all_deps([], True):
2564 if dep.isLibrary(): 2564 if dep.isLibrary():
2565 if not hasattr(dep, 'eclipse.container') and not hasattr(dep, 'eclipse.project'): 2565 if not hasattr(dep, 'eclipse.container') and not hasattr(dep, 'eclipse.project'):
2566 if dep.mustExist: 2566 if dep.mustExist: