<?xml version="1.0"?><!DOCTYPE COMMANDO SYSTEM "commando.dtd"><!-- Monkstone, 2016-July-13 for JRubyArt-1.2.0+ --><COMMANDO><UI><CAPTIONLABEL="Run"><FILE_ENTRYLABEL="ruby file"VARNAME="file"EVAL="buffer.getName()"/></CAPTION><CAPTIONLABEL="Path to k9"><ENTRYLABEL="path"VARNAME="k9path"DEFAULT=""/></CAPTION><CAPTIONLABEL="Choose Run/Watch/Version"><CHOICELABEL="Select"VARNAME="type"DEFAULT="run"><OPTIONLABEL="run"VALUE="-r"/><OPTIONLABEL="watch"VALUE="-w"/><OPTIONLABEL="check"VALUE="--check"/><OPTIONLABEL="version"VALUE="--version"/></CHOICE></CAPTION></UI><COMMANDS><COMMANDSHELL="System"CONFIRM="FALSE"><!-- cd to working dir -->
buf = new StringBuilder("cd ");
buf.append(MiscUtilities.getParentOfPath(buffer.getPath()));
buf.toString();
</COMMAND><COMMANDSHELL="System"CONFIRM="FALSE">
buf = new StringBuilder(k9path);
buf.append("k9 ");
buf.append(type);
switch(type){
case "-r":
case "-w":
buf.append(" ");
buf.append(file);
break;
case "-?":
break;
}
buf.toString();
</COMMAND></COMMANDS></COMMANDO>