diff --git a/README.en.md b/README.en.md index 5c2ff5e24145985e43d42a6b59f7c232ef5e5367..4dca8a09491388d1567583aee82a0d7f22dcbb9b 100644 --- a/README.en.md +++ b/README.en.md @@ -61,20 +61,33 @@ Specific steps of Building Data Studio binary package through source code - ## Preconditions - 1. Download and install jdk11 and configure `Java_ Home` environment variable. JDK recommended version 11.0.2 + 1. Download and install jdk11 http://jdk.java.net/archive/ and configure `Java_ Home` environment variable. JDK recommended version 11.0.2 - 2. Download and install maven x. And configure `M2_ Home` environment variable. Maven recommends version 3.8.3 + 2. Download and install maven x. And configure `M2_ Home` environment variable. - 3. Adoption [https://gluonhq.com/products/javafx/](https://gitee.com/link?target=https%3A%2F%2Fgluonhq.com%2Fproducts%2Fjavafx%2F) Download SDK 17.0.2 to any local directory and unzip it to javafx-17.0.2 + Maven recommends version 3.8.3 https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.zip - 4. Adoption [https://downloads.efxclipse.bestsolution.at/p2-repos/openjfx.p2-17.0.2.zip](https://gitee.com/link?target=https%3A%2F%2Fdownloads.efxclipse.bestsolution.at%2Fp2-repos%2Fopenjfx.p2-17.0.2.zip) Download openjfx p2-17.0.2. Zip and unzip to any local directory. + 3. Adoption [https://gluonhq.com/products/javafx/](https://gitee.com/link?target=https%3A%2F%2Fgluonhq.com%2Fproducts%2Fjavafx%2F) Download SDK 17.0.2 to any local directory and unzip it to javafx-17.0.2 + + 4. Adoption [https://downloads.efxclipse.bestsolution.at/p2-repos/openjfx.p2-17.0.2.zip](https://gitee.com/link?target=https%3A%2F%2Fdownloads.efxclipse.bestsolution.at%2Fp2-repos%2Fopenjfx.p2-17.0.2.zip) Download openjfx p2-17.0.2. Zip and unzip to any local directory. 5. Configure POM file properties configuration information javafx.home and url.openjfx information . - ``` + ```xml local_directory\javafx-sdk-17.0.2 file:\\\local_directory\openjfx.p2-17.0.2 ``` + + Example: + + Download javafx-sdk-17.0.2 and openjfx P2-17.0.2 unzip to disk D of the local directory,Configure . + + ```xml + D:\javafx-sdk-17.0.2 + file:\\\D:\openjfx.p2-17.0.2 + ``` + + - ## Source Compilation @@ -102,11 +115,15 @@ Specific steps of Building Data Studio binary package through source code ${Data_Studio_code}\code\datastudio\build ``` - - - +# Eclipse RCP development considerations + +After eclipse imports the project, open org Opengauss Mppdbide Mppdbide Product file, click launch an eclipse application to run the startup project. + +If the project fails to start, configure the current running environment and run it after the following operations. + +Click run-> run configurations - > plug ins - > Add required plug ins - > validate plug ins - > apply - > run in eclipse menu to start the project # Participating Contributions diff --git a/README.md b/README.md index 9c0c82650a8eac144611b81375f2f99739220e8c..e79bc4c7c9df0335cd7ee7c83e90be6631377b9f 100644 --- a/README.md +++ b/README.md @@ -61,13 +61,17 @@ - ## 前置条件 - 1. 下载安装JDK11,并配置`JAVA_HOME`环境变量。JDK推荐11.0.2版本 + 1. 下载安装JDK11 http://jdk.java.net/archive/ ,并配置`JAVA_HOME`环境变量。JDK推荐11.0.2版本 - 2. 下载安装apache maven3.x,并配置`M2_HOME`环境变量。Maven推荐3.8.3版本 + 2. 下载安装apache maven3.x,并配置`M2_HOME`环境变量。 + + Maven推荐3.8.3版本 https://archive.apache.org/dist/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.zip 3. 通过https://gluonhq.com/products/javafx/ 下载 javafx SDK 17.0.2版本SDK到本地并解压至任意目录。 - 4. 通过https://downloads.efxclipse.bestsolution.at/p2-repos/openjfx.p2-17.0.2.zip下载 openjfx.p2-17.0.2.zip并解压到本地任意目录。 + 4. 通过https://downloads.efxclipse.bestsolution.at/p2-repos/openjfx.p2-17.0.2.zip + + 下载openjfx.p2-17.0.2.zip并解压到本地任意目录。 5. 配置pom文件properties配置信息 javafx.home 和 url.openjfx信息。 @@ -75,9 +79,18 @@ 本地路径\javafx-sdk-17.0.2 file:\\\本地路径\openjfx.p2-17.0.2 ``` - - - + + 示例: + + 将下载好的javafx-sdk-17.0.2和openjfx.p2-17.0.2解压到本地目录D盘,配置pom + + ```xml + D:\javafx-sdk-17.0.2 + file:\\\D:\openjfx.p2-17.0.2 + ``` + + + - ## 源码编译 1. 通过 git bash 命令行进入Data Studio源码src目录: @@ -107,6 +120,14 @@ ${Data_Studio_code}\code\datastudio\build ``` +# Eclipse-RCP开发注意事项 + +在eclipse导入工程后,打开org.opengauss.mppdbide.repository工程的mppdbide.product文件,点击Launch an Eclipse application 运行启动工程。 + +如果工程启动失败,则通过如下操作,配置当前运行环境后再运行。 + +点击eclipse菜单 run-> run configurations -> Plug-ins -> Add Required Plug-ins -> validate Plug-ins -> Apply -> Run 启动工程 + # 参与贡献 **参与贡献** diff --git a/code/datastudio/src/org.opengauss.mppdbide.view/build.properties b/code/datastudio/src/org.opengauss.mppdbide.view/build.properties index 2f52848b2420c822b35ea0fcdaab17e9cddd4d08..ecda4b3d6d20bf14b470722a2cf1f95c23346d62 100644 --- a/code/datastudio/src/org.opengauss.mppdbide.view/build.properties +++ b/code/datastudio/src/org.opengauss.mppdbide.view/build.properties @@ -8,8 +8,5 @@ bin.includes = META-INF/,\ icons/,\ build.properties,\ gson-2.8.6.jar,\ - guava-30.1.1-jre.jar,\ - javafx-graphics-17.0.2-win.jar,\ - javafx-controls-17.0.2-win.jar,\ - javafx-base-17.0.2-win.jar + guava-30.1.1-jre.jar