-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Conversation
...-selenium-test/src/test/java/org/eclipse/che/selenium/plainjava/RunPlainJavaProjectTest.java
Show resolved
Hide resolved
.get(wsPath) | ||
.orElseThrow(() -> new ServerException("Can't find a project: " + wsPath)); | ||
|
||
List<String> library = project.getAttributes().get(LIBRARY_FOLDER); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
db8cb38
to
11e5b10
Compare
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
@tsmaeder PR was updated |
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
Signed-off-by: Valeriy Svydenko <[email protected]>
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