From ca5a90afff3cd9048d40a7cc20f939cd23a6a819 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 4 Sep 2023 20:46:01 +0200 Subject: [PATCH] Add workaround for IDEA-317606 --- .../pre-03-code.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md b/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md index eaab5a062de..726e6ead456 100644 --- a/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md +++ b/docs/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/pre-03-code.md @@ -25,7 +25,7 @@ In the following, we will use `c:\git-repositories` as base folder: cd \ mkdir git-repositories cd git-repositories -git clone --depth=10 https://github.com/JabRef/jabref.git +git clone --depth=10 https://github.com/JabRef/jabref.git JabRef cd jabref git remote rename origin upstream git remote add origin https://github.com/YOUR_USERNAME/jabref.git @@ -36,6 +36,8 @@ git branch --set-upstream-to=origin/main main > Note that putting the repo JabRef directly on `C:\` or any other drive letter on Windows causes compile errors (**negative example**: `C:\jabref`). > > Further, if you are building on Windows, make sure that the absolute path to the location of the clone does not contain folders starting with '`u`' (**negative example**: `C:\university\jabref`) as this may currently also cause [compile errors](https://github.com/JabRef/jabref/issues/9783). +> +> Please really ensure that you pass `JabRef` as parameter. Otherwise, you will get `java.lang.IllegalStateException: Module entity with name: jabref should be available`. See [IDEA-317606](https://youtrack.jetbrains.com/issue/IDEA-317606/Changing-only-the-case-of-the-Gradle-root-project-name-causes-exception-while-importing-project-java.lang.IllegalStateException) for details. {: .note-title } > Background