1 26 27 package org.objectweb.openccm.task; 28 29 import java.util.Iterator ; 31 import java.util.Map ; 32 33 40 public class IR3Feed 41 extends CompilerBase 42 implements Runnable 43 { 44 50 51 private java.util.List files_; 52 53 59 64 public IR3Feed(Map project_properties) 65 { 66 super(project_properties); 68 69 files_ = new java.util.ArrayList (); 71 } 72 73 79 85 88 public void 89 configure() 90 { 91 Iterator it = null; 92 93 compiler_configure(); 95 96 if (files_.size() > 0) 98 { 99 for (it = files_.iterator(); it.hasNext(); ) 100 { 101 addArgument( (String ) it.next() ); 102 } 103 } 104 else 105 { 106 addArgument(file_); 107 } 108 109 addProperty( "OpenCCM_CONFIG_DIR", 111 project_properties_.getProperty("OpenCCM_CONFIG_DIR") ); 112 113 setXmlFile( project_properties_.getProperty("OpenCCM_HOMEDIR") + "/xml/launcher/IR3Feed.xml" ); 114 } 115 116 121 public void 122 addConfiguredFile(StringType str) 123 { 124 files_.add(str.getName()); 125 } 126 } 127 | Popular Tags |