Skip to content

dbeaver/idea-rcp-launch-config-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eclipse RCP launcher generator for IDEA

Instructions

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

Configuration

This tool generates the dev.properties and config.ini files needed to run the project in the dev environment.

Accepts the following required parameters:

Parameter Description
-config Path to file with configuration
-eclipse.version Version of eclipse(use ${eclipse-version} for maven version)
-productFile Path to .product file
-projectsFolder Path to projects folder
-eclipse Path to folder with eclipse and other dependencies, should be the same The same as ECLIPSE_PATH in IDEA preferences(optional, ${projectsFolder}/../dbeaver-workspace will be used if not specifed)
-output Place for result files
-testBundles Bundles required for launching unit tests

For example, the command to create files for CB CE:

./eclipse-rcp-launcher -productFile $PROJECTS_DIR$/cloudbeaver/server/product/web-server/CloudbeaverServer.product -projectsFolder $PROJECTS_DIR$ -eclipse $ECLIPSE_PATH$ -output $PROJECT_DIR$/../eclipse/workspace/.metadata/.plugins/org.eclipse.pde.core/CloudbeaverServer.product'

Configuration file:

featuresPaths=dbeaver/features;
bundlesPaths=\
  dbeaver-common/modules;\
  dbeaver/plugins;
repositories=\
  https://p2.dev.dbeaver.com/eclipse-repo/;\
  https://download.eclipse.org/elk/updates/releases/0.8.1/;

featuresPaths: list of paths to Eclipse features folders
bundlesPaths: list of paths to Eclipse bundles folders repositories: list of repositories used to download third-party bundles from

Preconfigured file rcp-gen.properties reside in repository idea-workspace-dbeaver

Note: Technically this tool should work with any Eclipse RCP, not just dbeaver or cloudbeaver.

About

Eclipse RCP launch configuration generator for IDEA

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages