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

Deploy to Fiji #577

Merged
merged 11 commits into from
Apr 18, 2024
Merged

Deploy to Fiji #577

merged 11 commits into from
Apr 18, 2024

Conversation

skalarproduktraum
Copy link
Member

This PR adds new Gradle tasks to help with deployment to our Fiji update site.

ctrueden and others added 5 commits April 18, 2024 12:57
* The task now stores Fiji.app into the build folder by default.

* We eschew the ImageJ launcher now in favor of calling the java
  executable associated with the Gradle process's JVM. The arguments
  used are designed to mirror as closely as possible what the ImageJ
  launcher feeds to libjvm when launching Fiji, except that
  machine-specific arguments are left commented out.
We will add more tasks to this file shortly.
* fijiDownload downloads fiji-nojre.zip on demand.
* fijiUnpack unpacks it into build/fiji/Fiji.app.
* fijiUpdate updates the build/fiji/Fiji.app to the latest.
* fijiPopulate copies sciview+deps into build/fiji/Fiji.app.
* fijiUpload uploads Fiji.app's sciview+deps to the sciview update site.
* fijiClean deletes build/fiji/Fiji.app.
* fijiDistClean deletes fiji-nojre.zip and build/fiji/Fiji.app.

The logic of fijiPopulate was already there as populateFiji,
but was renamed for consistency of a common prefix.

Co-authored-by: Ulrik Guenther <[email protected]>
The almighty Gradle handles all of these functions for us now.
Run `./gradlew tasks` and check the ones beginning with `fiji`.
Copy link
Member

@ctrueden ctrueden left a comment

Choose a reason for hiding this comment

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

It's awesome. Big step forward for easier Fiji deployment. Thanks, me!

@ctrueden ctrueden merged commit a31b1d0 into main Apr 18, 2024
3 of 4 checks passed
@ctrueden ctrueden deleted the deploy-to-fiji branch April 18, 2024 16:29
@skalarproduktraum
Copy link
Member Author

@ctrueden
image

No, but seriously - this was actually great and fun work together 🤝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants