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

IDE-4317 give a fixed name for gradle watch launch configuration #3686

Closed
wants to merge 3 commits into from

Conversation

jtydhr88
Copy link
Collaborator

a long task name will cause error during buildship persisting configuration

@lrbladejenkins
Copy link
Collaborator

Source Format Successful on liferay-ide folder

@jtydhr88
Copy link
Collaborator Author

@Camork can you open one buildship issue and make some contribution on it? thanks @lily94299570 to find this problem as well

@lrbladejenkins
Copy link
Collaborator

Test failed on LAX linux server on 140e0e7

link to jenkins

Test Report

Console output

@lrbladejenkins
Copy link
Collaborator

Source Format Successful on liferay-ide folder

@lrbladejenkins
Copy link
Collaborator

Test failed on LAX linux server on 68d82cd

link to jenkins

Test Report

Console output

@lrbladejenkins
Copy link
Collaborator

Functional Tests build Failed.
Test Failed on Jenkins http://ide-build-1:9090/job/Functional-Tests-Checker/ on this commit 140e0e7 on build 416

https://testing-liferayide.wedeploy.io/record/items.html

@lrbladejenkins
Copy link
Collaborator

Integration Tests Build Failed.
Test Failed on Jenkins http://ide-build-1:9090/job/Integration-Tests-Checker/ on this commit 140e0e7 on build 373

https://testing-liferayide.wedeploy.io/record/items.html

@lrbladejenkins
Copy link
Collaborator

Integration Tests Build Successful.
See Jenkins http://ide-build-1:9090/job/Integration-Tests-Checker/ on this commit 68d82cd on build 375

@lrbladejenkins
Copy link
Collaborator

Functional Tests build Failed.
Test Failed on Jenkins http://ide-build-1:9090/job/Functional-Tests-Checker/ on this commit 68d82cd on build 418

https://testing-liferayide.wedeploy.io/record/items.html

Copy link
Owner

@gamerson gamerson left a comment

Choose a reason for hiding this comment

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

Hey @Camork Can you the requested changes?

Also your 2nd commit doesn't have a ticket number on it. Can you rewrite it to have the ticket number?

Thanks

@@ -196,6 +199,33 @@ public static void runGradleTask(IProject project, String[] tasks, String[] argu
launchConfigurationWC.launch(ILaunchManager.RUN_MODE, monitor);
}

public static void runGradleTask(
Copy link
Owner

Choose a reason for hiding this comment

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

This method is very very close to another method in this same class. can you merge those two methods into one and support both functionality?

Copy link

Choose a reason for hiding this comment

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

done

@@ -50,7 +52,7 @@ public void consolesAdded(IConsole[] consoles) {
if ("GradleConsole".equals(consoleClass.getSimpleName())) {
String consoleName = console.getName();

if (consoleName.contains("watch")) {
if (consoleName.startsWith(LiferayGradleWorkspaceProject.WATCH_LAUNCH_CONFIGURATION_NAME)) {
Copy link
Owner

Choose a reason for hiding this comment

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

This constant shouldn't be in this class. The "RemoveOldWatchConsoleListener" class shouldn't know anything about "LiferayGradleWorkspaceProject". So lets refactor this to a constants class.

@Camork Camork force-pushed the IDE-4317 branch 2 times, most recently from 260dbe9 to 69f641d Compare October 23, 2018 02:36
@lrbladejenkins
Copy link
Collaborator

Test failed on LAX linux server on 260dbe9

link to jenkins

Test Report

Console output

@lrbladejenkins
Copy link
Collaborator

Source Format Successful on liferay-ide folder

@lrbladejenkins
Copy link
Collaborator

Test failed on LAX linux server on 69f641d

link to jenkins

Test Report

Console output

@lrbladejenkins
Copy link
Collaborator

Source Format Successful on liferay-ide folder

@lrbladejenkins
Copy link
Collaborator

Functional Tests build Failed.
Test Failed on Jenkins http://ide-build-1:9090/job/Functional-Tests-Checker/ on this commit 69f641d on build 422

https://testing-liferayide.wedeploy.io/record/items.html

@lrbladejenkins
Copy link
Collaborator

Test failed on LAX linux server on 734d9d0

link to jenkins

Test Report

Console output

@gamerson
Copy link
Owner

Pull request submitted to #3692. See changes here.

:octocat: Sent from GH.

@gamerson gamerson closed this Oct 23, 2018
@lrbladejenkins
Copy link
Collaborator

Integration Tests Build Successful.
See Jenkins http://ide-build-1:9090/job/Integration-Tests-Checker/ on this commit 734d9d0 on build 382

@lrbladejenkins
Copy link
Collaborator

Functional Tests build Failed.
Test Failed on Jenkins http://ide-build-1:9090/job/Functional-Tests-Checker/ on this commit 734d9d0 on build 424

https://testing-liferayide.wedeploy.io/record/items.html

@Camork Camork deleted the IDE-4317 branch October 24, 2018 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants