-
Notifications
You must be signed in to change notification settings - Fork 381
Develop in IDEA
dbeaver-devops edited this page Oct 31, 2024
·
14 revisions
- 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
- 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):
-
https://p2.dev.dbeaver.com/eclipse-repo (DBeaver and CloudBeaver 3rd party deps)
You can exit Eclipse IDE after that. You won't need it anymore.
-
https://p2.dev.dbeaver.com/eclipse-repo (DBeaver and CloudBeaver 3rd party deps)
- Launch IntelliJ IDEA
- In IntelliJ IDEA set variable
ECLIPSE_PATH
to the location where Eclipse IDE is installed (Settings->Appearance and Behavior->Path variables). - Delete legacy jsch plugin from Eclipse installation (to avoid compilation problems in IDEA)
rm <ECLIPSE_PATH>/plugins/com.jcraft.jsch_0.1.*.jar
- 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.
- Application overview
- Demo Server
- Administration
- Supported databases
- Accessibility
- Keyboard shortcuts
- Features
- Server configuration
- CloudBeaver and Nginx
- Domain manager
- Configuring HTTPS for Jetty server
- Product configuration parameters
- Command line parameters
- Local Preferences
- Team Edition Overview
- Getting started with Team Edition
- Team Edition Server Configuration
- Projects in Team Edition
- Teams in Team Edition
- Team Edition Deployment
- Roles in Team Edition
- Git integration in Team Edition
- Datasets in Team Edition
-
CloudBeaver Community
-
CloudBeaver AWS
-
CloudBeaver Enterprise
-
Deployment options
-
Development