• Windows: fsutil file createnew 4g.win 4294967296
  • Linux: fallocate -l 4G ./4g.img
Posted by zennken

java -jar checkstyle-10.8.1-all.jar -c dbeaver-checkstyle-config.xml ${your_java_code_file_list}
Starting audit...
Audit done.

Posted by zennken
  1. Create a new ticket (https://github.com/dbeaver/dbeaver/wiki/Contribute-your-code)
    1. Create a ticket on our issue tracker before creating a PR: https://github.com/dbeaver/dbeaver/issues
    2. Create a fork of the dbeaver/dbeaver repository, create a new branch, commit your changes, and then create a pull request in the upstream repository.
  2. Set up your own development environment
    1. https://dbeaver.com/docs/wiki/Develop-in-Eclipse/#running-and-debugging-in-eclipse
    2. Refer to DBeaver wiki for development: https://dbeaver.com/docs/wiki/
  3. Implement your own DB plugin
    1. org.jkiss.dbeaver.ext.yourDBPlugin, org.jkiss.dbeaver.ext.yourDBPlugin.ui
      1. Don't forget to put license header into source code file: https://github.com/ALTIBASE/dbeaver/blob/devel/docs/license_header.txt
    2. Build package with your own DB plugin: https://github.com/orgs/dbeaver/discussions/13200
      1. dbeaver/plugins/pom.xml (22.1 version)
        1. <modules>... <module>org.jkiss.dbeaver.ext.yourDBPlugin</module>...</modules>
        2. <profiles>... <module>org.jkiss.dbeaver.ext.yourDBPlugin.ui</module>... </profiles>
      2. dbeaver/features/org.jkiss.dbeaver.db.feature/features.xml
        1. <plugin id="org.jkiss.dbeaver.ext.yourDBPlugin"
                   download-size="0"
                   install-size="0"
                   version="0.0.0"
                   unpack="false"/>
      3. (23.1) dbeaver/features/org.jkiss.dbeaver.db.ui.feature/features.xml
        1. <plugin id="org.jkiss.dbeaver.ext.yourDBPlugin.ui"
                   download-size="0"
                   install-size="0"
                   version="0.0.0"
                   unpack="false"/>
      4. mvn clean package at dbeaver
        1. Package directory: dbeaver\product\community\target\products\
          org.jkiss.dbeaver.core.product\win32\win32\x86_64\dbeaver
        2. Confirm your own plugin comes with the package in the plugins directory. 
        3. Execute a new dbeaver.exe to ensure everything works fine.
  4. Creating your own PR

 

Posted by zennken

zennken

달력