-
Notifications
You must be signed in to change notification settings - Fork 6
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
IDE Integration for Classpath of Maven Coordinates #15
Comments
@rwinch IDE should only be setting the env variable for the tests launch, correct? Not for the main boot app execution, right? |
I think that sounds correct. We can always relax this later on if we got it wrong.
I'd prefer it be a file because I think that this could expand to include system properties, arguments, etc. I'm also not sure about the limitations of the length for ENV variable values. |
@rwinch I think I have IDE part ready for testing for the Maven projects. How shall we proceed with letting you to try it? Are you okay trying it from an STS branch? Or would you prefer having the support in a snapshot build of STS? Gradle would require a bit extra work computing GAV on the LS side, not complicated, requires moving some things around which I'd rather postpone until we are happy with the overall TestJars support in the IDE. |
@BoykoAlex That is very exciting! I'd prefer not to have to build anything, so if there was a SNAPSHOT of STS that would be helpful.
Makes sense. Thanks |
@rwinch I pushed in the TestJars support for Eclipse and VSCode (maven projects only for now). Gradle projects is work in progress... |
When using gh-10, if there is a module foo that depends on maven coordinates example:bar and both projects are loaded in the IDE, then the classpath of the CommonsExecWebServer should be updated to point to the IDE's build output folder rather than downloading the dependency.
Then users could easily spin up a project and it's dependent projects. All getting quick feedback with the use of devtools on both the main project and the services that it consumes.
For any Gradle/Maven artifact in the workspace, the IDE would expose an environment variable named
TESTJARS_ARTIFACT_${group}_${artifact}_${version}
which points to a file location of a standard Java properties file that contains the following information:The environment variable will need to be sanitized for characters that are not allowed in ENV variables.
The text was updated successfully, but these errors were encountered: