summaryrefslogtreecommitdiffstats
path: root/java/src
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-08-28 15:10:30 (GMT)
committerGitHub <noreply@github.com>2023-08-28 15:10:30 (GMT)
commitbfe867c4cb7b636da21ff4245a2c1da6d96f1955 (patch)
tree255458f04e77656b28b06aa0d058bacaa78c069c /java/src
parent11f3fee390def4b6af0a3770db8a9f53f8805dfc (diff)
downloadhdf5-bfe867c4cb7b636da21ff4245a2c1da6d96f1955.zip
hdf5-bfe867c4cb7b636da21ff4245a2c1da6d96f1955.tar.gz
hdf5-bfe867c4cb7b636da21ff4245a2c1da6d96f1955.tar.bz2
sync cmake and examples changes (#3438)
* sync cmake and examples changes * Add java lib changes * Update jave log files * Update java logger version * More logger version changes
Diffstat (limited to 'java/src')
-rw-r--r--java/src/Makefile.am10
-rw-r--r--java/src/hdf/hdf5lib/H5.java5
-rw-r--r--java/src/jni/CMakeLists.txt2
3 files changed, 8 insertions, 9 deletions
diff --git a/java/src/Makefile.am b/java/src/Makefile.am
index 8820fd8..b36f8a1 100644
--- a/java/src/Makefile.am
+++ b/java/src/Makefile.am
@@ -36,7 +36,7 @@ jarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
hdf5_javadir = $(libdir)
pkgpath = hdf/hdf5lib
-CLASSPATH_ENV=CLASSPATH=.:$(top_srcdir)/java/lib/slf4j-api-1.7.33.jar:$$CLASSPATH
+CLASSPATH_ENV=CLASSPATH=.:$(top_srcdir)/java/lib/slf4j-api-2.0.6.jar:$$CLASSPATH
AM_JAVACFLAGS = $(H5_JAVACFLAGS) -deprecation
@@ -109,26 +109,22 @@ hdf5_java_JAVA = \
${pkgpath}/HDFArray.java \
${pkgpath}/HDFNativeData.java
-$(jarfile): classhdf5_java.stamp classes docs
+$(jarfile): classhdf5_java.stamp classes
$(JAR) cvf $@ -C $(JAVAROOT)/ $(pkgpath)
hdf5_java_DATA = $(jarfile)
-.PHONY: docs classes
+.PHONY: classes
WINDOWTITLE = 'HDF5 Java'
DOCTITLE = '<h1>HDF5 Java Wrapper</h1>'
SRCDIR = '$(pkgpath)'
-docs:
- $(JAVADOC) -sourcepath $(srcdir) -d javadoc -Xdoclint:none -use -splitIndex -windowtitle $(WINDOWTITLE) -doctitle $(DOCTITLE) -J-Xmx180m -verbose -overview $(top_srcdir)/java/src/hdf/overview.html -classpath $(CLASSPATH_ENV) hdf.hdf5lib
-
CLEANFILES = classhdf5_java.stamp $(jarfile) $(JAVAROOT)/$(pkgpath)/callbacks/*.class $(JAVAROOT)/$(pkgpath)/exceptions/*.class $(JAVAROOT)/$(pkgpath)/structs/*.class $(JAVAROOT)/$(pkgpath)/*.class
clean:
rm -rf $(JAVAROOT)/*
rm -f $(jarfile)
- rm -rf javadoc
rm -f classhdf5_java.stamp
diff --git a/java/src/hdf/hdf5lib/H5.java b/java/src/hdf/hdf5lib/H5.java
index 601dc3f..dc0df5a 100644
--- a/java/src/hdf/hdf5lib/H5.java
+++ b/java/src/hdf/hdf5lib/H5.java
@@ -55,6 +55,9 @@ import hdf.hdf5lib.structs.H5G_info_t;
import hdf.hdf5lib.structs.H5L_info_t;
import hdf.hdf5lib.structs.H5O_info_t;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
/**
* @page HDF5LIB HDF5 Java API Package
* This class is the Java interface for the HDF5 library.
@@ -255,7 +258,7 @@ public class H5 implements java.io.Serializable {
*/
private static final long serialVersionUID = 6129888282117053288L;
- private final static org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(H5.class);
+ private final static Logger log = LoggerFactory.getLogger(H5.class);
/**
* @ingroup JH5
diff --git a/java/src/jni/CMakeLists.txt b/java/src/jni/CMakeLists.txt
index 56a1ab8..1436092 100644
--- a/java/src/jni/CMakeLists.txt
+++ b/java/src/jni/CMakeLists.txt
@@ -104,7 +104,7 @@ if (HDF5_EXPORTED_TARGETS)
${HDF5_EXPORTED_TARGETS}
LIBRARY DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT libraries
ARCHIVE DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT libraries
- RUNTIME DESTINATION ${HDF5_INSTALL_LIB_DIR} COMPONENT libraries
+ RUNTIME DESTINATION ${HDF5_INSTALL_BIN_DIR} COMPONENT libraries
FRAMEWORK DESTINATION ${HDF5_INSTALL_FWRK_DIR} COMPONENT libraries
INCLUDES DESTINATION include
)