Skip to content

Api Build Guild

Jay Tseng edited this page Oct 11, 2018 · 6 revisions

Prerequisites

How to build

  1. Clone the aion_api project
git clone https://github.com/aionnetwork/aion_api
  1. Go into the folder
cd aion_api
  1. Check your environment settings are correct, including the Ant execute path(Before v0.1.13), java execute PATH link to the JDK9 folder, and the JAVA_HOME. Then you should be able to build

(Before v0.1.14)

ant clean_build
or 
ant

(From v0.1.14)

./gradlew clean
and 
./gradlew build
  1. After build check your pack folder
cd pack

You should see a file named like this (Before v0.1.14)

modAionApi-v<KERNEL VERSION>.<GIT REVISION>-<BUILD DATE>.jar

eg. modAionApi-v0.1.2.b0d4b36-2018-03-02.jar

(From v0.1.14)

libAionApi-v<KERNEL VERSION>.<GIT REVISION>-<BUILD DATE>.jar

Execute your aion api

Please check the wiki Aion Java API Integration Guide

Clone this wiki locally