...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
source /usr/share/doc/git-*/contrib/completion/git-completion.bash source /usr/share/doc/git-*/contrib/completion/git-prompt.sh # some versions of git it is elsewhere: # source /etc/bash_completion.d/git # Set multi-color, git-aware prompt (git branch and working dir) - customize as desired # bash(1) colors: http://www.cplusplus.com/forum/unices/36461/ # 2;33 = dark yellow # 0;31 = red # 0m = default color # \! = command history number # \w = working dir PS1='\033[2;33m# \! $(__git_ps1 "\033[0;31m(%s)\033[2;33m ")\w\n\033[2;33m#> \033[0m' |
Eclipse
If you want to use a class browser to explore C++ or Java classes in Trafodion, or if you need to debug Java code, Eclipse is a very useful tool. Run the following command on the top level of your source tree (incubator-trafodion):
Code Block | ||
---|---|---|
| ||
make eclipse |
This will create some .project files, which make it easier to import the Trafodion projects into Eclipse. Follow the instructions printed at the end of this make step. Basically, you will ask Eclipse to import external projects (identified by a .project file) in the source tree. This will result in one C++ project for the majority of the code and in several Java projects, one for each source tree of Java files we have (HBase-trx, dcs, rest, sql, and more).
If you need to install Eclipse, a good version to use is the Java version of Eclipse Mars with additional C++ tools installed via Help -> Install New Software.
Related articles
Content by Label | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...