Appendix A. Command-Line AspectJ

This book has focused on the use of AspectJ within the Eclipse IDE, but AspectJ is also made available as a command-line compiler by the AspectJ project. This appendix covers how to use the command-line compiler, which can prove useful for simple tests, scripting, and automated builds.

Installing AspectJ

AspectJ is distributed as an executable Jar file available from the project home page at http://www.eclipse.org/aspectj. In the Downloads section, you will find links to the latest stable release as well as previous releases going back to version 1.0.6. The Developer Resources page includes a link to access the latest source off the CVS head (including full build instructions) for those keen on working on the leading ...

Get Eclipse AspectJ: Aspect-Oriented Programming with AspectJ and the Eclipse AspectJ Development Tools now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.