Skip to content

Commit

Permalink
java: update deb bits from ceph-devel feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Noah Watkins <[email protected]>
  • Loading branch information
dotnwat committed Oct 19, 2012
1 parent ad3482b commit b3cc40a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 6 deletions.
3 changes: 2 additions & 1 deletion debian/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,6 @@
/rest-bench-dbg
/rest-bench
/python-ceph
/libceph1-java
/libcephfs-java
/libcephfs-jni
/tmp
10 changes: 8 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,14 @@ Description: Python libraries for the Ceph distributed filesystem
This package contains Python libraries for interacting with Ceph's
RADOS object storage, and RBD (RADOS block device).

Package: libceph1-java
Package: libcephfs-java
Section: java
Architecture: all
Depends: libcephfs-jni, ${java:Depends}, ${misc:Depends}
Description: Java libraries for the Ceph File System.

Package: libcephfs-jni
Architecture: linux-any
Section: libs
Depends: libcephfs1, ${shlibs:Depends}, ${java:Depends}, ${misc:Depends}
Description: Java libraries for the Ceph File System
Description: Java Native Interface library for CephFS Java bindings.
1 change: 1 addition & 0 deletions debian/libcephfs-java.jlibs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/java/libcephfs.jar
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
usr/lib/libcephfs_jni.so* usr/lib/jni
usr/lib/libcephfs.jar usr/share/java
1 change: 1 addition & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ install: build
# Add here commands to install the package into debian/testpack.
# Build architecture-independent files here.
binary-indep: build install
jh_installlibs -v -i

# We have nothing to do by default.
# Build architecture-dependent files here.
Expand Down
2 changes: 1 addition & 1 deletion src/java/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ CEPH_PROXY=java/com/ceph/fs/CephMount.class

$(CEPH_PROXY): $(JAVA_SRC)
export CLASSPATH=java/ ;
$(JAVAC) java/com/ceph/fs/*.java
$(JAVAC) -source 1.5 -target 1.5 java/com/ceph/fs/*.java

$(JAVA_H): $(CEPH_PROXY)
export CLASSPATH=java/ ; \
Expand Down
2 changes: 1 addition & 1 deletion src/java/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

<target name="compile-tests" depends="makedir">
<javac srcdir="${test.src.dir}" destdir="${test.build.dir}"
includeantruntime="false">
includeantruntime="false" source="1.5" target="1.5">
<classpath>
<pathelement location="${env.CEPHFS_JAR}"/>
<pathelement location="libcephfs.jar"/>
Expand Down

0 comments on commit b3cc40a

Please sign in to comment.