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

Remove jars when updating packages #1155

Open
rbouckaert opened this issue Jun 24, 2024 · 1 comment
Open

Remove jars when updating packages #1155

rbouckaert opened this issue Jun 24, 2024 · 1 comment

Comments

@rbouckaert
Copy link
Member

When installing a new package, currently any jar files in the lib directory remain there if not overwritten, and get loaded when BEAST, BEAUti etc start. This can cause problems when file names change between versions (e.g. MyPackage.addon.jar becomes MyPackage.package.jar) and can result in hard to diagnose problems.
Therefore, when updating a package to a new version, the lib directory should be removed before unzipping the new package file.

@rbouckaert
Copy link
Member Author

This is probably only an issue for installation by hand, or using ant for some packages, since the whole package directory gets deleted (including the lib directory) when updating a package.

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

No branches or pull requests

1 participant