1 27 28 package org.objectweb.jonas.ant.jonasbase; 29 30 import java.io.File ; 31 32 36 40 public class JReplace extends Replace implements BaseTaskItf { 41 42 45 private String configurationFile = null; 46 47 50 private String logInfo = null; 51 52 55 private File jonasRoot = null; 56 57 61 public void setConfigurationFile(String configurationFile) { 62 this.configurationFile = configurationFile; 63 } 64 65 68 public void setDestDir(File destDir) { 69 setFile(new File (new File (destDir, "conf"), configurationFile)); 70 } 71 72 75 public void setDestFile(File destFile) { 76 setFile(destFile); 77 } 78 79 84 public String getLogInfo() { 85 return logInfo; 86 } 87 88 93 public void setLogInfo(String logInfo) { 94 this.logInfo = logInfo; 95 } 96 97 100 public void setJonasRoot(File jonasRoot) { 101 this.jonasRoot = jonasRoot; 102 } 103 104 107 protected File getJonasRoot() { 108 return jonasRoot; 109 } 110 111 } | Popular Tags |