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

New command for compiling and running simple java project #1213

Merged
merged 1 commit into from
May 11, 2016
Merged

Conversation

svor
Copy link
Contributor

@svor svor commented May 10, 2016

The Command view:
javac-command
@vparfonov @azatsarynnyy

@@ -54,8 +56,8 @@ public String getKey() {
}

@Override
public String getValue() {
return value;
public Promise<String> getValue() {
Copy link
Member

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?

Copy link
Contributor Author

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).

Copy link
Member

Choose a reason for hiding this comment

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

I see. Thanks

@benoitf
Copy link
Contributor

benoitf commented May 10, 2016

is that ${project.classpath} shouldn't include "java" ? because for other projects it may be strange
it's more project.java.classpath or project.java-classpath

*
* @author Valeriy Svydenko
*/
public class ClasspathChangeEvent extends GwtEvent<ClasspathChangeEvent.ClasspathChangeHandler> {
Copy link
Member

Choose a reason for hiding this comment

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

ClasspathChangedEvent

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, thanks!

@svor
Copy link
Contributor Author

svor commented May 10, 2016

@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)) {
Copy link
Member

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)

@codenvy-ci
Copy link

Build finished.

2 similar comments
@codenvy-ci
Copy link

Build finished.

@codenvy-ci
Copy link

Build finished.

@vparfonov
Copy link
Contributor

ok

Signed-off-by: Valeriy Svydenko <vsvydenko@codenvy.com>
@svor svor merged commit 98471ca into master May 11, 2016
@svor svor deleted the CHE-917 branch May 11, 2016 07:32
@codenvy-ci
Copy link

Build finished.

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

Successfully merging this pull request may close these issues.

6 participants