From 1e44ca35bd6b67538f1118c6fc624cd90f47e58e Mon Sep 17 00:00:00 2001 From: ashni <105304831+ashni-mongodb@users.noreply.github.com> Date: Thu, 16 Feb 2023 10:56:06 -0500 Subject: [PATCH 1/3] Update README.md Removing maintainers section. --- README.md | 8 -------- 1 file changed, 8 deletions(-) diff --git a/README.md b/README.md index cc1af807def..1ab8cb622b5 100644 --- a/README.md +++ b/README.md @@ -128,14 +128,6 @@ A couple of manual configuration steps are required to run the code in IntelliJ: - Delegate all build actions to Gradle: Settings/Preferences > Build, Execution, Deployment > Build Tools > Gradle > Build and run using/Run tests using - select "Gradle" -## Maintainers - -* Jeff Yemin jeff.yemin@mongodb.com -* Ross Lawley ross@mongodb.com -* John Stewart john.stewart@mongodb.com - -Additional contributors can be found [here](https://github.com/mongodb/mongo-java-driver/graphs/contributors). - ## Supporters JetBrains is supporting this open source project with: From 24b3ea03cd8cb47a0e8518cbcd871c2f4647c0cd Mon Sep 17 00:00:00 2001 From: ashni <105304831+ashni-mongodb@users.noreply.github.com> Date: Thu, 16 Feb 2023 14:52:59 -0500 Subject: [PATCH 2/3] Update README.md removing intellij manual configuration steps --- README.md | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/README.md b/README.md index 1ab8cb622b5..d94115b8207 100644 --- a/README.md +++ b/README.md @@ -109,25 +109,6 @@ $ mongod --dbpath ./data/db --logpath ./data/mongod.log --port 27017 --logappend If you encounter `"Too many open files"` errors when running the tests then you will need to increase the number of available file descriptors prior to starting mongod as described in [https://www.mongodb.com/docs/manual/reference/ulimit/](https://www.mongodb.com/docs/manual/reference/ulimit/) -## IntelliJ IDEA - -A couple of manual configuration steps are required to run the code in IntelliJ: - -- Java 17+ is required to build and compile the source. - -- **Error:** `java: cannot find symbol: class SNIHostName location: package javax.net.ssl`
- **Fix:** Settings/Preferences > Build, Execution, Deployment > Compiler > Java Compiler - untick "Use '--release' option for - cross-compilation (Java 9 and later)" - -- **Error:** `java: package com.mongodb.internal.build does not exist`
- **Fixes:** Any of the following:
- - Run the `generateBuildConfig` task: eg: `./gradlew generateBuildConfig` or via Gradle > driver-core > Tasks > buildconfig > - generateBuildConfig - - Set `generateBuildConfig` to execute Before Build. via Gradle > Tasks > buildconfig > right click generateBuildConfig - click on - "Execute Before Build" - - Delegate all build actions to Gradle: Settings/Preferences > Build, Execution, Deployment > Build Tools > Gradle > Build and run - using/Run tests using - select "Gradle" - ## Supporters JetBrains is supporting this open source project with: From 2e5292f08032861ec2d88353d86ca239b62c660c Mon Sep 17 00:00:00 2001 From: ashni <105304831+ashni-mongodb@users.noreply.github.com> Date: Thu, 16 Feb 2023 15:31:50 -0500 Subject: [PATCH 3/3] Update README.md Adding back IntelliJ manual config steps and removing "Supporters" --- README.md | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d94115b8207..ade4b7cebbb 100644 --- a/README.md +++ b/README.md @@ -109,9 +109,21 @@ $ mongod --dbpath ./data/db --logpath ./data/mongod.log --port 27017 --logappend If you encounter `"Too many open files"` errors when running the tests then you will need to increase the number of available file descriptors prior to starting mongod as described in [https://www.mongodb.com/docs/manual/reference/ulimit/](https://www.mongodb.com/docs/manual/reference/ulimit/) -## Supporters +## IntelliJ IDEA -JetBrains is supporting this open source project with: +A couple of manual configuration steps are required to run the code in IntelliJ: -[![Intellij IDEA](http://www.jetbrains.com/img/logos/logo_intellij_idea.png)](http://www.jetbrains.com/idea/) +- Java 17+ is required to build and compile the source. +- **Error:** `java: cannot find symbol: class SNIHostName location: package javax.net.ssl`
+ **Fix:** Settings/Preferences > Build, Execution, Deployment > Compiler > Java Compiler - untick "Use '--release' option for + cross-compilation (Java 9 and later)" + +- **Error:** `java: package com.mongodb.internal.build does not exist`
+ **Fixes:** Any of the following:
+ - Run the `generateBuildConfig` task: eg: `./gradlew generateBuildConfig` or via Gradle > driver-core > Tasks > buildconfig > + generateBuildConfig + - Set `generateBuildConfig` to execute Before Build. via Gradle > Tasks > buildconfig > right click generateBuildConfig - click on + "Execute Before Build" + - Delegate all build actions to Gradle: Settings/Preferences > Build, Execution, Deployment > Build Tools > Gradle > Build and run + using/Run tests using - select "Gradle"