p≡p for Java
Go to file
Hussein Kasem 4675a3f92a
Android build: Add external .gitignore file
2021-05-12 13:26:29 +02:00
.gitlab-ci-files CI: add job using Java 8 2021-03-01 12:28:56 +01:00
android Android build: Add external .gitignore file 2021-05-12 13:26:29 +02:00
androidTests Update gradle versions and engine version 2018-10-23 13:53:42 +02:00
doc/doxygen Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all" 2020-04-13 16:16:42 +02:00
scripts/debian10 CI: use multi-stage build to reduce image size 2021-04-13 13:33:02 +01:00
src JNI-149: "Wrap disable_all_sync_channels into the adapter" - implementation 2021-03-18 22:53:55 +01:00
test Tests: ASCII generator WIP 2021-03-30 01:06:06 +02:00
utils CodeGen: New enhanced enums, now all enums got .toString(), all enums can have .getInternalStringValue() (This was needed to avoid mapping table in the app, for "casting" Ratings to Engine internal string values for X-Opts .e.g) 2020-09-11 04:22:57 +02:00
.gitignore Add build and .cxx folders to .gitignore 2021-02-26 11:40:27 +01:00
.gitlab-ci.yml CI: enable java8 tagged build 2021-03-01 16:23:40 +01:00
DEPENDENCIES pEpEngine=Release_2.1.27 2021-04-12 13:31:25 +02:00
LICENSE.txt switching to AGPL 2016-11-20 13:12:32 +01:00
Makefile testcommit 2021-02-03 01:50:49 +01:00
Makefile.conf And suddenly my linux box javac needs "-encoding UTF-8", well, cant hurtbeing explicit about that in general. 2021-02-24 07:26:46 -05:00
README.md Rewrite README.md from scratch 2021-01-15 15:48:58 +01:00
local.conf.example added build option: USE_JAVAH - explicitly enable/disable use of javah over javac -h (if autodetect doesnt work correctly) 2020-09-16 18:19:08 +02:00


p≡p JNI Adapter

Please find the complete build instructions here: https://dev.pep.foundation/Common%20Adapter%20Documentation/Adapter_Build_Instructions

Build Result

The binary package resulting from the build will be located under ./dist. It merely contains:

  • pEp.jar - The java library
  • libpEpJNI.dylib - The dynamically linkable native library
  • libpEpJNI.a - The statically linkable native library

Build Configuration

The build configuration file is called local.conf. Use the file local.conf.example as a template.

cp local.conf.example local.conf

Then, tweak it to your needs.

Make Targets

The default make target is compile.


  • make compile
    Builds the whole adapter under ./build. The complete distribution ready adapter will be in ./dist.


  • make test
    Builds the complete test-suite under ./test.


  • make install Installs the files under ./dist under $PREFIX (local.conf)

  • make uninstall Removes all the filenames under ./dist from $PREFIX (local.conf)


In order to generate the API doc you need to have doxygen installed on your system.

  • make doc
    Generates Java and C++ API doc.

  • make doc-cxx
    Generates the API doc for the C++ part of the adapter.

  • make doc-java
    Generates the API doc for the Java part of the adapter.


  • make clean
    Deletes all the derived objects of the adapter build in ./build and ./dist. Also invokes make clean which cleans the whole test-suite. Does not remove the generated API doc.

  • make clean-doc
    Removes all the generated API doc.

  • make clean-all
    Equals make clean and make clean-doc