Alexander Kriegisch 08c6b70963 Set version to 1.9.7.M2 | 3 years ago | |
---|---|---|
.github/workflows | 3 years ago | |
.mvn/wrapper | 3 years ago | |
ajbrowser | 3 years ago | |
ajde | 3 years ago | |
ajde.core | 3 years ago | |
ajdoc | 3 years ago | |
asm | 3 years ago | |
aspectjmatcher | 3 years ago | |
aspectjrt | 3 years ago | |
aspectjtools | 3 years ago | |
aspectjweaver | 3 years ago | |
bcel-builder | 3 years ago | |
bridge | 3 years ago | |
build | 3 years ago | |
docs | 3 years ago | |
installer | 3 years ago | |
lib | 3 years ago | |
loadtime | 3 years ago | |
org.aspectj.ajdt.core | 3 years ago | |
org.aspectj.lib | 3 years ago | |
org.aspectj.matcher | 3 years ago | |
run-all-junit-tests | 3 years ago | |
runtime | 3 years ago | |
shadows.org.eclipse.jdt.core | 20 years ago | |
taskdefs | 3 years ago | |
testing | 3 years ago | |
testing-client | 3 years ago | |
testing-drivers | 3 years ago | |
testing-util | 3 years ago | |
tests | 3 years ago | |
util | 3 years ago | |
weaver | 3 years ago | |
.editorconfig | 3 years ago | |
.gitignore | 3 years ago | |
CODE_OF_CONDUCT.md | 3 years ago | |
CONTRIBUTING.md | 3 years ago | |
LICENSE | 3 years ago | |
README.md | 3 years ago | |
mvnw | 3 years ago | |
mvnw.cmd | 3 years ago | |
pom.xml | 3 years ago |
AspectJ is:
AspectJ enables:
AspectJ has a multi module maven build. Although various modules produce intermediate results, the key artifacts at the end of the build are:
aspectjrt
- the AspectJ runtimeaspectjweaver
- the AspectJ weaveraspectjtools
- the AspectJ compilerThese are the artifacts published to maven central for each release. In addition there is an installer that can be run with java -jar
to install AspectJ onto Windows/Mac/Linux. This installer is produced by the installer sub module.
In the root of a cloned AspectJ simply run:
./mvnw clean install
This will build all the modules, run all the tests and install the key artifacts in your local repository. Once built access the maven dependencies from your local repository or run the installer to install AspectJ locally:
java -jar installer/target/aspectj-<VERSION>.jar
Once you have imported all the projects using m2e
, there is a special module called run-all-junit-tests
and within that a RunTheseBeforeYouCommitTests
class that can be run with the JUnit launcher to execute thousands of tests.
Ensure you run this with a JDK - the more recent the better since some tests will not execute on older JDKs - tests that verify language features that only exist in the more up to date JDK version.
Complete documentation quicklinks
READMEs for each version of AspectJ
AspectJ is published to maven central under the org.aspectj
groupID: https://search.maven.org/search?q=g:org.aspectj