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

Feature/release prep #1

Merged
merged 3 commits into from Nov 30, 2015
Merged

Feature/release prep #1

merged 3 commits into from Nov 30, 2015

Conversation

uschi2000
Copy link
Contributor

Robert Fink added 3 commits November 28, 2015 22:36
…seline expectations

- Some modifications to Gradle plugin configuration in sub projects
- No code changes other than updating of copyright headers
@@ -1 +0,0 @@
org.eclipse.jdt.apt.genSrcDir=.generated
Copy link
Contributor

Choose a reason for hiding this comment

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

This made the generated source go to .generated instead of generated_src, which I understood to be consistent with IntelliJ.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd just leave it to the processors plugin to decide where generated sources should go -- it defaults to generated_src. Since version 0.2.2, baseline has better out-of-the-box compatibility with the processors plugin, so this file is no longer needed.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is an eclipse default, not a processors plugin default.

Sent from my iPhone

On Nov 29, 2015, at 2:39 PM, Robert Fink <notifications@github.commailto:notifications@github.com> wrote:

In .baseline/eclipse/static/dotfile.settings/org.eclipse.jdt.apt.core.prefshttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_palantir_http-2Dremoting_pull_1-23discussion-5Fr46096843&d=CwMCaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=Vp81aOxWZvuVgVK_wp-VF3pIYG92B19LcCw6XKeYC0U&m=bBjvBb2zbbksX47nVTf3lWuPPBc4luW3AU5KoQhCOlw&s=sWXOBfz8fu773bNlHzEM4Mu2g5WP1wjfC-cXoqejCio&e=:

@@ -1 +0,0 @@
-org.eclipse.jdt.apt.genSrcDir=.generated

I'd just leave it to the processors plugin to decide where generated sources should go -- it defaults to generated_src. Since version 0.2.2, baseline has better out-of-the-box compatibility with the processors plugin, so this file is no longer needed.


Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_palantir_http-2Dremoting_pull_1_files-23r46096843&d=CwMCaQ&c=izlc9mHr637UR4lpLEZLFFS3Vn2UXBrZ4tFb6oOnmz8&r=Vp81aOxWZvuVgVK_wp-VF3pIYG92B19LcCw6XKeYC0U&m=bBjvBb2zbbksX47nVTf3lWuPPBc4luW3AU5KoQhCOlw&s=a2TXJB21FFFXG7wo5nxMA0ienIdZaYIMWSHy-TSS0og&e=.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, even better then?

Copy link
Contributor

Choose a reason for hiding this comment

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

The point was to make the intellij and eclipse setups closer.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, the processors plugin takes care of this: https://github.com/palantir/gradle-processors/blob/master/src/main/groovy/org/inferred/gradle/ProcessorsPlugin.groovy

project.processors {
      // Used by Eclipse and IDEA
      sourceOutputDir = 'generated_src'

      // Used by IDEA (Eclipse does not compile test sources separately)
      testSourceOutputDir = 'generated_testSrc'
    }

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Happy to override to 'generated' if you prefer?

@markelliot
Copy link
Contributor

ok, good with this too.

uschi2000 added a commit that referenced this pull request Nov 30, 2015
@uschi2000 uschi2000 merged commit 7761576 into develop Nov 30, 2015
@uschi2000 uschi2000 deleted the feature/release-prep branch November 30, 2015 23:04
@markelliot markelliot mentioned this pull request Jun 2, 2016
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.

None yet

2 participants