/** * Defines the mapper to map source entries to destination files. * @return a mapper to be configured * @exception BuildException if more than one mapper is defined * @since Ant1.7 */ public Mapper createMapper() throws BuildException { if (mapperElement != null) { throw new BuildException(ERROR_MULTIPLE_MAPPERS, getLocation()); } mapperElement = new Mapper(getProject()); return mapperElement; }
Set<String> excludePatterns = new HashSet<>(); for (PatternSet p : patternsets) { String[] incls = p.getIncludePatterns(getProject()); if (incls == null || incls.length == 0) { String[] excls = p.getExcludePatterns(getProject()); if (excls != null) { for (String excl : excls) {