1 26 27 package org.objectweb.openccm.task; 28 29 import java.io.File ; 31 import java.util.Map ; 32 33 34 42 public class IR3toJava 43 extends LauncherApplication 44 implements Runnable 45 { 46 52 53 private File dest_dir_; 54 55 56 private String scope_; 57 58 64 69 public IR3toJava(Map project_properties) 70 { 71 super(project_properties); 73 74 dest_dir_ = null; 76 scope_ = null; 77 } 78 79 85 91 94 public void 95 configure() 96 { 97 setXmlFile( project_properties_.getProperty("OpenCCM_HOMEDIR") + "/xml/launcher/IR3toJava.xml" ); 98 addProperty( "OpenCCM_CONFIG_DIR", 99 project_properties_.getProperty("OpenCCM_CONFIG_DIR") ); 100 setWorkingDirectory(dest_dir_); 102 addArgument(scope_); 104 } 105 106 111 public void 112 setDestdir(String filename) 113 { 114 dest_dir_ = new java.io.File (filename); 115 } 116 117 122 public void 123 setScope(String scope) 124 { 125 scope_ = scope; 126 } 127 } 128 | Popular Tags |