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

Allow automatic recognition of Java #259

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

RanabirChakraborty
Copy link
Member

@RanabirChakraborty RanabirChakraborty commented Dec 1, 2023

Issue: https://issues.redhat.com/browse/AMW-133

There are two variables utilized to configure the Java Development Kit (JDK) for the jws collection. The first variable, "jws_java_version," facilitates the installation of an OpenJDK with the specified version. The alternative is to employ "jws_java_home," allowing users to specify the path to their Java installation.

Before this fix, There were two scenarios - when both variables were applied or neither were applied led to complications, resulting in a malfunctioning JWS installation. Now with this fix, we have refined the collection process. Now, if "jws_java_home" is set, "jws_java_version" will be disregarded. Additionally, if a user attempts to set both variables at the same time, then an ERROR will be triggered, prompting the termination of the operation.

Copy link
Member

@guidograzioli guidograzioli left a comment

Choose a reason for hiding this comment

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

👍

@guidograzioli guidograzioli added the minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix label Dec 4, 2023
@rpelisse rpelisse merged commit 7759c09 into ansible-middleware:main Dec 14, 2023
18 checks passed
@guidograzioli guidograzioli changed the title AMW-133 [JWS] Allow automatic recognition of Java AMW-133 Allow automatic recognition of Java Jan 31, 2024
@guidograzioli guidograzioli changed the title AMW-133 Allow automatic recognition of Java Allow automatic recognition of Java Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor_changes New parameters added to modules, or non-breaking behavior changes to existing parameters; no bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants