aboutsummaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-12 22:34:35 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-12 22:34:35 +0100
commitdb87e5293846e27dc684dd141744390ae6e8bc67 (patch)
tree1fcfeb7354a93915d3ac5c33c3bab0625a238170 /CONTRIBUTING.md
parent3ac5c34273342af62f44bd656e50d5d6ecb1c304 (diff)
downloadFirmament-db87e5293846e27dc684dd141744390ae6e8bc67.tar.gz
Firmament-db87e5293846e27dc684dd141744390ae6e8bc67.tar.bz2
Firmament-db87e5293846e27dc684dd141744390ae6e8bc67.zip
docs: Add note about JBR
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 5217989..f9815e5 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -29,6 +29,18 @@ to create a [fork](https://github.com/nea89o/Firmament/fork). This is your own c
You can load that fork using IntelliJs "New" -> "Project from version control" import option. You might need to
authenticate your GitHub account to IntelliJ during this process or at a later point in time.
+### JBR
+
+By default, Firmament tries to launch with hotswapping enabled in the devenv. This will fail if your JVM does not
+support hotswapping. In that case you can either remove the hotswapping arguments, or you can use [JBR](jbr). You can
+manually select JBR in your run configuration, after it has been generated by gradle.
+
+```
+-XX:+AllowEnhancedClassRedefinition -XX:HotswapAgent=external -javaagent:SOMEPATH
+```
+
+### Features
+
Typically, for each new set of features you will create a branch and then create a pull request back to the main
Firmament repo. Note that Firmament makes use of commit names to generate a changelog. As such the first line of each
commit should be something that can be interpreted by an end user. If you want to make an internal change you can use
@@ -37,3 +49,4 @@ each feature. Don't worry if you have any problems with your git history, your p
rewritten to be fixed (but it would help me if you can keep your commit history clean).
[discord]: https://discord.gg/64pFP94AWA
+[jbr]: https://github.com/JetBrains/JetBrainsRuntime/releases/tag/jbr-release-21.0.5b631.16