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 path to ct.sym to be specified via a system property #296

Closed
wants to merge 1 commit into from

Conversation

fmeum
Copy link
Contributor

@fmeum fmeum commented Nov 21, 2023

When turbine is compiled into a native image, no JAVA_HOME will be available at runtime and the java.home system property won't be set. To still provide support for --release in that situation, the new turbine.ctSymPath system property can be set to give turbine the required access to ct.sym.

Work towards bazelbuild/stardoc#195 (comment)

When turbine is compiled into a native image, no JAVA_HOME will be
available at runtime and the `java.home` system property won't be set.
To still provide support for `--release` in that situation, the new
`turbine.ctSymPath` system property can be set to give turbine the
required access to `ct.sym`.
@fmeum
Copy link
Contributor Author

fmeum commented Nov 21, 2023

CC @cushon

copybara-service bot pushed a commit that referenced this pull request Nov 21, 2023
When turbine is compiled into a native image, no JAVA_HOME will be available at runtime and the `java.home` system property won't be set. To still provide support for `--release` in that situation, the new `turbine.ctSymPath` system property can be set to give turbine the required access to `ct.sym`.

Work towards bazelbuild/stardoc#195 (comment)

Fixes #296

FUTURE_COPYBARA_INTEGRATE_REVIEW=#296 from fmeum:ctsym b74452b
PiperOrigin-RevId: 584409250
@fmeum fmeum deleted the ctsym branch November 21, 2023 21:40
@fmeum
Copy link
Contributor Author

fmeum commented Nov 22, 2023

@cushon Thanks for the quick merge. I can update the version in Bazel when the Maven release is out.

@cushon
Copy link
Collaborator

cushon commented Nov 22, 2023

Thanks @fmeum! I just pushed the maven release, 0.3.1 should show up on maven central in the next couple of hours.

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.

None yet

2 participants