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

Stirling PDF #282169

Closed
bzmrgonz opened this issue Jan 19, 2024 · 6 comments · Fixed by #283305
Closed

Stirling PDF #282169

bzmrgonz opened this issue Jan 19, 2024 · 6 comments · Fixed by #283305

Comments

@bzmrgonz
Copy link

Project description
https://github.com/Stirling-Tools/Stirling-PDF

Tools to manipulate pdf files.

Metadata


Add a 👍 reaction to issues you find important.

@TomaSajt
Copy link
Contributor

I'll see what I can do, should be good practice working with Gradle apps

@bzmrgonz
Copy link
Author

I'll see what I can do, should be good practice working with Gradle apps

Thank you Tom, much appreciated, best of luck.

@TomaSajt
Copy link
Contributor

By the way, I have pretty much succeeded in packaging it, and it seemed to run fine. Just forgot about it a little.
The only issue with the package currently is that jar files are created non-deterministically by default (timestamps are not set to a fixed time). After using the fixup hook made for this situation (unzip and rezip the jar file) springboot doesn't recognise its files anymore, which is really weird. So it stayed non-deterministic.

So I have two options: A) use the non-deterministic package or B) use the prebuilt jar from GitHub.

The latter one is much less complex to work with.

@bzmrgonz
Copy link
Author

bzmrgonz commented Jan 23, 2024

See if this helps you.. https://discourse.nixos.org/t/overriding-the-jdk-for-gradle-in-a-nix-flake/36541/2 or this discussion from the top (concerning java apps)... #278518

@TomaSajt
Copy link
Contributor

See if this helps you.. https://discourse.nixos.org/t/overriding-the-jdk-for-gradle-in-a-nix-flake/36541/2 or this discussion from the top (concerning java apps)... #278518

Thanks for the pointers, though the second thing linked is my own post :)

I finally managed to figure out how to fix the jar timestamps, so I'll open a PR adding the package

@bzmrgonz
Copy link
Author

bzmrgonz commented Feb 7, 2024

Thank you for your help @TomaSajt . Much appreciated.. sorry for the delay. had a rough week last and it spilled into this one. Looking forward to using stirling-pdf on nixos.

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

Successfully merging a pull request may close this issue.

2 participants