Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

readme-org.aspectj.lib.html 2.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <html>
  2. <head><title>org.aspectj.lib library module</title></head>
  3. <body>
  4. <h2>org.aspectj.lib library module</h2>
  5. <p>
  6. This module has source for both <code>{AspectJ}/lib/aspectjlib.jar</code>
  7. and <code>{AspectJ}/docs/aspectjlib/*</code>.
  8. </p>
  9. <h3>Building {AspectJ}/lib/aspectjlib.jar</h3>
  10. <p>
  11. This module is compiled using AspectJ, both in Eclipse and with Ant.
  12. The Eclipse support is defined as usual in
  13. <a href=".classpath">.classpath</a> and <a href=".project">.project</a>.
  14. The Ant build support in <a href="../build/build.xml">../build/build.xml</a>
  15. is limited:
  16. </p>
  17. <ul>
  18. <li>This module is built and published as
  19. <code>{aspectj}/lib/aspectjlib.jar</code>.
  20. This happens automatically, with no explicit Ant script.
  21. The <a href="../build/src/org/aspectj/internal/tools/build/Builder.java">
  22. Builder.java</a>
  23. task uses <code>moduleAliasFor(String)</code> to map from the name of
  24. the empty file
  25. <a href="../build/products/tools/dist/lib/aspectjlib.jar">
  26. ../build/products/tools/dist/lib/aspectjlib.jar</a>
  27. back to the module output
  28. <a href="../aj-build/jars/org.aspectj.lib.jar">
  29. ../aj-build/jars/org.aspectj.lib.jar</a>.</li>
  30. <li>The AspectJ support compiles only source files in <a href="src/">src/</a></li>
  31. <li>It does not use inpath, aspectpath, or any other aspectj-specific
  32. option</li>
  33. <li>All non-Java (resource) files in the source directory will be included
  34. in the library.</li>
  35. <li>There should be no dependencies. Any libraries or modules on
  36. the Java classpath would be included in the shipped library.</li>
  37. <li>This is built using the release of AspectJ in
  38. <a href="../lib/aspectj">../lib/aspectj</a>.</li>
  39. </ul>
  40. <h3>Building {AspectJ}/examples/aspectjlib/*</h3>
  41. <p>
  42. The docs build script <a href="../docs/build.xml">../docs/build.xml</a>
  43. is responsible for assembling sources from this directory into the docs
  44. directory. It relies on the name of the source directory and build script.
  45. Also, <code>Builder.java</code> is designed to try to use any
  46. <code>build.xml</code> to build the module, but Ant builds are now disabled.
  47. So if you change the build script name or the source directory names, update
  48. the docs build script and the builder as needed.
  49. </p>
  50. <p>
  51. The <a href="build-aspectjlib.xml">build-aspectjlib.xml</a> script looks for
  52. an AspectJ lib directory from either the distribution (aspectj/docs/aspectjlib)
  53. or from the CVS tree (modules/org.aspectj.lib), so the script can be tested
  54. in situ.
  55. </p>
  56. </body>
  57. </html>