Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gemma-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</program>
</programs>
<!-- this allows Log4j 2 to lookup for Log4j 1.2 configuration -->
<extraJvmArguments>${jvmOptions}</extraJvmArguments>
<extraJvmArguments>-Djava.library.path=${hdf5.libDir} ${jvmOptions}</extraJvmArguments>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very bad idea. It will be included in the Appassembler package and will literally break deployment.

If you need to make testing easier, you can add a line like this to a .env or .envrc file:

export JAVA_OPTS="-Djava.library.path=/path/to/hdf5-1.12.3/lib"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only place we pass this is in testJvmOptions because building and testing is done on the same machine.

<!-- Gemma CLI extensions can be dropped in that folder -->
<endorsedDir>contrib</endorsedDir>
</configuration>
Expand Down