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

Java 8 - Add powershell [de]activate scripts #188

Merged
merged 3 commits into from
Mar 6, 2025

Conversation

hinerm
Copy link
Contributor

@hinerm hinerm commented Mar 4, 2025

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Java 8 backport of #186

@hinerm
Copy link
Contributor Author

hinerm commented Mar 4, 2025

@conda-forge-admin, please rerender

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@hinerm
Copy link
Contributor Author

hinerm commented Mar 4, 2025

@conda-forge-admin, please rerender

@h-vetinari
Copy link
Member

Java 8 is a bit "in between". I haven't backported any fixes, migrations or new patch releases here, but (in contrast to java 9/10) I would accept a PR that has green CI.

@hinerm hinerm marked this pull request as draft March 5, 2025 16:00
@hinerm hinerm force-pushed the java8 branch 2 times, most recently from 593b83e to d3f8c41 Compare March 5, 2025 17:12
@hinerm hinerm marked this pull request as ready for review March 5, 2025 17:26
hinerm and others added 3 commits March 5, 2025 11:28
This allows JAVA_HOME to be [un]set as appropriate when [de]activating a
conda environment with OpenJDK.
The deactivate script should now return JAVA_HOME to its previous state
(including being unset) if and only if the activate script was run
first.
@hinerm
Copy link
Contributor Author

hinerm commented Mar 5, 2025

@h-vetinari whoops, I guess the path is different in Java 8 Windows (no lib\jvm)

It should be all good now!

@h-vetinari h-vetinari merged commit 6f55dcd into conda-forge:java8 Mar 6, 2025
8 checks passed
@hinerm hinerm deleted the java8 branch March 6, 2025 14:02
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.

3 participants