Skip to content

Add ability to read configuration from jpackage lib/app/<app>.cfg file #40

@ctrueden

Description

@ctrueden

In case an app was packaged by jpackage, there will be a file in lib/app ending in .cfg of the form:

[Application]
app.classpath=$APPDIR/qupath-app-0.5.0.jar
app.mainclass=qupath.QuPath
app.classpath=$APPDIR/aircompressor-0.21.jar
...
app.classpath=$APPDIR/xmpcore-6.1.11.jar

[JavaOptions]
java-options=-Djpackage.app-version=0.5.0
java-options=-Xmx14336M

Jaunch could be enhanced to read such files and augment its JaunchConfig accordingly, to avoid needing to reiterate the same configuration in two different configuration files.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions