comparison mxtool/mx.py @ 17259:eff18e262a13

fix jdt build on windows/cygwin (2)
author Bernhard Urban <bernhard.urban@jku.at>
date Mon, 29 Sep 2014 20:13:17 -0700
parents 03826360967b
children b641450c19ce
comparison
equal deleted inserted replaced
17258:f1f7b796874f 17259:eff18e262a13
2420 if origContent != content: 2420 if origContent != content:
2421 jdtPropertiesTmp = jdtProperties + '.tmp' 2421 jdtPropertiesTmp = jdtProperties + '.tmp'
2422 with open(jdtPropertiesTmp, 'w') as fp: 2422 with open(jdtPropertiesTmp, 'w') as fp:
2423 fp.write(content) 2423 fp.write(content)
2424 toBeDeleted.append(jdtPropertiesTmp) 2424 toBeDeleted.append(jdtPropertiesTmp)
2425 jdtArgs += ['-properties', jdtPropertiesTmp] 2425 jdtArgs += ['-properties', _tpU2W(jdtPropertiesTmp)]
2426 else: 2426 else:
2427 jdtArgs += ['-properties', jdtProperties] 2427 jdtArgs += ['-properties', _tpU2W(jdtProperties)]
2428 jdtArgs.append('@' + _tpU2W(argfile.name)) 2428 jdtArgs.append('@' + _tpU2W(argfile.name))
2429 2429
2430 run_java(jdtVmArgs + jdtArgs) 2430 run_java(jdtVmArgs + jdtArgs)
2431 2431
2432 # Create annotation processor jar for a project that defines annotation processors 2432 # Create annotation processor jar for a project that defines annotation processors