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.

projecthelper.html 1.9 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. https://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <html lang="en">
  17. <head>
  18. <link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
  19. <title>ProjectHelper Task</title>
  20. </head>
  21. <body>
  22. <h2>ProjectHelper</h2>
  23. <p><em>Since Ant 1.8.2</em></p>
  24. <h3>Description</h3>
  25. <p>This task is provided for the purpose of allowing the user to install a different ProjectHelper
  26. at run time.</p>
  27. <p>The helpers will be added after all the already registered helpers, but before the default one
  28. (<code>ProjectHelper2</code>)</p>
  29. <p>See the description of Apache Ant's <a href="../projecthelper.html">Project Helper</a> for more
  30. information.</p>
  31. <h3>Parameters specified as nested elements</h3>
  32. <p>You may specify many configured <code class="code">org.apache.tools.ant.ProjectHelper</code>
  33. instances.</p>
  34. <h3>Example</h3>
  35. <p>Install a custom ProjectHelper implementation (assuming <code class="code">MyProjectHelper
  36. extends ProjectHelper</code>):</p>
  37. <pre>
  38. &lt;typedef classname="org.example.MyProjectHelper"
  39. name="myprojecthelper"/>
  40. &lt;projecthelper>
  41. &lt;myprojecthelper/>
  42. &lt;/projecthelper>
  43. </pre>
  44. </body>
  45. </html>