libgfapi-project

libgfapi-jni is a jni library for accessing glusterfs via the libgfapi C library.

License

License

GroupId

GroupId

com.peircean.libgfapi-jni
ArtifactId

ArtifactId

libgfapi-project
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

pom
Description

Description

libgfapi-project
libgfapi-jni is a jni library for accessing glusterfs via the libgfapi C library.
Source Code Management

Source Code Management

https://github.com/semiosis/libgfapi-jni

Download libgfapi-project

Filename Size
libgfapi-project-1.0.4.pom 11 KB
Browse

How to add to project

<!-- https://jarcasting.com/artifacts/com.peircean.libgfapi-jni/libgfapi-project/ -->
<dependency>
    <groupId>com.peircean.libgfapi-jni</groupId>
    <artifactId>libgfapi-project</artifactId>
    <version>1.0.4</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.peircean.libgfapi-jni/libgfapi-project/
implementation 'com.peircean.libgfapi-jni:libgfapi-project:1.0.4'
// https://jarcasting.com/artifacts/com.peircean.libgfapi-jni/libgfapi-project/
implementation ("com.peircean.libgfapi-jni:libgfapi-project:1.0.4")
'com.peircean.libgfapi-jni:libgfapi-project:pom:1.0.4'
<dependency org="com.peircean.libgfapi-jni" name="libgfapi-project" rev="1.0.4">
  <artifact name="libgfapi-project" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.peircean.libgfapi-jni', module='libgfapi-project', version='1.0.4')
)
libraryDependencies += "com.peircean.libgfapi-jni" % "libgfapi-project" % "1.0.4"
[com.peircean.libgfapi-jni/libgfapi-project "1.0.4"]

Dependencies

provided (1)

Group / Artifact Type Version
org.projectlombok : lombok jar 0.11.8

test (1)

Group / Artifact Type Version
org.testng : testng jar 6.8.5

Project Modules

  • libgfapi-jni

libgfapi-jni

Java Native Interface (JNI) bindings for libgfapi, the GlusterFS client API.

Usage

This project provides a low level binding from Java to the C language GlusterFS API library.

It was developed as part of glusterfs-java-filesystem. Use that project to enable GlusterFS support in your Java applications.

Development Instructions

Prerequisites

  • glusterfs 3.4 or newer - installed from source or a gluster development package installed.
  • maven 3.0.3 or newer
  • auto tool chain
  • Ubuntu packages: build-essential libtool pkg-config automake
  • Ubuntu glusterfs PPAs: https://launchpad.net/~gluster (the glusterfs-common package is required to build this project)

Compiling without tests

If you have installed gluster to non-standard location then you export GLFS_HOME so we know where it's at:

export GLFS_HOME=/path/to/gluster/prefix

Building without tests is simple. Just run:

mvn -Dmaven.test.skip=true install

Compiling and Testing

The test suite is configured by default to run against the glusterfs server configured in the vagrant box provided by glusterfs-java-filesystem. Run vagrant up in that project's root directory to launch the server, then run the tests in this project.

Once that server is up, you can run the tests with:

mvn test

Project License

Until further notice (made here and in LICENSE.txt) this project is licensed under the terms of the 3-clause BSD license, as written in LICENSE.txt (and copied in several source files).

The licensing is likely to change in the near future as the project matures.

com.peircean.libgfapi-jni
Semiosis is building programming languages to keep computing textual.

Versions

Version
1.0.4
1.0.3
1.0.2