/** * Configure a fileset based on this fileset. If the fileset is a CommonsCompressFileSet copy in * the specific attributes. * * @param zfs the archive fileset to configure. */ protected void configureFileSet(ArchiveFileSet zfs) { super.configureFileSet(zfs); if (zfs instanceof CommonsCompressFileSet) { CommonsCompressFileSet ccfs = (CommonsCompressFileSet) zfs; ccfs.setUid(uid); ccfs.setGid(gid); } }
/** * Makes this instance in effect a reference to another instance. * * <p>You must not set another attribute or nest elements inside this element if you make it a * reference. * * @param r the <code>Reference</code> to use. * @throws BuildException on error */ public void setRefid(Reference r) throws BuildException { if (userIdSet || groupIdSet) { throw tooManyAttributes(); } super.setRefid(r); }