From: Stefan B. <bo...@us...> - 2003-03-10 07:47:29
|
Update of /cvsroot/ant-contrib/ant-contrib/src/net/sf/antcontrib/platform In directory sc8-pr-cvs1:/tmp/cvs-serv16838/src/net/sf/antcontrib/platform Modified Files: ShellScriptTask.java Log Message: untabify Index: ShellScriptTask.java =================================================================== RCS file: /cvsroot/ant-contrib/ant-contrib/src/net/sf/antcontrib/platform/ShellScriptTask.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ShellScriptTask.java 10 Mar 2003 07:46:15 -0000 1.2 --- ShellScriptTask.java 10 Mar 2003 07:47:25 -0000 1.3 *************** *** 89,93 **** */ public void addText(String s) { ! script.append(getProject().replaceProperties(s)); } --- 89,93 ---- */ public void addText(String s) { ! script.append(getProject().replaceProperties(s)); } *************** *** 104,108 **** */ public void setShell(String shell) { ! this.shell = shell; } --- 104,108 ---- */ public void setShell(String shell) { ! this.shell = shell; } *************** *** 138,150 **** */ protected void writeScript(String scr) throws BuildException { ! try { ! java.io.FileOutputStream os = new java.io.FileOutputStream( tmpFile); ! os.write(scr.getBytes(), 0, scr.length()); os.close(); ! } ! catch( Exception e ) { ! throw new BuildException( e ); ! } } } --- 138,150 ---- */ protected void writeScript(String scr) throws BuildException { ! try { ! java.io.FileOutputStream os = new java.io.FileOutputStream( tmpFile); ! os.write(scr.getBytes(), 0, scr.length()); os.close(); ! } ! catch( Exception e ) { ! throw new BuildException( e ); ! } } } |