You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2019/09/13 22:57:17 UTC
[kudu] branch master updated (b08e806 -> 36d7e90)
This is an automated email from the ASF dual-hosted git repository.
adar pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git.
from b08e806 [java] Disable install of unpublished jars
new 32f622b [macos] add .DS_Store entry into .gitignore
new 36d7e90 [docs] Kudu source code indexing in Eclipse
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.gitignore | 3 +++
README.adoc | 13 +++++++++++++
2 files changed, 16 insertions(+)
[kudu] 01/02: [macos] add .DS_Store entry into .gitignore
Posted by ad...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 32f622b4075f9a221c9e376c01c2db9303dacf2b
Author: Alexey Serbin <al...@apache.org>
AuthorDate: Thu Sep 12 16:45:06 2019 -0700
[macos] add .DS_Store entry into .gitignore
Change-Id: I60e4831d4fb58c8e94a7748b799ba98cda13ba5d
Reviewed-on: http://gerrit.cloudera.org:8080/14226
Reviewed-by: Adar Dembo <ad...@cloudera.com>
Tested-by: Kudu Jenkins
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitignore b/.gitignore
index 9271774..9dcc4f7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -32,6 +32,9 @@ oprofile_data
*.iml
README.html
+# macOS-specific cruft
+.DS_Store
+
# VIM/emacs/other editors stuff
*.swp
*.autosave
[kudu] 02/02: [docs] Kudu source code indexing in Eclipse
Posted by ad...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit 36d7e909539e5f0f70a9460dde31d0bba58089c8
Author: Volodymyr Verovkin <ve...@cloudera.com>
AuthorDate: Fri Sep 6 15:28:15 2019 -0700
[docs] Kudu source code indexing in Eclipse
Added alternative recommendation to deal with Kudu source code indexing in Eclipse.
Change-Id: Ia214e536ff3a7ddafb3ab969b50ed5f97f4c725a
Reviewed-on: http://gerrit.cloudera.org:8080/14193
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <ad...@cloudera.com>
---
README.adoc | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/README.adoc b/README.adoc
index 1c3352f..bad43b2 100644
--- a/README.adoc
+++ b/README.adoc
@@ -429,6 +429,18 @@ With this exclusion, the only false positives (shown as "red squigglies") that
CDT presents appear to be in atomicops functions (`NoBarrier_CompareAndSwap` for
example).
+Another way to approach enormous source code indexing in Ecplise is to get rid of
+unnecessary source code in "thirdparty/src" directory right after building code
+and before opening project in Eclipse. You can remove all source code except
+hadoop, hive and sentry directories.
+Additionally, if you encounter red squigglies in code editor due to
+Eclipse's poor macro discovery, you may need to provide Eclipse with preprocessor
+macros values, which it could not extract during auto-discovery.
+Go to "Project Explorer" -> "Properties" -> "C/C++ General" ->
+"Preprocessor Include Paths, Macros, etc" -> "Entries" tab -> Language "GNU C++" ->
+Setting Entries "CDT User Setting Entries" -> button "Add"
+-> choose "Preprocessor Macro" [3]
+
Another Eclipse annoyance stems from the "[Targets]" linked resource that Eclipse
generates for each unit test. These are probably used for building within Eclipse,
but one side effect is that nearly every source file appears in the indexer twice:
@@ -438,6 +450,7 @@ on writing code, though it may affect your ability to build from within Eclipse.
1. https://cmake.org/pipermail/cmake-developers/2011-November/014153.html
2. https://public.kitware.com/Bug/view.php?id=15102
+3. https://www.eclipse.org/community/eclipse_newsletter/2013/october/article4.php
== Export Control Notice