You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by up...@apache.org on 2016/12/23 00:32:37 UTC
geode git commit: GEODE-165: Adding support for generated-src in
eclipse
Repository: geode
Updated Branches:
refs/heads/develop c5740f208 -> 0b0213080
GEODE-165: Adding support for generated-src in eclipse
Making the eclipse task depend on generating the oql source files, and
making sure that the eclipse task picks up on the generated-src
directory.
Project: http://git-wip-us.apache.org/repos/asf/geode/repo
Commit: http://git-wip-us.apache.org/repos/asf/geode/commit/0b021308
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/0b021308
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/0b021308
Branch: refs/heads/develop
Commit: 0b02130808051d3d53daf230cabaa7aff800b8a8
Parents: c5740f2
Author: Dan Smith <up...@apache.org>
Authored: Thu Dec 22 16:22:43 2016 -0800
Committer: Dan Smith <up...@apache.org>
Committed: Thu Dec 22 16:32:04 2016 -0800
----------------------------------------------------------------------
geode-core/build.gradle | 3 +++
gradle/ide.gradle | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/geode/blob/0b021308/geode-core/build.gradle
----------------------------------------------------------------------
diff --git a/geode-core/build.gradle b/geode-core/build.gradle
index 28085be..3bea42c 100755
--- a/geode-core/build.gradle
+++ b/geode-core/build.gradle
@@ -208,3 +208,6 @@ configurations {
dependencies {
classesOutput sourceSets.main.output
}
+
+tasks.eclipse.dependsOn(generateTestGrammarSource)
+
http://git-wip-us.apache.org/repos/asf/geode/blob/0b021308/gradle/ide.gradle
----------------------------------------------------------------------
diff --git a/gradle/ide.gradle b/gradle/ide.gradle
index a42b92b..8d70505 100644
--- a/gradle/ide.gradle
+++ b/gradle/ide.gradle
@@ -36,7 +36,8 @@ subprojects {
entry.path.contains('geode-web/build') ||
entry.path.contains('geode-assembly/build') ||
entry.path.contains('geode-dependencies.jar')) &&
- !entry.path.contains('generated-resources')
+ !entry.path.contains('generated-resources') &&
+ !entry.path.contains('generated-src')
}
//By default, gradle adds the java 1.8 *execution environment*, which has access restrictions on