microsoft / microsoft/java-debug
[major] [bug] Gradle projects add test compile path in the launcher configuration
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 409
- Forks
- 204
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 4
Description
Run the attached project, and when checking the arg file, we can see that the bin/test is added into class path which cause issues when there are different resource files for testing purpose in applications.
-cp "/Users/home/micrometer-demo/bin/main:/Users/home/micrometer-demo/bin/test:...
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the attached micrometer-demo.zip Gradle project and inspecting the generated launcher argument file. Trace where the class path containing bin/main and bin/test is assembled; done means the test compile path is not added when launching the application, so test-only resources no longer interfere.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100