Mercurial > hg > graal-compiler
diff mx/commands.py @ 4257:32b8274f52ad
Made 'mx ideinit' resolve library dependencies eagerly as well as put absolute paths into the generated Eclipse project configurations.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 10 Jan 2012 23:49:13 +0100 |
parents | 67e88b7624d5 |
children | ffd5ce8fc736 |
line wrap: on
line diff
--- a/mx/commands.py Tue Jan 10 09:35:00 2012 -0800 +++ b/mx/commands.py Tue Jan 10 23:49:13 2012 +0100 @@ -377,10 +377,11 @@ else: path = dep.path if dep.mustExist: + dep.get_path(resolve=True) if isabs(path): println(out, '\t<classpathentry exported="true" kind="lib" path="' + path + '"/>') else: - println(out, '\t<classpathentry exported="true" kind="lib" path="/' + path + '"/>') + println(out, '\t<classpathentry exported="true" kind="lib" path="' + join(_graal_home, path) + '"/>') else: println(out, '\t<classpathentry combineaccessrules="false" exported="true" kind="src" path="/' + dep.name + '"/>')