This is an automated email from the ASF dual-hosted git repository. dsoumis pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 0f0b08ab71815fabd3126202ce00712b0086118c Author: Igal Sapir <isa...@apache.org> AuthorDate: Tue Jun 11 17:00:35 2024 -0700 Added instructions on how to remove the exclusion of FFM directories in IDEA (cherry picked from commit 7118991902b3ae27e3ef128e86f94ef8b5dbb509) --- build.xml | 8 +++++++- res/ide-support/idea/tomcat.iml | 5 +++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/build.xml b/build.xml index 3950cb96d5..7fa3ccd89f 100644 --- a/build.xml +++ b/build.xml @@ -3962,8 +3962,14 @@ Read the Building page on the Apache Tomcat documentation site for details on ho <mkdir dir="${tomcat.home}/lib"/> <echo>IntelliJ IDEA project directory created. + The SDK was set to "${build.java.version}" so make sure that your IDE has an SDK with that name, -or update the Project Settings accordingly.</echo> +or update the Project Settings accordingly. Choose [File > Project Structure] to open the settings dialog +and set the SDK level, language level, etc. as needed. + +Some folders have been excluded by default as they require the latest SDK version and enabling of preview +features. You can remove or comment out the exclusions to enable the directories in the .idea/tomcat.iml +file, or via the IDEA UI by right-clicking folders, and choosing [Mark Directory as > Cancel Exclusion]</echo> </target> <!-- ============================ NetBeans =============================== --> diff --git a/res/ide-support/idea/tomcat.iml b/res/ide-support/idea/tomcat.iml index 50349c2121..df08b480eb 100644 --- a/res/ide-support/idea/tomcat.iml +++ b/res/ide-support/idea/tomcat.iml @@ -22,6 +22,11 @@ <sourceFolder url="file://$MODULE_DIR$/java" isTestSource="false" /> <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/webapps/examples/WEB-INF/classes" isTestSource="true" /> + + <!-- The directories below are excluded by default as they require the FFM API which is + available as a preview feature in Java SDK 22. If you wish to use the FFM API in the + IDE then set your project and module SDK levels to Java 22 or later, enable preview + features if needed, and comment out or remove the excludeFolder lines below. !--> <excludeFolder url="file://$MODULE_DIR$/java/org/apache/tomcat/util/net/openssl/panama" /> <excludeFolder url="file://$MODULE_DIR$/java/org/apache/tomcat/util/openssl" /> </content> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org