Child pages
  • Gaya 8.0 EAP (build 27147) Release Notes

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<project default="replace" name="ReplaceRegExp">

<target name="replace">

<touch>
  <fileset dir="%basedir%">
    <include name="%files_to_include%"/>
    <exclude name="%files_to_exclude%"/>
  </fileset>
</touch>

<replaceregexp flags="g">
  <regexp pattern="%pattern_to_replace%"/>
  <substitution expression="%substitution%"/>
  <fileset dir="%basedir%">
    <include name="%files_to_include%"/>
    <exclude name="%files_to_exclude%"/>
  </fileset>
</replaceregexp>

</target>

</project>

Note that in several places I used parameter references:

  • %pattern_to_replace% - regexp pattern to search in files
  • %substitution% - substitution string
  • %basedir% - base directory where to perform replacement
  • %files_to_include% and %files_to_exclude% - Ant include / exclude patterns for files

Queued build page

Dependencies progress has been added on queued build page, you can now see estimates for all dependencies in one place.

...