Skip to content

Commit 776681d

Browse files
committed
Compile instructions for MapleIR plugin
1 parent 3a78138 commit 776681d

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

compiling.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Compiling
1+
# Compiling - JDA
22

33
## Manual dependencies
44
- [CFR](http://www.benf.org/other/cfr/)
@@ -11,4 +11,20 @@ mvn install:install-file -Dfile=path-to\cfr.jar -DgroupId=org.benf -DartifactId=
1111
For example, the version of CFR might be 0.121, depending on `pom.xml`. Note that you will need to replace <version> with whatever version is specified in `pom.xml`.
1212
Optionally, you can use `-DlocalRepositoryPath=path-to-specific-local-repo` to specify a specific location to store the local repository.
1313

14-
Then, `mvn compile package`.
14+
Then, `mvn clean compile test package`.
15+
16+
Two jars are produced: one with dependencies, which should be used for running JDA standalone, and one without, used by plugins for linking against JDA.
17+
18+
# MapleIR plugin
19+
20+
To compile the MapleIR plugin, JDA must be installed to the local Maven repository first. Hence, in the root project (JDA) directory:
21+
```
22+
mvn install
23+
```
24+
25+
Next, build MapleIR:
26+
```
27+
cd mapleir
28+
mvn clean compile test package
29+
```
30+

0 commit comments

Comments
 (0)