-
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
New command for compiling and running simple java project #1213
Conversation
@@ -54,8 +56,8 @@ public String getKey() { | |||
} | |||
|
|||
@Override | |||
public String getValue() { | |||
return value; | |||
public Promise<String> getValue() { |
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.
Can you explain why did you do these changes?
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.
The process of the configuring command line should be asynchronous, because some providers send request to the server for getting value (f.e. getting classpath).
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.
I see. Thanks
is that ${project.classpath} shouldn't include "java" ? because for other projects it may be strange |
* | ||
* @author Valeriy Svydenko | ||
*/ | ||
public class ClasspathChangeEvent extends GwtEvent<ClasspathChangeEvent.ClasspathChangeHandler> { |
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.
ClasspathChangedEvent
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, thanks!
@benoitf Make sense, I think ${project.java.classpath} will be ok. |
} | ||
|
||
String languageAttribute = currentProject.getAttributeValue(Constants.LANGUAGE); | ||
if (Strings.isNullOrEmpty(languageAttribute) || !Constants.JAVA_ID.equals(languageAttribute)) { |
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.
the same to #1213 (comment)
Build finished. |
2 similar comments
Build finished. |
Build finished. |
ok |
Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
Build finished. |
The Command view:

@vparfonov @azatsarynnyy