Browse Source

Fixed typo and changed second <script> example to use NetRexx.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@267928 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 25 years ago
parent
commit
403c32e5c5
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      docs/index.html

+ 6
- 5
docs/index.html View File

@@ -664,7 +664,7 @@ They are:
If you do not want these default excludes applied, you may disable them with the
<code>defaultexcludes=&quot;no&quot;</code> attribute.</p>
<h3><a name="patternset">PatternSets</a></h3>
<p>Patterns can be group to sets and later be referenced by their id
<p>Patterns can be grouped to sets and later be referenced by their id
attribute. They are defined via a <code>patternset</code> element -
which can currently only appear nested into a <a
href="#fileset">FileSet</a> or a directory based task that constitutes
@@ -4414,7 +4414,8 @@ main:

BUILD SUCCESSFUL
</pre></blockquote>
<p>Another example, using <a href="#references">references by id</a>.</p>
<p>Another example, using <a href="#references">references by id</a>
and two different scripting languages:</p>
<blockquote><pre>
&lt;project name=&quot;testscript&quot; default=&quot;main&quot;&gt;
&lt;target name=&quot;sub&quot;&gt;
@@ -4422,9 +4423,9 @@ BUILD SUCCESSFUL
&lt;/target&gt;

&lt;target name=&quot;sub1&quot;&gt;
&lt;script language=&quot;javascript&quot;&gt;&lt;![CDATA[
theEcho.setMessage(&quot;In sub1&quot;);
sub.execute();
&lt;script language=&quot;netrexx&quot;&gt;&lt;![CDATA[
theEcho.setMessage(&quot;In sub1&quot;)
sub.execute
]]&gt;&lt;/script&gt;
&lt;/target&gt;



Loading…
Cancel
Save