Skip to content

Escape spaces in project path #37

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

Merged
merged 12 commits into from
Jun 13, 2020

Conversation

cstroe
Copy link
Contributor

@cstroe cstroe commented May 21, 2017

This allows scalatest-maven-plugin to run projects that have a space in their path.

In the process, I had to update the integration tests so that they run correctly (the lift integration test wasn't compiling its scala files) and properly verify that scalatest actually ran tests.

@cstroe
Copy link
Contributor Author

cstroe commented May 21, 2017

Fixes #38

@@ -426,12 +427,37 @@ private ClassLoader classLoader() {
}

private List<String> runpath() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The main fix is in this method.

@cstroe
Copy link
Contributor Author

cstroe commented May 21, 2017

@bvenners @cheeseng Reaching out to you as you seem to be the top contributors to this repository. I would appreciate if someone would review and merge this PR. Let me know if there are any questions.

cstroe referenced this pull request May 24, 2017
Remove integration tests broken after Scala upgrade, again
@cstroe
Copy link
Contributor Author

cstroe commented May 24, 2017

Adding an integration test for the fix in this PR. (They were removed in an earlier PR: #40)

@cstroe
Copy link
Contributor Author

cstroe commented May 25, 2017

@gcberger I tested version 2.0.0-SNAPSHOT and it still doesn't build project that have spaces in their path. This PR fixes the issue, and I would appreciate it if it were considered for release in 2.0.0.

@bvenners
Copy link
Contributor

@cstroe you're PR came in after we had gone through the PRs for 2.0.0, which is why it didn't get in there. Doesn't mean we can't consider it. I'll take a look at your PR tomorrow while people are trying out the SNAPSHOT.

@cstroe
Copy link
Contributor Author

cstroe commented Jun 1, 2017

@bvenners Any chance in merging this?

@brosander
Copy link

We just ran into this issue, chance of getting fix merged?

@bvenners status?

@bvenners
Copy link
Contributor

bvenners commented Oct 6, 2018

@cstroe Sorry for the long delay on this PR. Do you mind signing our CLA? It is here:

https://www.artima.com/cla/contributorsLicenseAgreement.pdf

@cstroe
Copy link
Contributor Author

cstroe commented Nov 16, 2018

@bvenners I have signed the CLA and emailed it.

@mlekena
Copy link

mlekena commented Apr 5, 2019

Just ran into this issue. Is this still on track to be merged? What would a patch be to get around this issue in the mean time??

@katrinsharp
Copy link
Collaborator

LGTM

@katrinsharp katrinsharp merged commit 36cf9ad into scalatest:master Jun 13, 2020
@cstroe cstroe deleted the allow-spaces-in-project-path branch June 14, 2020 02:03
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.

5 participants