A fork of ASM library
The repository contains a fork of ASM library with a couple of IntelliJ-specific patches on top (see commits).
-
First, visit the Tags page to find a tag corresponding to the desired release (for example,
ASM_6_2
). -
Then make sure your local copy of the repository is up to date. If you don't have the local copy yet, just clone the repository, otherwise "cd" into that directory and execute
git fetch && git reset origin/master --hard
. -
Fetch changes and tags from upstream:
git fetch --tags https://gitlab.ow2.org/asm/asm.git
. -
Apply JB patches on top of the desired tag:
git rebase --onto <tag>
(e.g.git rebase --onto ASM_6_2
). -
Make sure everything works as expected (see "Testing the updated library").
-
Finally, push the updates to GitHub:
git push --tags --force origin master
.
-
Run unit tests (use Java 8):
./gradle/gradlew test
. -
Assemble artifacts:
./gradle/gradlew clean jar -Prelease ; ./gradle/gradlew -b intellij-deps-asm.gradle fatJar fatSources
. -
Use the artifacts to test IDEA's compatibility with the new release - e.g. add them to the project as "ASM" library roots and remote run all relevant build configurations (there are quite a few).