/** * add a name entry on the exclude list * @return a NameEntry object to be configured */ @Override public PatternSet.NameEntry createExclude() { usedMatchingTask = true; return super.createExclude(); }
/** * List of filenames and directory names to not include. They should be * either comma or space separated. The ignored files will be logged. * * @param ignoreString the string containing the files to ignore. */ public void XsetIgnore(String ignoreString) { log("The ignore attribute is deprecated." + "Please use the excludes attribute.", Project.MSG_WARN); if (ignoreString != null && !ignoreString.isEmpty()) { StringTokenizer tok = new StringTokenizer(ignoreString, ", ", false); while (tok.hasMoreTokens()) { createExclude().setName("**/" + tok.nextToken().trim() + "/**"); } } }