A fork of ASM library ![official JetBrains project](https://camo.githubusercontent.com/1c0c0252ba920d6cc814633ecba4ed6565e277ed2fd175cbdd8061342b99c4bc/687474703a2f2f6a622e67672f6261646765732f6f6666696369616c2e737667)
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).