★ wanayoo — archive 1999 https://github.com/microsoft/vscode-java-debug/issues/93Nouvelle recherche | Portail wanayoo
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

Support set extra classpath with maven project #93

Open
jopbrown opened this issue Oct 13, 2017 · 7 comments
Open

Support set extra classpath with maven project #93

jopbrown opened this issue Oct 13, 2017 · 7 comments
Assignees
Milestone

Comments

@jopbrown
Copy link

@jopbrown jopbrown commented Oct 13, 2017

I need to add an extra classpath based on a maven project.
If I add the extra classpath to classPaths, the main class can't be found.

It seems launch option classPaths will overwrite classpaths automatically resolved from maven project.

Dose the debugger support set extra classpath and preserve automatically resolved classpaths just like eclipse?
2017-10-13_150917

@akaroml
Copy link
Member

@akaroml akaroml commented Oct 16, 2017

Please see if we can inherit whatever classpath from Maven project and append what's specified in launch.json instead of replacing.

@andxu
Copy link
Contributor

@andxu andxu commented Nov 9, 2017

The extra class path is reasonable, but the removed class path is not reasonable, I will impl this feature in 0.4.0

@andxu
Copy link
Contributor

@andxu andxu commented Dec 7, 2017

Because of the schedule change, I will move this feature to backlog

@andxu andxu added the backlog label Dec 7, 2017
@andxu andxu removed this from the 0.3.0 milestone Dec 13, 2017
@andxu andxu added this to the Backlog milestone Mar 5, 2018
@andxu
Copy link
Contributor

@andxu andxu commented Jun 19, 2018

Currently classPaths settings in launch.json will override the class paths provided by project, we need to change the behavior by combine these two sources together.

@andxu andxu added the voting label Jun 20, 2018
@studro
Copy link

@studro studro commented Jun 2, 2020

Is there any plan to revisit this issue? I have a project configured in a strange way that runs with custom classpath entries (Gradle build output dirs) in Eclipse and IntelliJ. I'd like to be able to add these entries to the classpath in the launch.json file without having to hack at the generated .classpath file.

@ErwanDL
Copy link

@ErwanDL ErwanDL commented Jun 8, 2020

I would also very much like to see this feature implemented, I need to add extra classpath entries to a Maven project without overriding the project's default ones. This feature would help a ton 😃

@akaroml
Copy link
Member

@akaroml akaroml commented Jun 17, 2020

@studro @ErwanDL Thanks for reaching out.

@testforstephen would you please take over this issue take a further look?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
5 participants
You can’t perform that action at this time.