Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning
titleObsolete

This page is obsolete. It has been replaced with http://trafodion.incubator.apache.org:

 

 

Overview of Trafodion project tools

...

Source the command completion and prompt files in via your ~/.profile or ~/.bashrc

Code Block
languagetext
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'

...

Code Block
languagebash
title~/.bashrc
collapsetrue
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
languagebash
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.

Content by Label
showLabelsfalse
max5
spacesTRAFODION
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-how-to-article" and type = "page" and space = "TRAFODION"
labelskb-how-to-article

...