# Used to generate README.txt for Windows and Linux readme.txt = @HDFJAVA_PACKAGE_NAME@ @HDFVIEW_PACKAGE_VERSION_STRING@ with hdf-java version @HDFJAVA_PACKAGE_VERSION_STRING@${line.separator}\ ------------------------------------------------------------------------------${line.separator}\ ${line.separator}\ This directory contains the binary (release) distribution of${line.separator}\ @HDFJAVA_PACKAGE_NAME@ @HDFVIEW_PACKAGE_VERSION@ that was compiled on:${line.separator}\ \u0020 @BINARY_PLATFORM@${line.separator}\ ${line.separator}\ with: Java JDK @JDK_VERSION@${line.separator}\ ${line.separator}\ It was built with the following options:${line.separator}\ \u0020 -- @LIB_TYPE@ HDF @HDF4_VERSION_STRING@${line.separator}\ \u0020 -- @LIB_TYPE@ HDF5 @HDF5_VERSION_STRING@${line.separator}\ ${line.separator}\ ===========================================================================${line.separator}\ Note: By default @HDFJAVA_PACKAGE_NAME@ runs on the included Java JRE @JRE_VERSION@.${line.separator}\ \u0020 This can be modified by changing JAVABIN in ${ant.project.name}${file.separator}@HDFVIEW_PACKAGE_VERSION_STRING@${file.separator}@EXECUTABLE@${line.separator}\ ===========================================================================${line.separator}\ ${line.separator}\ The contents of this directory are:${line.separator}\ ${line.separator}\ \u0020 COPYING - Copyright notice${line.separator}\ \u0020 README.txt - This file${line.separator}\ \u0020 @BINARY_FILE@${line.separator}\ ${line.separator}\ @INSTALL_TYPE@${line.separator}\ ===========================================================================${line.separator}\ @INSTALL_PREFIX_HEADER@${line.separator}\ 1. Execute @INSTALL_OR_RUN_FILE@${line.separator}\ @OPTIONAL_STEP@${line.separator}\ ===========================================================================${line.separator}\ ${line.separator}\ Documentation for this release can be found at the following URL:${line.separator}\ \u0020 https://support.hdfgroup.org/products/java/index.html.${line.separator}\ ${line.separator}\ See the HDF Java home page for further details:${line.separator}\ \u0020 https://support.hdfgroup.org/products/java/${line.separator}\ ${line.separator}\ Bugs should be reported to help@hdfgroup.org.${line.separator}\ macreadme.txt= @HDFJAVA_PACKAGE_NAME@ @HDFVIEW_PACKAGE_VERSION_STRING@ with hdf-java version @HDFJAVA_PACKAGE_VERSION_STRING@${line.separator}\ ------------------------------------------------------------------------------${line.separator}\ ${line.separator}\ This is the binary (release) distribution of${line.separator}\ @HDFJAVA_PACKAGE_NAME@ @HDFVIEW_PACKAGE_VERSION@ that was compiled on:${line.separator}\ \u0020 @BINARY_PLATFORM@${line.separator}\ ${line.separator}\ with: Java JDK @JDK_VERSION@${line.separator}\ ${line.separator}\ It was built with the following options:${line.separator}\ \u0020 -- @LIB_TYPE@ HDF @HDF4_VERSION_STRING@${line.separator}\ \u0020 -- @LIB_TYPE@ HDF5 @HDF5_VERSION_STRING@${line.separator}\ ${line.separator}\ ===========================================================================${line.separator}\ Note: @HDFJAVA_PACKAGE_NAME@ runs on the included Java JRE @JRE_VERSION@.${line.separator}\ ===========================================================================${line.separator}\ ${line.separator}\ Documentation for this release can be found at the following URL:${line.separator}\ \u0020 https://support.hdfgroup.org/products/java/index.html.${line.separator}\ ${line.separator}\ See the HDF Java home page for further details:${line.separator}\ \u0020 https://support.hdfgroup.org/products/java/${line.separator}\ ${line.separator}\ Bugs should be reported to help@hdfgroup.org.${line.separator}\ # Used to generate Windows run batch file for HDFView batch.text = @ECHO OFF${line.separator}\ rem /*****************************************************************************${line.separator}\ rem * Copyright by The HDF Group. *${line.separator}\ rem * Copyright by the Board of Trustees of the University of Illinois. *${line.separator}\ rem * All rights reserved. *${line.separator}\ rem * *${line.separator}\ rem * This file is part of the HDF Java Products distribution. *${line.separator}\ rem * The full copyright notice, including terms governing use, modification, *${line.separator}\ rem * and redistribution, is contained in the file COPYING. *${line.separator}\ rem * COPYING can be found at the root of the source code distribution tree. *${line.separator}\ rem * If you do not have access to this file, you may request a copy from *${line.separator}\ rem * help@hdfgroup.org. *${line.separator}\ rem ****************************************************************************/${line.separator}\ ${line.separator}\ rem File Name: hdfview.bat${line.separator}\ rem This batch file is used to execute the hdfview utility${line.separator}\ rem ... hdfview.root property is for the install location${line.separator}\ rem ...... default location is system property user.dir${line.separator}\ rem ... hdfview.workdir property is for the working location to find files${line.separator}\ rem ...... default location is system property user.home${line.separator}\ rem${line.separator}\ ${line.separator}\ setlocal enabledelayedexpansion${line.separator}\ pushd %~dp0${line.separator}\ ${line.separator}\ rem Adjust the following variable to match your environment${line.separator}\ set INSTALLDIR=%cd%${line.separator}\ set PATH=%PATH%;${line.separator}\ set JAVABIN=%INSTALLDIR%\\jre\\bin${line.separator}\ ${line.separator}\ rem start "HDFView" "%JAVABIN%\\javaw.exe" %JAVAOPTS% -Xmx1024M -Djava.library.path="%INSTALLDIR%\\lib" -Dhdfview.root="%INSTALLDIR%" -jar "%INSTALLDIR%\\lib\\HDFView.jar" %*${line.separator}\ ${line.separator}\ rem Default invocation when using modules${line.separator}\ start "HDFView" "%JAVABIN%\\javaw.exe" %JAVAOPTS% -Xmx1024M -Djava.library.path="%INSTALLDIR%\\lib;%INSTALLDIR%\\lib\\ext" -Dhdfview.root="%INSTALLDIR%" -cp "@CLASSPATH@;%INSTALLDIR%\\lib\\HDFView.jar" hdf.view.HDFView %*${line.separator}\ ${line.separator}\ exit /b 0${line.separator}\ # Used to generate Unix run script for HDFView runscript.text = #!/bin/bash${line.separator}\ ${line.separator}\ # Set up default variable values if not supplied by the user.${line.separator}\ # This script file is used to execute the hdfview utility${line.separator}\ # ... hdfview.root property is for the install location${line.separator}\ # ...... default location is system property user.dir${line.separator}\ # ... hdfview.workdir property is for the working location to find files${line.separator}\ # ...... default location is system property user.home${line.separator}\ #${line.separator}\ ${line.separator}\ ${line.separator}\ export JAVABIN=@JAVABIN@${line.separator}\ export INSTALLDIR=@INSTALLDIR@${line.separator}\ ${line.separator}\ #$JAVABIN/java $JAVAOPTS -Xmx1024M -Djava.library.path="$INSTALLDIR/lib" -Dhdfview.root="$INSTALLDIR" -jar "$INSTALLDIR/lib/HDFView.jar" $*${line.separator}\ ${line.separator}\ # Default invocation when using modules${line.separator}\ $JAVABIN/java $JAVAOPTS -Xmx1024M -Djava.library.path="$INSTALLDIR/lib:$INSTALLDIR/lib/ext" -Dhdfview.root="$INSTALLDIR" -cp "@CLASSPATH@:$INSTALLDIR/lib/HDFView.jar" hdf.view.HDFView $*${line.separator}\ # Used to generate Unix install script for HDFView installscript.text = #!/bin/sh${line.separator}\ ${line.separator}\ # Display usage${line.separator}\ cpack_usage()${line.separator}\ {${line.separator}\ \u0020 cat < /dev/null 2> /dev/null; then${line.separator}\ \u0020 cpack_usage${line.separator}\ \u0020 fi${line.separator}\ \u0020 if echo $a | grep "^--version" > /dev/null 2> /dev/null; then${line.separator}\ \u0020 cpack_version${line.separator}\ \u0020 exit 2${line.separator}\ \u0020 fi${line.separator}\ \u0020 if echo $a | grep "^--include-subdir" > /dev/null 2> /dev/null; then${line.separator}\ \u0020 cpack_include_subdir=TRUE${line.separator}\ \u0020 fi${line.separator}\ \u0020 if echo $a | grep "^--exclude-subdir" > /dev/null 2> /dev/null; then${line.separator}\ \u0020 cpack_include_subdir=FALSE${line.separator}\ \u0020 fi${line.separator}\ \u0020 if echo $a | grep "^--skip-license" > /dev/null 2> /dev/null; then${line.separator}\ \u0020 cpack_skip_license=TRUE${line.separator}\ \u0020 fi${line.separator}\ done${line.separator}\ ${line.separator}\ if [ "x${cpack_include_subdir}x" != "xx" -o "x${cpack_skip_license}x" = "xTRUEx" ]${line.separator}\ then${line.separator}\ \u0020 interactive=FALSE${line.separator}\ fi${line.separator}\ ${line.separator}\ cpack_version${line.separator}\ echo "This is a self-extracting archive."${line.separator}\ toplevel="`pwd`"${line.separator}\ if [ "x${cpack_prefix_dir}x" != "xx" ]${line.separator}\ then${line.separator}\ \u0020 toplevel="${cpack_prefix_dir}"${line.separator}\ fi${line.separator}\ ${line.separator}\ echo "The archive will be extracted to: ${toplevel}"${line.separator}\ ${line.separator}\ if [ "x${interactive}x" = "xTRUEx" ]${line.separator}\ then${line.separator}\ \u0020 echo ""${line.separator}\ \u0020 echo "If you want to stop extracting, please press ."${line.separator}\ ${line.separator}\ \u0020 if [ "x${cpack_skip_license}x" != "xTRUEx" ]${line.separator}\ \u0020 then${line.separator}\ \u0020 more << '____cpack__here_doc____'${line.separator}\ Copyright Notice and License Terms for${line.separator}\ HDF Java Products${line.separator}\ -----------------------------------------------------------------------------${line.separator}\ ${line.separator}\ HDF Java Products${line.separator}\ Copyright 2006-2017 by The HDF Group.${line.separator}\ ${line.separator}\ NCSA HDF Java Products${line.separator}\ Copyright 1988-2006 by the Board of Trustees of the University of Illinois.${line.separator}\ ${line.separator}\ All rights reserved.${line.separator}\ ${line.separator}\ Redistribution and use in source and binary forms, with or without${line.separator}\ modification, are permitted for any purpose (including commercial purposes)${line.separator}\ provided that the following conditions are met:${line.separator}\ ${line.separator}\ 1. Redistributions of source code must retain the above copyright notice,${line.separator}\ \u0020 this list of conditions, and the following disclaimer.${line.separator}\ ${line.separator}\ 2. Redistributions in binary form must reproduce the above copyright notice,${line.separator}\ \u0020 this list of conditions, and the following disclaimer in the documentation${line.separator}\ \u0020 and/or materials provided with the distribution.${line.separator}\ ${line.separator}\ 3. In addition, redistributions of modified forms of the source or binary${line.separator}\ \u0020 code must carry prominent notices stating that the original code was${line.separator}\ \u0020 changed and the date of the change.${line.separator}\ ${line.separator}\ 4. All publications or advertising materials mentioning features or use of${line.separator}\ \u0020 this software are asked, but not required, to acknowledge that it was${line.separator}\ \u0020 developed by The HDF Group and by the National Center for Supercomputing${line.separator}\ \u0020 Applications at the University of Illinois at Urbana-Champaign and${line.separator}\ \u0020 credit the contributors.${line.separator}\ ${line.separator}\ 5. Neither the name of The HDF Group, the name of the University, nor the${line.separator}\ \u0020 name of any Contributor may be used to endorse or promote products derived${line.separator}\ \u0020 from this software without specific prior written permission from The HDF${line.separator}\ \u0020 Group, the University, or the Contributor, respectively.${line.separator}\ ${line.separator}\ DISCLAIMER:${line.separator}\ THIS SOFTWARE IS PROVIDED BY THE HDF GROUP AND THE CONTRIBUTORS "AS IS"${line.separator}\ WITH NO WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED. In no event${line.separator}\ shall The HDF Group or the Contributors be liable for any damages suffered${line.separator}\ by the users arising out of the use of this software, even if advised of${line.separator}\ the possibility of such damage.${line.separator}\ ${line.separator}\ --------------------------------------------------------------------------${line.separator}\ --------------------------------------------------------------------------${line.separator}\ ${line.separator}\ Contributors: National Center for Supercomputing Applications (NCSA) at${line.separator}\ the University of Illinois, Lawrence Livermore National Laboratory (LLNL),${line.separator}\ Sandia National Laboratories (SNL), Los Alamos National Laboratory (LANL),${line.separator}\ Fortner Software, Unidata Program Center (netCDF), The Independent JPEG${line.separator}\ Group (JPEG), Jean-loup Gailly and Mark Adler (gzip), and Digital Equipment${line.separator}\ Corporation (DEC).${line.separator}\ ${line.separator}\ --------------------------------------------------------------------------${line.separator}\ ${line.separator}\ Portions of the HDF Java Products were developed with support from the${line.separator}\ University of California, Lawrence Livermore National Laboratory (UC LLNL).${line.separator}\ The following statement applies to those portions of the product${line.separator}\ and must be retained in any redistribution of source code, binaries,${line.separator}\ documentation, and/or accompanying materials:${line.separator}\ ${line.separator}\ \u0020 This work was partially produced at the University of California,${line.separator}\ \u0020 Lawrence Livermore National Laboratory (UC LLNL) under contract no.${line.separator}\ \u0020 W-7405-ENG-48 (Contract 48) between the U.S. Department of Energy${line.separator}\ \u0020 (DOE) and The Regents of the University of California (University)${line.separator}\ \u0020 for the operation of UC LLNL.${line.separator}\ ${line.separator}\ \u0020 DISCLAIMER:${line.separator}\ \u0020 This work was prepared as an account of work sponsored by an agency${line.separator}\ \u0020 of the United States Government. Neither the United States${line.separator}\ \u0020 Government nor the University of California nor any of their${line.separator}\ \u0020 employees, makes any warranty, express or implied, or assumes any${line.separator}\ \u0020 liability or responsibility for the accuracy, completeness, or${line.separator}\ \u0020 usefulness of any information, apparatus, product, or process${line.separator}\ \u0020 disclosed, or represents that its use would not infringe privately-${line.separator}\ \u0020 owned rights. Reference herein to any specific commercial products,${line.separator}\ \u0020 process, or service by trade name, trademark, manufacturer, or${line.separator}\ \u0020 otherwise, does not necessarily constitute or imply its endorsement,${line.separator}\ \u0020 recommendation, or favoring by the United States Government or the${line.separator}\ \u0020 University of California. The views and opinions of authors${line.separator}\ \u0020 expressed herein do not necessarily state or reflect those of the${line.separator}\ \u0020 United States Government or the University of California, and shall${line.separator}\ \u0020 not be used for advertising or product endorsement purposes.${line.separator}\ ${line.separator}\ --------------------------------------------------------------------------${line.separator}\ ${line.separator}\ ${line.separator}\ ____cpack__here_doc____${line.separator}\ \u0020 echo${line.separator}\ \u0020 echo "Do you accept the license? [yN]: "${line.separator}\ \u0020 read line leftover${line.separator}\ \u0020 case ${line} in${line.separator}\ \u0020 y* | Y*)${line.separator}\ \u0020 cpack_license_accepted=TRUE;;${line.separator}\ \u0020 *)${line.separator}\ \u0020 echo "License not accepted. Exiting ..."${line.separator}\ \u0020 exit 1;;${line.separator}\ \u0020 esac${line.separator}\ \u0020 fi${line.separator}\ ${line.separator}\ \u0020 if [ "x${cpack_include_subdir}x" = "xx" ]${line.separator}\ \u0020 then${line.separator}\ \u0020 echo "By default the HDFView will be installed in:"${line.separator}\ \u0020 echo " \\"${toplevel}/HDFView-@HDFVIEW_PACKAGE_VERSION_STRING@-@OS@\\""${line.separator}\ \u0020 echo "Do you want to include the subdirectory HDFView-@HDFVIEW_PACKAGE_VERSION_STRING@-@OS@?"${line.separator}\ \u0020 echo "Saying no will install in: \\"${toplevel}\\" [Yn]: "${line.separator}\ \u0020 read line leftover${line.separator}\ \u0020 cpack_include_subdir=TRUE${line.separator}\ \u0020 case ${line} in${line.separator}\ \u0020 n* | N*)${line.separator}\ \u0020 cpack_include_subdir=FALSE${line.separator}\ \u0020 esac${line.separator}\ \u0020 fi${line.separator}\ fi${line.separator}\ ${line.separator}\ if [ "x${cpack_include_subdir}x" = "xTRUEx" ]${line.separator}\ then${line.separator}\ \u0020 toplevel="${toplevel}/HDFView-@HDFVIEW_PACKAGE_VERSION_STRING@-@OS@"${line.separator}\ \u0020 mkdir -p "${toplevel}"${line.separator}\ fi${line.separator}\ echo${line.separator}\ echo "Using target directory: ${toplevel}"${line.separator}\ echo "Extracting, please wait..."${line.separator}\ echo ""${line.separator}\ ${line.separator}\ # take the archive portion of this file and pipe it to tar${line.separator}\ # the NUMERIC parameter in this command should be one more${line.separator}\ # than the number of lines in this header file${line.separator}\ # there are tails which don't understand the "-n" argument, e.g. on SunOS${line.separator}\ # OTOH there are tails which complain when not using the "-n" argument (e.g. GNU)${line.separator}\ # so at first try to tail some file to see if tail fails if used with "-n"${line.separator}\ # if so, don't use "-n"${line.separator}\ use_new_tail_syntax="-n"${line.separator}\ tail $use_new_tail_syntax +1 "$0" > /dev/null 2> /dev/null || use_new_tail_syntax=""${line.separator}\ ${line.separator}\ tail $use_new_tail_syntax +234 "$0" | gunzip | (cd "${toplevel}" && tar xf -) || cpack_echo_exit "Problem unpacking the HDFView-@HDFVIEW_PACKAGE_VERSION_STRING@-@OS@"${line.separator}\ ${line.separator}\ # Modify .sh run script to have correct paths${line.separator}\ sed -i "s|@JAVABIN@|${toplevel}/HDFView/@HDFVIEW_PACKAGE_VERSION_STRING@/jre/bin|" ${toplevel}/HDFView/@HDFVIEW_PACKAGE_VERSION_STRING@/hdfview.sh${line.separator}\ sed -i "s|@INSTALLDIR@|${toplevel}/HDFView/@HDFVIEW_PACKAGE_VERSION_STRING@|" ${toplevel}/HDFView/@HDFVIEW_PACKAGE_VERSION_STRING@/hdfview.sh${line.separator}\ ${line.separator}\ echo "Unpacking finished successfully"${line.separator}\ ${line.separator}\ exit 0${line.separator}\ #-----------------------------------------------------------${line.separator}\ # Start of TAR.GZ file${line.separator}\ #-----------------------------------------------------------;${line.separator}\ \n # Used to generate Info.plist for Mac