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

Eclipse: Add build/generated-resources/test to the classpath #2899

Merged
merged 1 commit into from Sep 8, 2017
Merged

Eclipse: Add build/generated-resources/test to the classpath #2899

merged 1 commit into from Sep 8, 2017

Conversation

zosrothko
Copy link
Contributor

@zosrothko zosrothko commented Sep 8, 2017

build/generated-resources/test needs to be added to the classpath, otherwise there is an ExceptionInInitializerError when looking for the resource /org/gradle/build-receipt.properties in org.gradle.util.GradleVersion

Context

C:\Users\fandre\Documents\git\gradle>gradlew -version


Gradle 4.2-20170827235721+0000

Build time: 2017-08-27 23:57:21 UTC
Revision: 0f1ca60

Groovy: 2.4.11
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.7.0_80 (Oracle Corporation 24.80-b11)
OS: Windows 8.1 6.3 amd64

Contributor Checklist

  • [ x] Review Contribution Guidelines
  • Sign Gradle CLA
  • Link to Design Spec for changes that affect more than 1 public API (that is, not in an internal package) or updates to > 20 files
  • Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
  • Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
  • Provide unit tests (under <subproject>/src/test) to verify logic
  • Update User Guide, DSL Reference, and Javadoc for public-facing changes
  • [ x] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation including proper use of @since and @Incubating annotations for all public APIs
  • Recognize contributor in release notes

build/generated-resources/test needs to be added to the classpath, otherwise there is an `ExceptionInInitializerError` when looking for the resource `/org/gradle/build-receipt.properties` in `org.gradle.util.GradleVersion'
@zosrothko zosrothko changed the title Add build/generated-resources/test to the classpath Eclipse: Add build/generated-resources/test to the classpath Sep 8, 2017
@oehme
Copy link
Contributor

oehme commented Sep 8, 2017

I guess you are the official guard of the eclipse build :) Thanks @zosrothko

@oehme oehme merged commit 74769e8 into gradle:master Sep 8, 2017
@zosrothko zosrothko deleted the patch-1 branch September 8, 2017 15:00
@zosrothko
Copy link
Contributor Author

@oehme "I guess you are the official guard of the eclipse build"... In some ways...
By the way, building Gradle with Eclipse fails du to this issue on EJC ...so I am quite bit stucked in debugging Gradle's extension I made for the native plugin/model

@oehme
Copy link
Contributor

oehme commented Sep 8, 2017

That sucks. No way to get IntelliJ installed on your workstation?

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