Skip to content
Svein Arne Ackenhausen edited this page May 16, 2015 · 17 revisions

Prerequisites

As OpenIDE is built on Microsofts .Net platform you need to have either Microsoft .Net or Xamarin's Mono runtime installed. It will run under the Linux, Windows and MacOSX platforms.

Requirements:

  • .Net/Mono runtime
  • Python
  • On OSX

(installing wmctrl on linux and osx gives improved window focus handling)

Installation

You can either build it from source or you can simply get the latest binary version:

  1. Clone this OpenIDE.binaries repository (https://github.com/continuoustests/OpenIDE.binaries.git)
  2. Add the repository path to the $PATH environment variable
  3. On OSX
    • run oi conf interpreter.exe=mono -g to have .exe files handled by mono
    • run oi conf oi.fallbackmode=disabled -g to remove fallback X11 stuff
  4. Go to a terminal window and write the command "oi help" to see a list of available commands

Setting up bash completion

Create file name oi in /etc/bash_completion.d with the following contents

_oi()
{
    local cur prev opts word words
    COMPREPLY=()
        words="${COMP_WORDS[@]:1}"
    cur="${COMP_WORDS[COMP_CWORD]}"
    prev="${COMP_WORDS[COMP_CWORD-1]}"
    opts=$(oi get-commands ${words})

        if [[ "${opts}" != "" ]] ; then
                COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
                return 0
        fi
}
complete -F _oi -o default oi

If you are using zsh put this in your .zshrc:

autoload bashcompinit
bashcompinit
source /etc/bash_completion.d/oi

Setting up your editor

To have OpenIDE integrated to your editor go through the setup for you particular editor:

Clone this wiki locally