-
Notifications
You must be signed in to change notification settings - Fork 444
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
AshScriptPlugin - Missing addResidual method in script #1264
Comments
Thanks @rfranco for your bug report. This looks very much like a bug. Do you have the time to fix this? I would be very happy to merge a PR for this 😍 Feel free to ask for help 😃 |
Hello I wrote some minimal code to fix the issue. Added a new plugin and associated keys with sh template. Tested on Ubuntu 18 with Scala 2.13.1. App starts with the script as well as in openjdk:8-jre-alpine Docker image. This branch issue-1264-bugfix-refactor. Still need to add forwarder template, cygwin portability, and tests. I suggest to define some minimal specifications to all the scripts that are produced (e.g inherit or determine java launching tools, template replacements guide, main class and classpath determination). That is, outline all the specs. That way all the scripts will be in order and can be tested. Also, it is best to adopt a style guide for sh or bash scripts (e.g. this). |
Thanks a lot @archeuclid 😍
This already looks like a full fledged solution 😎 I was wondering why you duplicate the settings for Still duplicating adds a few issues.
I wouldn't care if the
I really like this idea. I have to admit by bash knowledge is limited to the things I require (which is not much). We have very confusing summary of settings hidden in the archetype cheatsheet and Java Command Line Application / Start script options section and Start script customizations. This would be a brilliant thing to merge this into a single documentation page. Or at least to have a single page that points to these different locations. |
I suggest that the start script feature should:
No more, no less. That is no adding additional bundled jvm's, reading configs from other scripts etc. It is too much. Easier if all the responsibilities are outlined and are minimal. If there is a need for additional feature - create a new starter trait with all the things. I refactored some more today. Will not PR until all the things are tested though. |
Hi, I was also receiving getting the |
Expected behaviour
Actual behaviour
Problem
It's missing the addResidual method in script
Information
1.4.1
1.3.2
MacOs
docker
rpm --version
)Docker version 19.03.2, build 6a30dfc
Alpine
The text was updated successfully, but these errors were encountered: