Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ctrueden opened this issue Feb 7, 2024 · 1 comment
Labels
app:qupath enhancement New feature or request

Comments

@ctrueden
Copy link
Member

ctrueden commented Feb 7, 2024

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.

@ctrueden ctrueden added enhancement New feature or request app:qupath labels Feb 7, 2024
@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/jaunch-a-new-java-launcher-test-fiji-with-java-21/92058/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:qupath enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants