Skip to content

avafanasiev/intellij-deps-asm

 
 

Repository files navigation

A fork of ASM library official JetBrains project

The repository contains a fork of ASM library with a couple of IntelliJ-specific patches on top (see commits).

Updating the repository to a new ASM release

  1. First, visit the Tags page to find a tag corresponding to the desired release (for example, ASM_6_2).

  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.

  3. Fetch changes and tags from upstream: git fetch --tags https://gitlab.ow2.org/asm/asm.git.

  4. Apply JB patches on top of the desired tag: git rebase --onto <tag> (e.g. git rebase --onto ASM_6_2).

  5. Make sure everything works as expected (see "Testing the updated library").

  6. Finally, push the updates to GitHub: git push --tags --force origin master.

Testing the updated library

  1. Run unit tests (use Java 8): ./gradle/gradlew test.

  2. Assemble artifacts: ./gradle/gradlew clean jar -Prelease ; ./gradle/gradlew -b intellij-deps-asm.gradle fatJar fatSources.

  3. 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).

About

Fork of ASM library used in IntelliJ Platform

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.4%
  • HTML 0.6%