Skip to content

Develop in IDEA

Serge Rider edited this page Mar 22, 2024 · 18 revisions

Eclipse RCP launcher generator for IDEA

Instructions

  • Clone repositories
git clone https://github.com/dbeaver/dbeaver-common 
git clone https://github.com/dbeaver/dbeaver
git clone https://github.com/dbeaver/cloudbeaver
git clone https://github.com/dbeaver/idea-workspace-dbeaver
git clone https://github.com/dbeaver/idea-workspace-cloudbeaver
git clone https://github.com/dbeaver/idea-rcp-launch-config-generator
  • Create working directory
mkdir "work"
mkdir "work/cloudbeaver"
  • Build product with maven (it is needed to generate sources and assemble TypeScript frontend).
    See prerequisites in Build-and-deploy
cd cloudbeaver/deploy
./build.sh
  • Download and unpack Eclipse IDE from https://www.eclipse.org/downloads/packages/ (we recommend to use Eclipse for RCP and RAP developers package)
  • Launch Eclipse IDE and install all dependencies (use Help->Install new software):
  • Launch IDEA
  • Set variable ECLIPSE_PATH to the location where Eclipse IDE is installed (Settings->Appearance and Behavior->Path variables).
  • Open IDEA project (e.g. idea-workspace-cloudbeaver)
  • Build project (CTRL+F9)
  • Execute run configuration Generate CB CE dev props (it will generate RCP config files)
  • Execute run configuration Run CB CE (it will launch CloudBeaver CE)

Now you can debug code in IDEA, modify Java classes on fly, etc.

Notes

CloudBeaver Documentation

Clone this wiki locally