git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268348 13f79535-47bb-0310-9956-ffa450edef68master
@@ -80,14 +80,6 @@ public class Jar extends Zip { | |||||
super.setZipfile(jarFile); | super.setZipfile(jarFile); | ||||
} | } | ||||
/** | |||||
* Adds a set of files (nested fileset attribute). | |||||
*/ | |||||
public void addPrefixedfileset(PrefixedFileSet set) { | |||||
log("Warning: Prefixfileset is a deprecated feature. The fileset subelement can be used in it's place", Project.MSG_WARN); | |||||
addFileset(set); | |||||
} | |||||
public void setManifest(File manifestFile) { | public void setManifest(File manifestFile) { | ||||
manifest = manifestFile; | manifest = manifestFile; | ||||
if (!manifest.exists()) | if (!manifest.exists()) | ||||
@@ -113,6 +113,13 @@ public class Zip extends MatchingTask { | |||||
filesets.addElement(set); | filesets.addElement(set); | ||||
} | } | ||||
/** | |||||
* Adds a set of files (nested fileset attribute). | |||||
*/ | |||||
public void addPrefixedfileset(PrefixedFileSet set) { | |||||
addFileset(set); | |||||
} | |||||
/** | /** | ||||
* FileSet with an additional prefix attribute to specify the | * FileSet with an additional prefix attribute to specify the | ||||
* location we want to move the files to (inside the archive). | * location we want to move the files to (inside the archive). | ||||