From: Tuukka Lehtonen Date: Thu, 1 Mar 2018 23:08:48 +0000 (+0200) Subject: Added HDF5 Java interface library version 1.10.0-patch1 to the platform X-Git-Tag: v1.43.0~136^2~567 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=18211711f14cc26e828f7c35420eabde871a336a;p=simantics%2Fplatform.git Added HDF5 Java interface library version 1.10.0-patch1 to the platform If you need the library in your product, include the hdf.hdf5 feature to include the hdf.hdf5lib plug-in. For now only the win32.x86_64 build of the interface library is included in the plug-in but also linux and mac compilations of the DLL should be included in the future. refs #7793 Change-Id: I274a1ccf6e00b106c06d74767dd78c36e4073dad --- diff --git a/bundles/hdf.hdf5lib/.classpath b/bundles/hdf.hdf5lib/.classpath new file mode 100644 index 000000000..3d5627760 --- /dev/null +++ b/bundles/hdf.hdf5lib/.classpath @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/bundles/hdf.hdf5lib/.project b/bundles/hdf.hdf5lib/.project new file mode 100644 index 000000000..6e3c1da76 --- /dev/null +++ b/bundles/hdf.hdf5lib/.project @@ -0,0 +1,28 @@ + + + hdf.hdf5lib + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/bundles/hdf.hdf5lib/.settings/org.eclipse.jdt.core.prefs b/bundles/hdf.hdf5lib/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..295926d96 --- /dev/null +++ b/bundles/hdf.hdf5lib/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,7 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/bundles/hdf.hdf5lib/COPYING b/bundles/hdf.hdf5lib/COPYING new file mode 100644 index 000000000..08bc324bf --- /dev/null +++ b/bundles/hdf.hdf5lib/COPYING @@ -0,0 +1,98 @@ + +Copyright Notice and License Terms for +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +----------------------------------------------------------------------------- + +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 2006-2016 by The HDF Group. + +NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 1998-2006 by the Board of Trustees of the University of Illinois. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted for any purpose (including commercial purposes) +provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions, and the following disclaimer in the documentation + and/or materials provided with the distribution. + +3. In addition, redistributions of modified forms of the source or binary + code must carry prominent notices stating that the original code was + changed and the date of the change. + +4. All publications or advertising materials mentioning features or use of + this software are asked, but not required, to acknowledge that it was + developed by The HDF Group and by the National Center for Supercomputing + Applications at the University of Illinois at Urbana-Champaign and + credit the contributors. + +5. Neither the name of The HDF Group, the name of the University, nor the + name of any Contributor may be used to endorse or promote products derived + from this software without specific prior written permission from + The HDF Group, the University, or the Contributor, respectively. + +DISCLAIMER: +THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS +"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. In no +event shall The HDF Group or the Contributors be liable for any damages +suffered by the users arising out of the use of this software, even if +advised of the possibility of such damage. + +----------------------------------------------------------------------------- +----------------------------------------------------------------------------- + +Contributors: National Center for Supercomputing Applications (NCSA) at +the University of Illinois, Fortner Software, Unidata Program Center (netCDF), +The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler (gzip), +and Digital Equipment Corporation (DEC). + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the Lawrence Berkeley +National Laboratory (LBNL) and the United States Department of Energy +under Prime Contract No. DE-AC02-05CH11231. + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the University of +California, Lawrence Livermore National Laboratory (UC LLNL). +The following statement applies to those portions of the product and must +be retained in any redistribution of source code, binaries, documentation, +and/or accompanying materials: + + This work was partially produced at the University of California, + Lawrence Livermore National Laboratory (UC LLNL) under contract + no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy + (DOE) and The Regents of the University of California (University) + for the operation of UC LLNL. + + DISCLAIMER: + This work was prepared as an account of work sponsored by an agency of + the United States Government. Neither the United States Government nor + the University of California nor any of their employees, makes any + warranty, express or implied, or assumes any liability or responsibility + for the accuracy, completeness, or usefulness of any information, + apparatus, product, or process disclosed, or represents that its use + would not infringe privately- owned rights. Reference herein to any + specific commercial products, process, or service by trade name, + trademark, manufacturer, or otherwise, does not necessarily constitute + or imply its endorsement, recommendation, or favoring by the United + States Government or the University of California. The views and + opinions of authors expressed herein do not necessarily state or reflect + those of the United States Government or the University of California, + and shall not be used for advertising or product endorsement purposes. + +----------------------------------------------------------------------------- + +HDF5 is available with the SZIP compression library but SZIP is not part +of HDF5 and has separate copyright and license terms. See “Szip Compression +in HDF Products” (www.hdfgroup.org/doc_resource/SZIP/) for further details. + +----------------------------------------------------------------------------- + diff --git a/bundles/hdf.hdf5lib/META-INF/MANIFEST.MF b/bundles/hdf.hdf5lib/META-INF/MANIFEST.MF new file mode 100644 index 000000000..c7ef8a4da --- /dev/null +++ b/bundles/hdf.hdf5lib/META-INF/MANIFEST.MF @@ -0,0 +1,15 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: Java HDF5 Interface (JHI5) +Bundle-SymbolicName: hdf.hdf5lib +Bundle-Version: 1.10.0.patch1 +Bundle-Vendor: Semantum Oy +Bundle-RequiredExecutionEnvironment: JavaSE-1.8 +Bundle-ClassPath: ., + jarhdf5-1.10.0.jar +Export-Package: hdf.hdf5lib, + hdf.hdf5lib.callbacks, + hdf.hdf5lib.exceptions, + hdf.hdf5lib.structs +Bundle-NativeCode: hdf5_java.dll; processor=x86_64; osname=win32 +Require-Bundle: org.slf4j.api;bundle-version="1.7.2" diff --git a/bundles/hdf.hdf5lib/README.md b/bundles/hdf.hdf5lib/README.md new file mode 100644 index 000000000..ea6445a44 --- /dev/null +++ b/bundles/hdf.hdf5lib/README.md @@ -0,0 +1,4 @@ +The Java HDF5 interface library and the accompanying hdf5_java.dll JNI library +are built without both separately licensed ZLIB and SZIP open source libraries. +The native library (DLL) has been compiled with Visual Studio 2015 and dynamic +linking. \ No newline at end of file diff --git a/bundles/hdf.hdf5lib/about.html b/bundles/hdf.hdf5lib/about.html new file mode 100644 index 000000000..80b486768 --- /dev/null +++ b/bundles/hdf.hdf5lib/about.html @@ -0,0 +1,22 @@ + + + + +About + + +

