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

Define addJava in ash-template #944

Merged
merged 2 commits into from
Mar 16, 2017
Merged

Define addJava in ash-template #944

merged 2 commits into from
Mar 16, 2017

Conversation

muuki88
Copy link
Contributor

@muuki88 muuki88 commented Feb 19, 2017

Added tests to the initial code from #942 and fixed a bug in the bashScriptDefines.

Initial PR text

Previously, there was no addJava function defined in the ash-template.
This resulted in warnings when the ash script ran because template
declares expects the function to be defined.

Now, the addJava function is defined. It adds options to java_opts. As a
convenience, if JAVA_OPTS is set then it is added to java_opts. This
makes the ash script behave more like the bash script. The result is
then passed to java at the end of the script.

Previously, there was no addJava function defined in the ash-template.
This resulted in warnings when the ash script ran because template
declares expects the function to be defined.

Now, the addJava function is defined. It adds options to java_opts. As a
convenience, if JAVA_OPTS is set then it is added to java_opts. This
makes the ash script behave more like the bash script. The result is
then passed to java at the end of the script.
@muuki88 muuki88 merged commit 5b696b9 into master Mar 16, 2017
@muuki88 muuki88 deleted the implement-add-java branch March 16, 2017 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants