changeset 11597:723796685546

more verbose output for eclipseinit if it cannot place workingsets.xml in Eclipse metadata location
author Michael Haupt <michael.haupt@oracle.com>
date Wed, 11 Sep 2013 09:13:27 +0200
parents 91e5f927af63
children 73dbd282ad3a
files mxtool/mx.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mxtool/mx.py	Tue Sep 10 22:39:50 2013 -0400
+++ b/mxtool/mx.py	Wed Sep 11 09:13:27 2013 +0200
@@ -2558,12 +2558,14 @@
 
     # identify the location where to look for workingsets.xml
     wsfilename = 'workingsets.xml'
+    wsloc = '.metadata/.plugins/org.eclipse.ui.workbench'
     wsroot = suite.dir
     if os.environ.has_key('WORKSPACE'):
         wsroot = os.environ['WORKSPACE']
-    wsdir = join(wsroot, '.metadata/.plugins/org.eclipse.ui.workbench')
+    wsdir = join(wsroot, wsloc)
     if not exists(wsdir):
         wsdir = wsroot
+        log('Could not find Eclipse metadata directory. Please place ' + wsfilename + ' in ' + wsloc + ' manually.')
     wspath = join(wsdir, wsfilename)
 
     # gather working set info from project data