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

SA shares packages with core BEAST classes #1

Open
tgvaughan opened this issue Feb 25, 2016 · 0 comments
Open

SA shares packages with core BEAST classes #1

tgvaughan opened this issue Feb 25, 2016 · 0 comments

Comments

@tgvaughan
Copy link
Contributor

Historically it seems that this was the done thing, but it can easily lead to problems due to the way that all classes loaded by BEAST have to share the same namespace. If someone else adds a class to their BEAST add-on that happens to have the same name (and be in the same package) as one of yours then BEAST will refuse to load either one of the add-ons. The simple fix is to move all of your packages into a root package which you have good reason to believe is unique (at least within the BEAST world) - something like sampledancestor should do it.

@tgvaughan tgvaughan changed the title SA share packages with core BEAST classes SA shares packages with core BEAST classes May 8, 2017
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