1
2
3
4
5
6
7
8
9
10
11
|
@ECHO OFF cd %~dp1 ECHO Compiling %~nx1....... IF EXIST %~n1.class ( DEL %~n1.class ) javac %~nx1 -encoding utf8 IF EXIST %~n1.class ( ECHO -----------OUTPUT----------- java %~n1 ) |
1
2
|
@ echo off start runJava.bat %1 |
1
2
3
4
5
|
{ "cmd" : [ "startJava.bat" , "$file" ], "file_regex" : "^(...*?):([0-9]*):?([0-9]*)" , "selector" : "source.java" } |
1
2
|
for k, v in proc_env.iteritems(): proc_env[k] = os.path.expandvars(v).encode(sys.getfilesystemencoding()) |
1
2
3
4
5
6
|
for k, v in proc_env.iteritems(): try : proc_env[k] = os.path.expandvars(v).encode(sys.getfilesystemencoding()) except UnicodeDecodeError: print "Encoding error..." print "VARIABLE: " , k, " : " , v |
原文地址:http://blog.csdn.net/androidmylove/article/details/42490881