129130131132133134135136
public Mapper createMapper() throws BuildException { if (mapperElement != null) { throw new BuildException("Cannot define more than one mapper", getLocation()); } mapperElement = new Mapper(getProject()); return mapperElement; }
9091929394959697
*/ public Mapper createMapper() throws BuildException { if (mapperElement != null) { throw new BuildException("Cannot define more than one mapper"); } mapperElement = new Mapper(getProject()); return mapperElement; }
7071727374757677
145146147148149150151152
public Mapper createMapper() throws BuildException { if (mapper != null) { throw new BuildException("Cannot define more than one mapper", getLocation()); } mapper = new Mapper(getProject()); return mapper; }
435436437438439440441442443
* Add a nested filenamemapper. * @param fileNameMapper the mapper to add. * @since Ant 1.6.3 */ public void add(FileNameMapper fileNameMapper) { Mapper m = new Mapper(getProject()); m.add(fileNameMapper); addMapper(m); }
154155156157158159160161
public Mapper createMapper() throws BuildException { if (mapperElement != null) { throw new BuildException("Cannot define more than one mapper", location); } mapperElement = new Mapper(project); return mapperElement; }
140141142143144145146147
public Mapper createMapper() throws BuildException { if (mapper != null) { throw new BuildException("Cannot define more than one mapper", location); } mapper = new Mapper(project); return mapper; }
159160161162163164165166167168169170
move.setOverwrite(replace); fileset.setDir(srcDir); move.addFileset(fileset); Mapper me = move.createMapper(); me.setType(globType); me.setFrom("*" + fromExtension); me.setTo("*" + toExtension); move.execute(); }
280281282283284285286287
121122123124125126127128
*/ public Mapper createMapper() throws BuildException { if (mapperElement != null) { throw new BuildException("Cannot define more than one mapper"); } mapperElement = new Mapper(project); return mapperElement; }