<substitition [ [id="id"] expression="expression" | refid="id" ] />
177178179180181182183184
if (subs != null) { throw new BuildException("Only one substitution expression is " + "allowed"); } subs = new Substitution(); subs.setExpression(replace); }
280281282283284285286287
if (subs != null) { throw new BuildException("Only one substitution expression is " + "allowed"); } subs = new Substitution(); return subs; }
481482483484485486487488
regularExpression.setPattern(from); regexp = regularExpression.getRegexp(getProject()); if (to == null) { to = ""; } substitution = new Substitution(); substitution.setExpression(to); }
549550551552553554555556
regularExpression.setPattern(from); regexp = regularExpression.getRegexp(getProject()); if (to == null) { return; } substitution = new Substitution(); substitution.setExpression(to); }
181182183184185186187188
298299300301302303304305
8384858687888990
{ if (this.replace != null) throw new BuildException("Cannot specify more than one replace expression"); if (select != null) throw new BuildException("You cannot specify both a select and replace expression"); this.replace = new Substitution(); this.replace.setExpression(replace); }
93949596979899100
{ if (replace != null) throw new BuildException("Cannot specify more than one replace expression"); if (select != null) throw new BuildException("You cannot specify both a select and replace expression"); replace = new Substitution(); return replace; }