[svn-r29465] Fix issue with .classes dir not getting created for java by adding mkdir .classes to configure.

This commit is contained in:
Allen Byrne 2016-03-17 11:47:21 -05:00
parent 83acb60e39
commit b8e163a845
7 changed files with 25 additions and 18 deletions

View File

@ -3582,6 +3582,13 @@ AC_CONFIG_FILES([src/libhdf5.settings
hl/fortran/examples/Makefile
hl/fortran/examples/run-hlfortran-ex.sh])
AC_CONFIG_COMMANDS([.classes], [], [$MKDIR_P java/src/.classes;
$MKDIR_P java/test/.classes;
$MKDIR_P java/examples/intro/.classes;
$MKDIR_P java/examples/datasets/.classes;
$MKDIR_P java/examples/datatypes/.classes;
$MKDIR_P java/examples/groups/.classes])
AC_OUTPUT
chmod 755 tools/misc/h5cc

View File

@ -23,10 +23,10 @@ include $(top_srcdir)/config/commence.am
# Mark this directory as part of the JNI API
JAVA_API=yes
JAVAROOT = $(top_builddir)/.classes
JAVAROOT = .classes
classes:
$(MKDIR_P) $(@D)/$(JAVAROOT)
test -d $(@D)/$(JAVAROOT) || $(MKDIR_P) $(@D)/$(JAVAROOT)
pkgpath = examples/datasets
hdfjarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
@ -71,7 +71,7 @@ TEST_SCRIPT = $(check_SCRIPTS)
CLEANFILES = classnoinst.stamp $(jarfile) $(JAVAROOT)/$(pkgpath)/*.class runExample.sh
clean:
rm -rf $(JAVAROOT)
rm -rf $(JAVAROOT)/*
rm -f $(jarfile)
rm -f classnoinst.stamp

View File

@ -23,10 +23,10 @@ include $(top_srcdir)/config/commence.am
# Mark this directory as part of the JNI API
JAVA_API=yes
JAVAROOT = $(top_builddir)/.classes
JAVAROOT = .classes
classes:
$(MKDIR_P) $(@D)/$(JAVAROOT)
test -d $(@D)/$(JAVAROOT) || $(MKDIR_P) $(@D)/$(JAVAROOT)
pkgpath = examples/datatypes
hdfjarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
@ -71,7 +71,7 @@ TEST_SCRIPT = $(check_SCRIPTS)
CLEANFILES = classnoinst.stamp $(jarfile) $(JAVAROOT)/$(pkgpath)/*.class runExample.sh
clean:
rm -rf $(JAVAROOT)
rm -rf $(JAVAROOT)/*
rm -f $(jarfile)
rm -f classnoinst.stamp

View File

@ -23,10 +23,10 @@ include $(top_srcdir)/config/commence.am
# Mark this directory as part of the JNI API
JAVA_API=yes
JAVAROOT = $(top_builddir)/.classes
JAVAROOT = .classes
classes:
$(MKDIR_P) $(@D)/$(JAVAROOT)
test -d $(@D)/$(JAVAROOT) || $(MKDIR_P) $(@D)/$(JAVAROOT)
pkgpath = examples/groups
hdfjarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
@ -61,7 +61,7 @@ TEST_SCRIPT = $(check_SCRIPTS)
CLEANFILES = classnoinst.stamp $(jarfile) $(JAVAROOT)/$(pkgpath)/*.class runExample.sh
clean:
rm -rf $(JAVAROOT)
rm -rf $(JAVAROOT)/*
rm -f $(jarfile)
rm -f classnoinst.stamp

View File

@ -23,10 +23,10 @@ include $(top_srcdir)/config/commence.am
# Mark this directory as part of the JNI API
JAVA_API=yes
JAVAROOT = $(top_builddir)/.classes
JAVAROOT = .classes
classes:
$(MKDIR_P) $(@D)/$(JAVAROOT)
test -d $(@D)/$(JAVAROOT) || $(MKDIR_P) $(@D)/$(JAVAROOT)
pkgpath = examples/intro
hdfjarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
@ -60,7 +60,7 @@ TEST_SCRIPT = $(check_SCRIPTS)
CLEANFILES = classnoinst.stamp $(jarfile) $(JAVAROOT)/$(pkgpath)/*.class runExample.sh
clean:
rm -rf $(JAVAROOT)
rm -rf $(JAVAROOT)/*
rm -f $(jarfile)
rm -f classnoinst.stamp

View File

@ -30,10 +30,10 @@ JAVA_API=yes
SUBDIRS=jni
JAVAROOT = $(top_builddir)/.classes
JAVAROOT = .classes
classes:
$(MKDIR_P) $(@D)/$(JAVAROOT)
test -d $(@D)/$(JAVAROOT) || $(MKDIR_P) $(@D)/$(JAVAROOT)
jarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
hdf5_javadir = $(libdir)
@ -126,7 +126,7 @@ docs:
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 -rf $(JAVAROOT)/*
rm -f $(jarfile)
rm -f classhdf5_java.stamp

View File

@ -23,10 +23,10 @@ include $(top_srcdir)/config/commence.am
# Mark this directory as part of the JNI API
JAVA_API=yes
JAVAROOT = $(top_builddir)/.classes
JAVAROOT = .classes
classes:
$(MKDIR_P) $(@D)/$(JAVAROOT)
test -d $(@D)/$(JAVAROOT) || $(MKDIR_P) $(@D)/$(JAVAROOT)
pkgpath = test
hdfjarfile = jar$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).jar
@ -96,7 +96,7 @@ AllJunitTests :
chmod +x $@
clean:
rm -rf $(JAVAROOT)
rm -rf $(JAVAROOT)/*
rm -f $(jarfile)
rm -f classnoinst.stamp