Skip to content

Add a suffix to the script file to avoid conflict with library name #3647

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yadavan88
Copy link
Contributor

Fixes #3595

Note. Could not add fallaback for the runner name

@@ -13,7 +13,7 @@ object AmmUtil {
case i => fileName.take(i)
}

(pkg, Name(wrapper))
(pkg, Name(s"${wrapper}_scalacli_wrapper"))
Copy link
Member

Choose a reason for hiding this comment

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

We were also thinking about adding a random suffix, but that would make it impossible to run the main class by name. So instead we did a named that should not interfere with any library. This might be breaking so we also wanted to have a fallback to add the suffix if someone is using the old one. @Gedochao any idea where that can be?

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

Successfully merging this pull request may close these issues.

Broken compilation when script name equals to library name
2 participants