Author: peterreilly
Date: Thu Sep 14 15:32:13 2006
New Revision: 443502

URL: http://svn.apache.org/viewvc?view=rev&rev=443502
Log:
remove example using references

Modified:
    ant/core/trunk/docs/manual/OptionalTasks/script.html

Modified: ant/core/trunk/docs/manual/OptionalTasks/script.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/script.html?view=diff&rev=443502&r1=443501&r2=443502
==============================================================================
--- ant/core/trunk/docs/manual/OptionalTasks/script.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/script.html Thu Sep 14 15:32:13 
2006
@@ -220,43 +220,6 @@
 
 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
-</pre></blockquote>
 
 <p>Now a more complex example using the Java API and the Ant API. The goal is 
to list the
 filesizes of all files a <code>&lt;fileset/&gt;</code> caught.</p>
@@ -330,9 +293,5 @@
 its execute() method, because the perform() method (implemented in Task 
itself) does the
 appropriate logging before and after invoking execute().
 </p>
-
-
-
-
 </body>
 </html>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to