hdfview icon indicating copy to clipboard operation
hdfview copied to clipboard

The built hdfview.sh file references directories lib/app, lib/app/ext that weren't created by the build

Open yurivict opened this issue 1 year ago • 2 comments

hdfview.sh contains this line:

"$JAVABIN/java" "$JAVAOPTS" -Djava.library.path="$INSTALLDIR/lib/app:$INSTALLDIR/lib/app/ext" -Dhdfview.root="$INSTALLDIR/lib/app" -cp "$INSTALLDIR/lib/app/*" hdf.view.HDFView "$@"

However, lib/app and lib/app/ext don't exit under the 'build' folder.

It doesn't appear to even reference the HDFView.jar file as it should.

Version: 3.3.2 Java 21 FreeBSD 14.1

yurivict avatar Sep 24 '24 19:09 yurivict

Those reference the directory structure after install

byrnHDF avatar Sep 26 '24 13:09 byrnHDF

@byrnHDF

Is it documented anywhere how to install HDFView using ANT? build.xml doesn't contain the "install" target like GNU Makefiles normally do.

yurivict avatar Sep 26 '24 16:09 yurivict

@byrnHDF

Is it documented anywhere how to install HDFView using ANT? build.xml doesn't contain the "install" target like GNU Makefiles normally do.

The Build_HDFView.txt file has this at line 45:

From the top HDFView source code directory run: /<path to ANT executable>/ant binaryPackage

Yes, not very notable, but it is there. We do need to work on documentation. We also intend to move to Maven or something more modern for building HDFView.

byrnHDF avatar May 20 '25 12:05 byrnHDF