comparison mx/commands.py @ 11302:fcb4cf14a3c3

absence of IDE_BUILD_TARGET environment variable prevents HotSpot builds when editing C++ sources in Eclipse
author Doug Simon <doug.simon@oracle.com>
date Wed, 14 Aug 2013 11:24:11 +0200
parents 4e943a311d9c
children 51b0b1104114
comparison
equal deleted inserted replaced
11301:8bcae501c51b 11302:fcb4cf14a3c3
562 assert vm == 'graal', vm 562 assert vm == 'graal', vm
563 buildSuffix = 'graal' 563 buildSuffix = 'graal'
564 564
565 for build in builds: 565 for build in builds:
566 if build == 'ide-build-target': 566 if build == 'ide-build-target':
567 build = os.environ.get('IDE_BUILD_TARGET', 'product') 567 build = os.environ.get('IDE_BUILD_TARGET', None)
568 if len(build) == 0: 568 if build is None or len(build) == 0:
569 mx.logv('[skipping build from IDE as IDE_BUILD_TARGET environment variable is ""]')
570 continue 569 continue
571 570
572 jdk = _jdk(build, create=True) 571 jdk = _jdk(build, create=True)
573 572
574 if vm == 'original': 573 if vm == 'original':