Mercurial > hg > truffle
comparison mxtool/mx.py @ 18116:c4f649042a7b
mx/unittest: fix cygwin path issue
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Thu, 16 Oct 2014 08:51:26 -0700 |
parents | 83bbc0e5891a |
children | 1700d12ba0ad |
comparison
equal
deleted
inserted
replaced
18115:4ccabc85a62a | 18116:c4f649042a7b |
---|---|
1570 result = distsCp | 1570 result = distsCp |
1571 | 1571 |
1572 if includeBootClasspath: | 1572 if includeBootClasspath: |
1573 result = os.pathsep.join([java().bootclasspath(), result]) | 1573 result = os.pathsep.join([java().bootclasspath(), result]) |
1574 | 1574 |
1575 return _separatedCygpathU2W(result) | 1575 return result |
1576 | 1576 |
1577 def classpath_walk(names=None, resolve=True, includeSelf=True, includeBootClasspath=False): | 1577 def classpath_walk(names=None, resolve=True, includeSelf=True, includeBootClasspath=False): |
1578 """ | 1578 """ |
1579 Walks the resources available in a given classpath, yielding a tuple for each resource | 1579 Walks the resources available in a given classpath, yielding a tuple for each resource |
1580 where the first member of the tuple is a directory path or ZipFile object for a | 1580 where the first member of the tuple is a directory path or ZipFile object for a |
2364 | 2364 |
2365 args = self.args | 2365 args = self.args |
2366 jdk = self.jdk | 2366 jdk = self.jdk |
2367 outputDir = _cygpathU2W(self.outputDir) | 2367 outputDir = _cygpathU2W(self.outputDir) |
2368 compliance = str(jdk.javaCompliance) | 2368 compliance = str(jdk.javaCompliance) |
2369 cp = classpath(self.proj.name, includeSelf=True) | 2369 cp = _separatedCygpathU2W(classpath(self.proj.name, includeSelf=True)) |
2370 toBeDeleted = [argfileName] | 2370 toBeDeleted = [argfileName] |
2371 | 2371 |
2372 try: | 2372 try: |
2373 if not self.jdtJar: | 2373 if not self.jdtJar: |
2374 mainJava = java() | 2374 mainJava = java() |