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

Fix for RunPlainJavaProjectTest test #11133

Merged
merged 4 commits into from
Sep 14, 2018
Merged

Fix for RunPlainJavaProjectTest test #11133

merged 4 commits into from
Sep 14, 2018

Conversation

svor
Copy link
Contributor

@svor svor commented Sep 10, 2018

Signed-off-by: Valeriy Svydenko [email protected]

What does this PR do?

Make it possible to configure folder with libraries for plain java project

What issues does this PR fix or reference?

#11110

Release Notes

Docs PR

@svor svor added kind/bug Outline of a bug - must adhere to the bug report template. status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. target/branch Indicates that a PR will be merged into a branch other than master. team/languages labels Sep 10, 2018
@svor svor self-assigned this Sep 10, 2018
@svor svor requested review from tolusha and tsmaeder September 10, 2018 07:41
.get(wsPath)
.orElseThrow(() -> new ServerException("Can't find a project: " + wsPath));

List<String> library = project.getAttributes().get(LIBRARY_FOLDER);
Copy link
Contributor

Choose a reason for hiding this comment

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

If this property is set, shouldn't the classpath have been updated before? I'm not sure why we need this code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This code executes when the property was set and if this property exists we need to update classpath to add jars from this folder.

@@ -84,16 +87,24 @@ public JavaLanguageServerLauncher(
this.notifyTransmitter = notifyTransmitter;
this.eventService = eventService;
this.projectManager = projectManager;

isStarted = new AtomicBoolean();
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use AtomicBoolean(false). While I would expect the default value to be false, I have to check the javadoc on AtomicBoolean to be sure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok

@tsmaeder tsmaeder mentioned this pull request Sep 11, 2018
19 tasks
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
@svor
Copy link
Contributor Author

svor commented Sep 13, 2018

@tsmaeder PR was updated
@vparfonov pls take a look

@svor svor merged commit 45dcbb0 into 5730_java_ls_poc Sep 14, 2018
@svor svor deleted the che-11110 branch September 14, 2018 08:50
tsmaeder pushed a commit that referenced this pull request Sep 14, 2018
@benoitf benoitf removed the status/code-review This issue has a pull request posted for it and is awaiting code review completion by the community. label Sep 18, 2018
tsmaeder pushed a commit that referenced this pull request Sep 20, 2018
tsmaeder pushed a commit that referenced this pull request Sep 26, 2018
tsmaeder pushed a commit that referenced this pull request Oct 1, 2018
@tsmaeder tsmaeder mentioned this pull request Oct 2, 2018
15 tasks
tsmaeder pushed a commit that referenced this pull request Oct 5, 2018
tsmaeder pushed a commit that referenced this pull request Oct 12, 2018
tsmaeder pushed a commit that referenced this pull request Oct 16, 2018
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
tsmaeder pushed a commit that referenced this pull request Oct 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Outline of a bug - must adhere to the bug report template. target/branch Indicates that a PR will be merged into a branch other than master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants