Mercurial > hg > truffle
comparison mxtool/mx.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 | 8d2c14f722ac |
comparison
equal
deleted
inserted
replaced
4256:81dc77ed0695 | 4257:32b8274f52ad |
---|---|
643 self.jdk = opts.java_home | 643 self.jdk = opts.java_home |
644 self.debug = opts.java_dbg | 644 self.debug = opts.java_dbg |
645 self.java = exe_suffix(join(self.jdk, 'bin', 'java')) | 645 self.java = exe_suffix(join(self.jdk, 'bin', 'java')) |
646 self.javac = exe_suffix(join(self.jdk, 'bin', 'javac')) | 646 self.javac = exe_suffix(join(self.jdk, 'bin', 'javac')) |
647 self.javap = exe_suffix(join(self.jdk, 'bin', 'javap')) | 647 self.javap = exe_suffix(join(self.jdk, 'bin', 'javap')) |
648 | |
649 if not exists(self.java): | |
650 abort('Java launcher derived from JAVA_HOME does not exist: ' + self.java) | |
648 | 651 |
649 def delAtAndSplit(s): | 652 def delAtAndSplit(s): |
650 return shlex.split(s.lstrip('@')) | 653 return shlex.split(s.lstrip('@')) |
651 | 654 |
652 self.java_args = delAtAndSplit(_opts.java_args) | 655 self.java_args = delAtAndSplit(_opts.java_args) |