Skip to content

Issue #17766 - change classpath from command line to environment variable when forking #24320

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

Closed
wants to merge 3 commits into from

Conversation

cquoss
Copy link

@cquoss cquoss commented Dec 3, 2020

This should fix issue #17766. Please take into account that this solution would append to any CLASSPATH env var already provided in configuration.
Another solution would be to simply leave the provided classpath env var as it is in such cases.
Then the caller would have to include all maven related classpath items.
In either case an amendment of the goal documentation should be taken into consideration.
Please guide me on how to do so if you find this useful.

Regards

Clemens Quoß

@pivotal-issuemaster
Copy link

@cquoss Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

@pivotal-issuemaster
Copy link

@cquoss Thank you for signing the Contributor License Agreement!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 3, 2020
@philwebb philwebb added the for: team-attention An issue we'd like other members of the team to review label Dec 4, 2020
@philwebb
Copy link
Member

philwebb commented Jan 8, 2021

We discussed this today as a team and we've decided that unfortunately there are too many downsides to used the environment variable. We think the pathing jar is the best long term solution as it will work with both forked and non-forked processes. We'll leave #17766 open to track that.

Thanks anyway for the idea and the PR.

@philwebb philwebb closed this Jan 8, 2021
@philwebb philwebb added status: declined A suggestion or change that we don't feel we should currently apply and removed for: team-attention An issue we'd like other members of the team to review status: waiting-for-triage An issue we've not yet triaged labels Jan 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: declined A suggestion or change that we don't feel we should currently apply
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants