1 19 20 package ca.mcgill.sable.soot.launching; 21 22 import java.util.ArrayList ; 23 24 import org.eclipse.jface.action.*; 25 26 29 public class DavaDecompileFolderLauncher extends SootFolderLauncher { 30 31 34 public void run(IAction action) { 35 super.run(action); 36 37 setCmd(); 38 runSootDirectly(); 39 runFinish(); 40 41 } 42 43 47 private void setCmd() { 48 ArrayList commands = new ArrayList (); 49 commands.add("--"+LaunchCommands.SOOT_CLASSPATH); 50 commands.add(getProcessPath()+getSootClasspath().getSeparator()+getClasspathAppend()); 51 commands.add("--"+LaunchCommands.OUTPUT_DIR); 52 commands.add(getOutputLocation()); 53 getSootCommandList().addSingleOpt("--"+LaunchCommands.KEEP_LINE_NUMBER); 54 getSootCommandList().addSingleOpt("--"+LaunchCommands.XML_ATTRIBUTES); 55 56 commands.add("--"+LaunchCommands.PROCESS_PATH); 57 commands.add(getProcessPath()); 58 getSootCommandList().addSingleOpt("--"+LaunchCommands.DAVA); 59 60 getSootCommandList().addSingleOpt(commands); 61 } 62 63 } 64 | Popular Tags |