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> -<project name="testscript" default="main"> - <target name="sub"> - <echo id="theEcho"/> - </target> - - <target name="sub1"> - <script language="netrexx"><![CDATA[ - theEcho.setMessage("In sub1") - sub.execute - ]]></script> - </target> - - <target name="sub2"> - <script language="javascript"><![CDATA[ - theEcho.setMessage("In sub2"); - sub.execute(); - ]]></script> - </target> - - <target name="main" depends="sub1,sub2"/> -</project> -</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><fileset/></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]