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.

antlib_contract.xml 1.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0"?>
  2. <document>
  3. <properties>
  4. <index value="2"/>
  5. <author email="antoine@apache.org">Antoine Levy-Lambert</author>
  6. <title>Antlib Contract</title>
  7. </properties>
  8. <body>
  9. <section name="definition of antlibs">
  10. <p>
  11. Antlibs are special-purpose jar files containing a deployment descriptor called antlib.xml.
  12. These jar files contain ant tasks and types. In the near future, they will also contain custom components too able to act as filters, mappers, ...
  13. </p>
  14. <p>
  15. The precise location of the deployment descriptor is already a point of discussion. (such as com/xyz/anttasks/antlib.xml). <a href="antlib_descriptors.html#concerns concerning the location of the descriptor (Costin Manolache)">Costin Manolache would prefer deployment descriptors to live in packages </a> The original proposal is to put the deployment descriptor into META-INF/antlib.xml in the jar files.
  16. </p>
  17. </section>
  18. <section name="loading of antlibs">
  19. <p>
  20. Under ant.home, a new subdirectory autolib would be created for antlibs to be loaded "spontaneously".
  21. </p>
  22. <p>
  23. antlibs can also be loaded explicitly with an &lt;antlib/&gt; task.
  24. </p>
  25. </section>
  26. <section name="links">
  27. <p>
  28. <a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/proposal/sandbox/antlib/docs/manual/CoreTasks/antlib.html?rev=HEAD">Antlib task documentation</a>
  29. </p>
  30. <p>
  31. <a href="http://cvs.apache.org/viewcvs.cgi/*checkout*/ant/proposal/sandbox/antlib/docs/manual/CoreTasks/antjar.html?rev=HEAD">Antjar task documentation</a>
  32. </p>
  33. </section>
  34. <section name="todo">
  35. <subsection name="versions">
  36. <p>
  37. ant-required-version, antlib-version (version used to build the library)
  38. </p>
  39. </subsection>
  40. </section>
  41. </body>
  42. </document>