Coder Social home page Coder Social logo

lxhandsome / idea-rcp-launch-config-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dbeaver/idea-rcp-launch-config-generator

0.0 0.0 0.0 195 KB

Eclipse RCP launch configuration generator for IDEA

License: Apache License 2.0

Shell 0.33% Java 99.30% Batchfile 0.37%

idea-rcp-launch-config-generator's Introduction

Eclipse RCP launcher generator for IDEA

Prerequisites

Before proceeding with building DBeaver, ensure that your system meets the following prerequisites:

  • JDK 17 or higher: DBeaver uses OpenJDK 17 as the default Java Development Kit. Make sure you have JDK 17 or a newer version installed.
  • Apache Maven 2.9.5 or higher: This is required for managing the project's build. You can download it from the Apache Maven website.
  • Git: You need to install Git to clone the DBeaver repository. If you have not already, visit the official Git website for download and installation instructions.
  • Internet Access: Required for downloading dependencies and other necessary components during the build process.

How to generate IDEA workspace

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

Manual launch Configuration (Optional information)

This tool generates the dev.properties and config.ini files needed to run the project in the dev environment, additionally it creates IDEA configuration in (output folder)/idea-configuration.

Accepts the following required parameters:

Parameter Description
-config Path to file with configuration
-eclipse.version Version of eclipse(use ${eclipse-version} for maven version)
-projectsFolder Path to projects folder
-eclipse Path to the 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

Configuration file example:

featuresPaths=\
  dbeaver/features;
bundlesPaths=\
  dbeaver-common/modules;\
  dbeaver/plugins;
repositories=\
  https://p2.dev.dbeaver.com/eclipse-repo/;\
  https://download.eclipse.org/releases/${eclipse-version}/;
testBundles=\
  org.junit;\
  org.mockito.mockito-core;\
  junit-jupiter-api;\
  org.opentest4j
productsPaths=\
  dbeaver/product/community/DBeaver.product;
ideaConfigurationFilesPaths=\
  dbeaver/.ide/idea/copyright;\
  dbeaver/.ide/idea/scopes;
Parameter Description
featuresPaths list of paths to Eclipse features folders
bundlesPaths list of paths to Eclipse bundles folders
productsPaths list of paths to Eclipse products, working directory can be provided after ':' for IDEA launch configs
repositories list of repositories used to download third-party bundles from
testBundles Bundles required for launching unit tests
ideaConfigurationFilesPaths Files of IDEA configuration to be copied(optional)
additionalModuleRoots Additional root IDEA modules can be generated if required(optional)

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

idea-rcp-launch-config-generator's People

Contributors

destrolaric avatar serge-rider avatar wroud avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.