# HG changeset patch # User Doug Simon # Date 1376472251 -7200 # Node ID fcb4cf14a3c3a0bc98f36dc135c461540d134326 # Parent 8bcae501c51b7c4223f9cbc1007aa212f80cdcd8 absence of IDE_BUILD_TARGET environment variable prevents HotSpot builds when editing C++ sources in Eclipse diff -r 8bcae501c51b -r fcb4cf14a3c3 mx/commands.py --- a/mx/commands.py Tue Aug 13 19:07:41 2013 +0200 +++ b/mx/commands.py Wed Aug 14 11:24:11 2013 +0200 @@ -564,9 +564,8 @@ for build in builds: if build == 'ide-build-target': - build = os.environ.get('IDE_BUILD_TARGET', 'product') - if len(build) == 0: - mx.logv('[skipping build from IDE as IDE_BUILD_TARGET environment variable is ""]') + build = os.environ.get('IDE_BUILD_TARGET', None) + if build is None or len(build) == 0: continue jdk = _jdk(build, create=True)