p≡p for Java
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 
 
Devan Carpenter 7cec570df9
CID: don't use insecure docker registries anymore
5 dias atrás
.gitlab-ci-files CID: don't use insecure docker registries anymore 5 dias atrás
android JNI-106 Android build: update to use current Makefile and api. 6 meses atrás
androidTests Update gradle versions and engine version 2 anos atrás
doc/doxygen Added doc/ dir, added Doxygen fox c++ and java. use "make doxy-all" 10 meses atrás
scripts/debian10 CI: install JDK before building JNIAdapter 6 dias atrás
src C++ impl of export_key() 1 mês atrás
test JNI-117 - "export_key", Improve test 1 mês atrás
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) 5 meses atrás
.gitignore convert .hgignore to .gitignore 1 mês atrás
.gitlab-ci.yml CI: remove incomplete CentOS jobs 6 dias atrás
DEPENDENCIES DEPS: update to latest pEpEngine 2.1.x release 6 dias atrás
LICENSE.txt switching to AGPL 4 anos atrás
Makefile Rewrite README.md from scratch 1 mês atrás
Makefile.conf C++ impl of export_key() 1 mês atrás
README.md Rewrite README.md from scratch 1 mês atrás
local.conf.example added build option: USE_JAVAH - explicitly enable/disable use of javah over javac -h (if autodetect doesnt work correctly) 5 meses atrás

README.md

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.

Build

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

Test

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

Install

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

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

Doc

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.

Clean

  • 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