This is an automated email from the ASF dual-hosted git repository. isapir pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 7118991902 Added instructions on how to remove the exclusion of FFM directories in IDEA 7118991902 is described below commit 7118991902b3ae27e3ef128e86f94ef8b5dbb509 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 --- 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 eee0507ba1..39af943513 100644 --- a/build.xml +++ b/build.xml @@ -3827,8 +3827,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 d7fbb8f0fb..95b36c35b1 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