changeset 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 8bcae501c51b
children 2a26b86d7724
files mx/commands.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)