Skip to content

Make "Build Project" complete successfully.#1242

Closed
prafullkotecha wants to merge 4 commits intoGoogleCloudPlatform:masterfrom
direkshan-digital:master
Closed

Make "Build Project" complete successfully.#1242
prafullkotecha wants to merge 4 commits intoGoogleCloudPlatform:masterfrom
direkshan-digital:master

Conversation

@prafullkotecha
Copy link
Copy Markdown

Using "IntelliJ Idea CE". Build Project fails with bunch of compilation issues. This commit simply fixes errors, but doesn't address any of the warnings.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Oct 28, 2018
@kurtisvg kurtisvg added the kokoro:run Add this label to force Kokoro to re-run the tests. label Feb 8, 2019
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Feb 8, 2019
Copy link
Copy Markdown
Contributor

@kurtisvg kurtisvg left a comment

Choose a reason for hiding this comment

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

Thanks for taking the time to submit this. I left a couple of comments that need to be fixed before we can merge.

If you prefer, please enable us to push commits to this PR and I can make the adjustments.

<dependency>
<groupId>com.google.appengine</groupId>
<artifactId>appengine-api-1.0-sdk</artifactId>
<version>RELEASE</version>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please change from RELEASE to the latest version number instead (for all dependencies).

We have a tool that incrementally updates to ensure the samples are working correctly (it's not running for this project because it isn't linked in the main pom.)

@@ -0,0 +1,28 @@
package com.example.appengine;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This class doesn't seem necessary?

@kurtisvg
Copy link
Copy Markdown
Contributor

kurtisvg commented Feb 8, 2019

There are a variety of checkstyle violations as well - please see the Resultstore link in the checks section.

@prafullkotecha
Copy link
Copy Markdown
Author

Thanks for taking the time to submit this. I left a couple of comments that need to be fixed before we can merge.

If you prefer, please enable us to push commits to this PR and I can make the adjustments.

@kurtisvg - How do I enable that?

@kurtisvg
Copy link
Copy Markdown
Contributor

kurtisvg commented Feb 8, 2019

@prafullkotecha
Copy link
Copy Markdown
Author

@kurtisvg - That is already enabled. See attached screenshot.
screen shot 2019-02-08 at 2 14 16 pm

@prafullkotecha prafullkotecha requested a review from a team February 8, 2019 19:50
@kurtisvg
Copy link
Copy Markdown
Contributor

kurtisvg commented Feb 8, 2019

@prafullkotecha What command were you using the build this that it failed? I thought maybe it had been skipped by the typical tests, but it looks like it's building correctly on the current master branch

@kurtisvg
Copy link
Copy Markdown
Contributor

kurtisvg commented Feb 8, 2019

So it looks like there are mainly two folders in this PR that were changed appengine/datastore and appengine-java8/mail. Both are able to compile fine (both locally and running in our tests) on the current version of master.

I'm going to close this and guess it was resolved in a previous commit - if you are still having issues with this please let me know so we try to troubleshoot. Thanks!

@kurtisvg kurtisvg closed this Feb 8, 2019
@prafullkotecha
Copy link
Copy Markdown
Author

I still some issues in appengine-java8/mail project. They look like copy/paste errors between appengine and appengine-java8 modules. I will create a new PR for those fixes.

@kurtisvg
Copy link
Copy Markdown
Contributor

kurtisvg commented Feb 8, 2019

Can you provide any more info on the error? How are you attempting to compile?

@kurtisvg
Copy link
Copy Markdown
Contributor

kurtisvg commented Feb 8, 2019

Ok so it looks like the pom itself didn't have the correct parent declared, so when running from the directory itself was creating an issue. I opened #1333 to address. If you can confirm this is the issue you are running into, that would be great.

@prafullkotecha
Copy link
Copy Markdown
Author

Yes. That's one of the issues. I have cloned the whole repo, and imported it as one big project, with multiple modules and module groups into intelliJ. Then, I just run Build Project command from the Build menu. I get all sorts of error, in all kinds of projects. The links between parent pom, and children poms, and grandchildren poms, all need to be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants