You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

splash.html 3.3 KiB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Language" content="en-us">
  4. <title>Ant User Manual</title>
  5. </head>
  6. <body>
  7. <h2><a name="Splash">Splash</a></h2>
  8. <p>by Les Hughes (leslie.hughes@rubus.com)
  9. <h3>Description</h3>
  10. <p>This task creates a splash screen. The splash screen is displayed
  11. for the duration of the build and includes a handy progress bar as
  12. well. Use in conjunction with the sound task to provide interest
  13. whilst waiting for your builds to complete...</p>
  14. <h3>Parameters</h3>
  15. <table border="1" cellpadding="2" cellspacing="0">
  16. <tr>
  17. <td valign="top"><b>Attribute</b></td>
  18. <td valign="top"><b>Description</b></td>
  19. <td align="center" valign="top"><b>Required</b></td>
  20. <td align="center" valign="top"><b>Default</b></td>
  21. </tr>
  22. <tr>
  23. <td valign="top">imageurl</td>
  24. <td valign="top">A URL pointing to an image to display.</td>
  25. <td valign="top" align="center">No</td>
  26. <td valign="top" align="center">antlogo.gif from the classpath</td>
  27. </tr>
  28. <tr>
  29. <td valign="top">showduration</td>
  30. <td valign="top">Initial period to pause the build to show the
  31. splash in milliseconds.</td>
  32. <td valign="top" align="center">No</td>
  33. <td valign="top" align="center">5000 ms</td>
  34. </tr>
  35. </table>
  36. <h3>Deprecated properties</h3>
  37. The following properties can be used to configure the proxy settings to retrieve
  38. an image from behind a firewall. However, the settings apply not just to this
  39. task, but to all following tasks. Therefore they are now mostly deprecated in
  40. preference to the <code>&lt;setproxy&gt;</code> task, that makes it clear to readers of
  41. the build exactly what is going on. We say mostly as this task's support
  42. includes proxy authentication, so you may still need to use its
  43. proxy attributes.
  44. <table border="1" cellpadding="2" cellspacing="0">
  45. <tr>
  46. <td valign="top">useproxy</td>
  47. <td valign="top">Use a proxy to access imgurl. Note: Only tested
  48. on JDK 1.2.2 and above</td>
  49. <td valign="top" align="center">No</td>
  50. <td valign="top" align="center">None</td>
  51. </tr>
  52. <tr>
  53. <td valign="top">proxy</td>
  54. <td valign="top">IP or hostname of the proxy server</td>
  55. <td valign="top" align="center">No</td>
  56. <td valign="top" align="center">None</td>
  57. </tr>
  58. <tr>
  59. <td valign="top">port</td>
  60. <td valign="top">Proxy portnumber</td>
  61. <td valign="top" align="center">No</td>
  62. <td valign="top" align="center">None</td>
  63. </tr>
  64. <tr>
  65. <td valign="top">user</td>
  66. <td valign="top">User to authenticate to the proxy as.</td>
  67. <td valign="top" align="center">No</td>
  68. <td valign="top" align="center">None</td>
  69. </tr>
  70. <tr>
  71. <td valign="top">password</td>
  72. <td valign="top">Proxy password</td>
  73. <td valign="top" align="center">No</td>
  74. <td valign="top" align="center">None</td>
  75. </tr>
  76. </table>
  77. <h3>Examples</h3>
  78. <blockquote><pre>
  79. &lt;splash/&gt;
  80. </pre></blockquote>
  81. <p>Splash <code>images/ant_logo_large.gif</code> from the classpath.</p>
  82. <blockquote><pre>
  83. &lt;splash imageurl=&quot;http://jakarta.apache.org/images/jakarta-logo.gif&quot;
  84. useproxy=&quot;true&quot;
  85. showduration=&quot;5000&quot;/&gt;
  86. </pre></blockquote>
  87. <p>Splashes the jakarta logo, for
  88. an initial period of 5 seconds.</p>
  89. <hr>
  90. <p align="center">Copyright &copy; 2002,2004 The Apache Software Foundation. All rights
  91. Reserved.</p>
  92. </body>
  93. </html>