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
Update dependencies #21
Comments
I don't think I understand you mean. You normally ship your application with just the manifest and the launcher, and the manifest is updated every time. If you also ship with your dependencies, they will be updated as soon as you provide newer versions of them. What do you mean by "update would automatically updated the manifest file?". As far as I can understand, that already happens :) |
in the manifest file are all the libs included that should be updated, if i now add a file that should be included in updates it should be able to add them even if the client does not now them |
Ah, so even though it downloads the new manifest, you only get updates of the libraries mentioned in the old manifest? That should be easy to fix. I'll have a look tonight and report back. |
for me it seems so... |
Looking at the code (and the intended behavior), this is exactly how it is designed. You can see that it downloads the new manifest, and iterates over the files found in the new manifest. This should result in all new files being downloaded, regardless of whether they were previously available or not. However, it doesn't currently remove unneeded files - can that be what's causing the issue for you? |
Version 1.0.12 should hit Maven Central any time now :) I'm anxious to hear back from you about this issue as I can't seem to recreate it. Let me know when you have something. |
now i tested a bit with the 1.0.12 version. it updated fine until i added a new library. the "create-manifest" task included it into the manifest but the client did not update its own manifest it still updated the already included libs but did not add the new ones and generally it did not update the timestamp. |
When you say the manifest is not updated, you're referring to the manifest in the cache dir, right? The manifest inside the jar is never updated, but the manifest saved in the cache dir should absolutely update. If this is the case, I'll investigate further. |
i am refering to the manifest in the cachdir, not the one in the jar, and for me it seemed not like it has been updated ... |
OK, thanks for getting back to me. I'll investigate further tonight and let you know what I find. |
I can confirm that I see the same behavior. Working on it now :) |
I found the issue - when one of the manifests are missing the timestamp, the |
If you time - can you check if this works as expected with version 1.0.13? |
okay now i tested with the 1.0.13 version. now it detects the files that should be included and uploads them to the scp-server but the entry |
Sorry for taking so long again. The I'm setting up a test case locally in the mean time. |
I found the bug and have committed a fix to 1.0.14-SNAPSHOT. Let me know if you have a chance to test it :) |
Hi,
next idea: it would be cool if the updater would automatically update the manifest file so if we update a dependency library or other files that they could be included via a regular update and the application must not be installed completely new.
The text was updated successfully, but these errors were encountered: