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

readme.txt 1.3KB

123456789101112131415161718192021222324252627282930313233343536
  1. This contains demonstration source code for the article
  2. "Get Inoculated!" in the May 2002 issue of Software Development
  3. magazine.
  4. To use it you will need the AspectJ tools available from
  5. https://eclipse.org/aspectj. We also recommend you download the
  6. documentation bundle and support for the IDE of your choice.
  7. Each file has a snippet for a section of the article. To find
  8. one in particular, see the back-references to "article page #":
  9. CompileTime.java: // article page 40 - warning
  10. CompileTime.java: // article page 41 - error
  11. RunTime.java: // article page 41 - runtime NPE
  12. RuntimeWrites.java: // article page 42 - field writes
  13. RecordingInput.java: // article page 42 - recording input
  14. MainFailure.java: // article page 42 - recording failures from main
  15. BufferTest.java: // article page 43 - input driver
  16. Injection.java: // article page 43 - fault injection
  17. StubReplace.java: // article page 76 - stubs
  18. RoundTrip.java: // article page 76 - round trip
  19. Compile and run as usual:
  20. > set AJ_HOME=c:\aspectj1.0
  21. > set PATH=%AJ_HOME%\bin;%PATH%
  22. > ajc -classpath "$AJ_HOME/lib/aspectjrt.jar" {file}
  23. > java -classpath ".;$AJ_HOME/lib/aspectjrt.jar" {class}
  24. For email discussions and support, see https://eclipse.org/aspectj.
  25. Enjoy!
  26. the AspectJ team