1 11 package org.eclipse.pde.internal.build.ant; 12 13 public class TarFileSet extends ZipFileSet { 14 15 26 public TarFileSet(String dir, boolean file, String defaultexcludes, String includes, String includesfile, String excludes, String excludesfile, String prefix, String casesensitive, String permission) { 27 super(dir, file, defaultexcludes, includes, includesfile, excludes, excludesfile, prefix, casesensitive, null); 28 } 29 30 protected void print(AntScript script) { 31 script.printTab(); 32 script.print("<tarfileset"); if (file) 34 script.printAttribute("file", dir, false); else 36 script.printAttribute("dir", dir, false); script.printAttribute("defaultexcludes", defaultexcludes, false); script.printAttribute("includes", includes, false); script.printAttribute("includesfile", includesfile, false); script.printAttribute("excludes", excludes, false); script.printAttribute("excludesfile", excludesfile, false); script.printAttribute("casesensitive", casesensitive, false); if (file) 44 script.printAttribute("fullpath", prefix, false); else 46 script.printAttribute("prefix", prefix, false); 48 if (file) 49 script.printAttribute("filemode", permission, false); else 51 script.printAttribute("dirmode", permission, false); 53 script.println("/>"); } 55 } 56 | Popular Tags |