This is an automated email from the ASF dual-hosted git repository.
jiayu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sedona.git
The following commit(s) were added to refs/heads/master by this push:
new 3d7cd2cc8 [DOCS] Update development guides to accommodate recent
changes of the project (#1429)
3d7cd2cc8 is described below
commit 3d7cd2cc87ea5ef3a478ca84dd66b361dcf6d3b2
Author: Kristin Cowalcijk <[email protected]>
AuthorDate: Sat May 25 04:35:32 2024 +0800
[DOCS] Update development guides to accommodate recent changes of the
project (#1429)
---
docs/community/develop.md | 27 +++++++++++++++++++++++++--
docs/image/ide-java-11.png | Bin 0 -> 226035 bytes
docs/image/ide-java-12.png | Bin 0 -> 283894 bytes
docs/image/ide-java-13.png | Bin 0 -> 313136 bytes
docs/image/ide-java-9.png | Bin 35998 -> 70562 bytes
5 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/docs/community/develop.md b/docs/community/develop.md
index 6d48f4b13..0d3e457c2 100644
--- a/docs/community/develop.md
+++ b/docs/community/develop.md
@@ -62,7 +62,7 @@ In the IDE, right-click a test case and run this test case.

-The IDE might tell you that the PATH does not exist as follows:
+When you run a test case written in Scala, the IDE might tell you that the
"Path does not exist" as follows:

@@ -70,7 +70,7 @@ Go to `Edit Configuration`

-Append the submodule folder to `Working Directory`. For example, `sedona/sql`.
+Change the value of `Working Directory` to `$MODULE_WORKING_DIR$`.

@@ -78,6 +78,29 @@ Re-run the test case. Do NOT right-click the test case to
re-run. Instead, click

+If you don't want to change the `Working Directory` configuration every time,
you can change the default value of `Working Directory`
+in the `Run/Debug Configurations` window. Click `Edit configuration
templates...` and change the value
+of `Working Directory` of ScalaTest to `$MODULE_WORKING_DIR$`.
+
+
+
+
+Now newly created run configurations for ScalaTest will have the correct value
set for `Working Directory`.
+
+### IDE Configurations When Using Java 11
+
+If you are using Java 11, you may encounter the following error when running
tests:
+
+```
+/path/to/sedona/common/src/main/java/org/apache/sedona/common/geometrySerde/UnsafeGeometryBuffer.java
+package sun.misc does not exist
+sun.misc.Unsafe
+```
+
+You can fix this issue by disabling `Use '--release' option for
cross-compilation` in the IDE settings.
+
+
+
## Python developers
### IDE
diff --git a/docs/image/ide-java-11.png b/docs/image/ide-java-11.png
new file mode 100644
index 000000000..f3ebf193e
Binary files /dev/null and b/docs/image/ide-java-11.png differ
diff --git a/docs/image/ide-java-12.png b/docs/image/ide-java-12.png
new file mode 100644
index 000000000..ad829d95c
Binary files /dev/null and b/docs/image/ide-java-12.png differ
diff --git a/docs/image/ide-java-13.png b/docs/image/ide-java-13.png
new file mode 100644
index 000000000..87e18f6b0
Binary files /dev/null and b/docs/image/ide-java-13.png differ
diff --git a/docs/image/ide-java-9.png b/docs/image/ide-java-9.png
index 327d66445..43aeac4ea 100644
Binary files a/docs/image/ide-java-9.png and b/docs/image/ide-java-9.png differ