Browse Source

remove example using references

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@443502 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 19 years ago
parent
commit
87831d059c
1 changed files with 0 additions and 41 deletions
  1. +0
    -41
      docs/manual/OptionalTasks/script.html

+ 0
- 41
docs/manual/OptionalTasks/script.html View File

@@ -218,43 +218,6 @@ main:
81 81
100 100


BUILD SUCCESSFUL
</pre></blockquote>
<p>Another example, using <a href="../using.html#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;
&lt;echo id=&quot;theEcho&quot;/&gt;
&lt;/target&gt;

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

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

&lt;target name=&quot;main&quot; depends=&quot;sub1,sub2&quot;/&gt;
&lt;/project&gt;
</pre></blockquote>
<p>generates</p>
<blockquote><pre>
sub1:
In sub1

sub2:
In sub2

main:

BUILD SUCCESSFUL BUILD SUCCESSFUL
</pre></blockquote> </pre></blockquote>


@@ -330,9 +293,5 @@ Finally we use the <code>&lt;echo&gt;</code> task for producing the output. The
its execute() method, because the perform() method (implemented in Task itself) does the its execute() method, because the perform() method (implemented in Task itself) does the
appropriate logging before and after invoking execute(). appropriate logging before and after invoking execute().
</p> </p>




</body> </body>
</html> </html>

Loading…
Cancel
Save