About This Content

+ +

August 29th, 2016

+

License

+ +

Third Party Content

+

The Content includes items that have been sourced from third parties as set out below.

+

+ Java HDF5 Interface (JHI5), version 1.10.0-patch1

+ This library has been obtained from the HDF Group + (https://www.hdfgroup.org/HDF5/release/obtain5110.html) unmodified. + See file COPYING for more information on the license. +

+ + \ No newline at end of file diff --git a/bundles/hdf.hdf5lib/build.properties b/bundles/hdf.hdf5lib/build.properties new file mode 100644 index 000000000..4a873ef6e --- /dev/null +++ b/bundles/hdf.hdf5lib/build.properties @@ -0,0 +1,10 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + jarhdf5-1.10.0.jar,\ + hdf5_java.dll,\ + COPYING,\ + README.md,\ + about.html +src.includes = COPYING diff --git a/bundles/hdf.hdf5lib/hdf5_java.dll b/bundles/hdf.hdf5lib/hdf5_java.dll new file mode 100644 index 000000000..aed8a7705 Binary files /dev/null and b/bundles/hdf.hdf5lib/hdf5_java.dll differ diff --git a/bundles/hdf.hdf5lib/jarhdf5-1.10.0.jar b/bundles/hdf.hdf5lib/jarhdf5-1.10.0.jar new file mode 100644 index 000000000..1fcdb3261 Binary files /dev/null and b/bundles/hdf.hdf5lib/jarhdf5-1.10.0.jar differ diff --git a/bundles/hdf.hdf5lib/pom.xml b/bundles/hdf.hdf5lib/pom.xml new file mode 100644 index 000000000..5c00b7ab1 --- /dev/null +++ b/bundles/hdf.hdf5lib/pom.xml @@ -0,0 +1,32 @@ + + 4.0.0 + hdf.hdf5lib + eclipse-plugin + 1.10.0.patch1 + + + org.simantics + org.simantics.root.bundles + 1.0.0-SNAPSHOT + .. + + + + + + org.eclipse.tycho + target-platform-configuration + + + + win32 + x86_64 + + + + + + + + \ No newline at end of file diff --git a/bundles/hdf.hdf5lib/src/.keep b/bundles/hdf.hdf5lib/src/.keep new file mode 100644 index 000000000..e69de29bb diff --git a/bundles/pom.xml b/bundles/pom.xml index 59ac14535..7ac841ad1 100644 --- a/bundles/pom.xml +++ b/bundles/pom.xml @@ -52,6 +52,7 @@ com.famfamfam.silk + hdf.hdf5lib org.simantics org.simantics.acorn org.simantics.action.ontology diff --git a/features/hdf.hdf5.feature/.project b/features/hdf.hdf5.feature/.project new file mode 100644 index 000000000..eb65297d9 --- /dev/null +++ b/features/hdf.hdf5.feature/.project @@ -0,0 +1,17 @@ + + + hdf.hdf5.feature + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/features/hdf.hdf5.feature/HDF5.license.txt b/features/hdf.hdf5.feature/HDF5.license.txt new file mode 100644 index 000000000..08bc324bf --- /dev/null +++ b/features/hdf.hdf5.feature/HDF5.license.txt @@ -0,0 +1,98 @@ + +Copyright Notice and License Terms for +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +----------------------------------------------------------------------------- + +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 2006-2016 by The HDF Group. + +NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 1998-2006 by the Board of Trustees of the University of Illinois. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted for any purpose (including commercial purposes) +provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions, and the following disclaimer in the documentation + and/or materials provided with the distribution. + +3. In addition, redistributions of modified forms of the source or binary + code must carry prominent notices stating that the original code was + changed and the date of the change. + +4. All publications or advertising materials mentioning features or use of + this software are asked, but not required, to acknowledge that it was + developed by The HDF Group and by the National Center for Supercomputing + Applications at the University of Illinois at Urbana-Champaign and + credit the contributors. + +5. Neither the name of The HDF Group, the name of the University, nor the + name of any Contributor may be used to endorse or promote products derived + from this software without specific prior written permission from + The HDF Group, the University, or the Contributor, respectively. + +DISCLAIMER: +THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS +"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. In no +event shall The HDF Group or the Contributors be liable for any damages +suffered by the users arising out of the use of this software, even if +advised of the possibility of such damage. + +----------------------------------------------------------------------------- +----------------------------------------------------------------------------- + +Contributors: National Center for Supercomputing Applications (NCSA) at +the University of Illinois, Fortner Software, Unidata Program Center (netCDF), +The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler (gzip), +and Digital Equipment Corporation (DEC). + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the Lawrence Berkeley +National Laboratory (LBNL) and the United States Department of Energy +under Prime Contract No. DE-AC02-05CH11231. + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the University of +California, Lawrence Livermore National Laboratory (UC LLNL). +The following statement applies to those portions of the product and must +be retained in any redistribution of source code, binaries, documentation, +and/or accompanying materials: + + This work was partially produced at the University of California, + Lawrence Livermore National Laboratory (UC LLNL) under contract + no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy + (DOE) and The Regents of the University of California (University) + for the operation of UC LLNL. + + DISCLAIMER: + This work was prepared as an account of work sponsored by an agency of + the United States Government. Neither the United States Government nor + the University of California nor any of their employees, makes any + warranty, express or implied, or assumes any liability or responsibility + for the accuracy, completeness, or usefulness of any information, + apparatus, product, or process disclosed, or represents that its use + would not infringe privately- owned rights. Reference herein to any + specific commercial products, process, or service by trade name, + trademark, manufacturer, or otherwise, does not necessarily constitute + or imply its endorsement, recommendation, or favoring by the United + States Government or the University of California. The views and + opinions of authors expressed herein do not necessarily state or reflect + those of the United States Government or the University of California, + and shall not be used for advertising or product endorsement purposes. + +----------------------------------------------------------------------------- + +HDF5 is available with the SZIP compression library but SZIP is not part +of HDF5 and has separate copyright and license terms. See “Szip Compression +in HDF Products” (www.hdfgroup.org/doc_resource/SZIP/) for further details. + +----------------------------------------------------------------------------- + diff --git a/features/hdf.hdf5.feature/build.properties b/features/hdf.hdf5.feature/build.properties new file mode 100644 index 000000000..2c7d8610e --- /dev/null +++ b/features/hdf.hdf5.feature/build.properties @@ -0,0 +1,2 @@ +bin.includes = feature.xml,\ + HDF5.license.txt diff --git a/features/hdf.hdf5.feature/feature.xml b/features/hdf.hdf5.feature/feature.xml new file mode 100644 index 000000000..d0cd9a1d5 --- /dev/null +++ b/features/hdf.hdf5.feature/feature.xml @@ -0,0 +1,128 @@ + + + + + This feature bundles together the Java HDF5 Interface library +(hdf.hdf5lib) and its dependencies. + + + + Copyright Notice and License Terms for +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +----------------------------------------------------------------------------- + +HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 2006-2016 by The HDF Group. + +NCSA HDF5 (Hierarchical Data Format 5) Software Library and Utilities +Copyright 1998-2006 by the Board of Trustees of the University of Illinois. + +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted for any purpose (including commercial purposes) +provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, + this list of conditions, and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions, and the following disclaimer in the documentation + and/or materials provided with the distribution. + +3. In addition, redistributions of modified forms of the source or binary + code must carry prominent notices stating that the original code was + changed and the date of the change. + +4. All publications or advertising materials mentioning features or use of + this software are asked, but not required, to acknowledge that it was + developed by The HDF Group and by the National Center for Supercomputing + Applications at the University of Illinois at Urbana-Champaign and + credit the contributors. + +5. Neither the name of The HDF Group, the name of the University, nor the + name of any Contributor may be used to endorse or promote products derived + from this software without specific prior written permission from + The HDF Group, the University, or the Contributor, respectively. + +DISCLAIMER: +THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS +"AS IS" WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. In no +event shall The HDF Group or the Contributors be liable for any damages +suffered by the users arising out of the use of this software, even if +advised of the possibility of such damage. + +----------------------------------------------------------------------------- +----------------------------------------------------------------------------- + +Contributors: National Center for Supercomputing Applications (NCSA) at +the University of Illinois, Fortner Software, Unidata Program Center (netCDF), +The Independent JPEG Group (JPEG), Jean-loup Gailly and Mark Adler (gzip), +and Digital Equipment Corporation (DEC). + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the Lawrence Berkeley +National Laboratory (LBNL) and the United States Department of Energy +under Prime Contract No. DE-AC02-05CH11231. + +----------------------------------------------------------------------------- + +Portions of HDF5 were developed with support from the University of +California, Lawrence Livermore National Laboratory (UC LLNL). +The following statement applies to those portions of the product and must +be retained in any redistribution of source code, binaries, documentation, +and/or accompanying materials: + + This work was partially produced at the University of California, + Lawrence Livermore National Laboratory (UC LLNL) under contract + no. W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy + (DOE) and The Regents of the University of California (University) + for the operation of UC LLNL. + + DISCLAIMER: + This work was prepared as an account of work sponsored by an agency of + the United States Government. Neither the United States Government nor + the University of California nor any of their employees, makes any + warranty, express or implied, or assumes any liability or responsibility + for the accuracy, completeness, or usefulness of any information, + apparatus, product, or process disclosed, or represents that its use + would not infringe privately- owned rights. Reference herein to any + specific commercial products, process, or service by trade name, + trademark, manufacturer, or otherwise, does not necessarily constitute + or imply its endorsement, recommendation, or favoring by the United + States Government or the University of California. The views and + opinions of authors expressed herein do not necessarily state or reflect + those of the United States Government or the University of California, + and shall not be used for advertising or product endorsement purposes. + +----------------------------------------------------------------------------- + +HDF5 is available with the SZIP compression library but SZIP is not part +of HDF5 and has separate copyright and license terms. See “Szip Compression +in HDF Products” (www.hdfgroup.org/doc_resource/SZIP/) for further details. + +----------------------------------------------------------------------------- + + + + + + + diff --git a/features/org.simantics.sdk.feature/feature.xml b/features/org.simantics.sdk.feature/feature.xml index b9e8cfcfc..0fc787e69 100644 --- a/features/org.simantics.sdk.feature/feature.xml +++ b/features/org.simantics.sdk.feature/feature.xml @@ -212,6 +212,10 @@ id="org.simantics.simulator.toolkit.db.feature" version="0.0.0"/> + + com.lowagie.text.feature + hdf.hdf5.feature org.apache.lucene4.feature org.jfree.feature org.simantics.acorn.feature diff --git a/releng/pom.xml b/releng/pom.xml index dd0a01205..fcc27a679 100644 --- a/releng/pom.xml +++ b/releng/pom.xml @@ -15,7 +15,33 @@ org.simantics.sdk.build.targetdefinition - org.simantics.sdk.repository - org.simantics.desktop.rcp.product + + + + build-p2-repository + + + build-p2-repository + !false + + + + org.simantics.sdk.repository + + + + build-products + + + build-products + !false + + + + org.simantics.desktop.rcp.product + + + +