From 97b6debd5b6fa4a12f49ddc10f09c12339a9156f Mon Sep 17 00:00:00 2001 From: Sebastian Westemeyer Date: Fri, 20 Dec 2024 09:03:50 +0100 Subject: [PATCH] Allow setting of module SDK (introducing module settings) (#19) Allow setting of module SDK (introducing module settings) --- .idea/.gitignore | 3 + metadata/changelog.html | 4 + .../plugins/autoconfig/AutoconfigStartup.java | 58 +------ .../ConfigurationLoaderService.java | 96 ----------- .../plugins/autoconfig/UpdateHandler.java | 39 +---- .../autoconfig/UpdateModuleHandler.java | 39 +++++ .../plugins/autoconfig/UpdateSettings.java | 43 +++++ .../plugins/autoconfig/UpdateTarget.java | 9 ++ .../actions/CreateAutoconfigFileAction.java | 87 +++++----- .../actions/RunAutoconfigAction.java | 10 +- .../create/CreateAutoconfigFileDialog.java | 27 +++- .../create/CreateAutoconfigFileForm.form | 41 ++++- .../create/CreateAutoconfigFileForm.java | 150 ++++++++++++++++-- .../CommonConfigurationHandler.java | 16 +- .../CommonModuleConfigurationHandler.java | 101 ++++++++++++ .../handlers/maven/MavenHandler.java | 18 ++- ...onfigurationJsonSchemeProviderFactory.java | 19 ++- .../autoconfig/messages/AutoconfigBundle.java | 25 +++ .../AutoconfigUpdateSettingsProvider.java | 28 +++- .../plugins/autoconfig/sdk/JDKResolver.java | 6 +- .../ConfigurationDirectoryService.java | 139 ++++++++++++++++ .../service/ConfigurationLoaderService.java | 48 ++++++ .../service/ConfigurationUpdaterService.java | 113 +++++++++++++ src/main/resources/META-INF/plugin.xml | 6 +- .../messages/AutoconfigBundle.properties | 5 + .../resources/schema/configModule.schema.json | 37 +++++ 26 files changed, 880 insertions(+), 287 deletions(-) delete mode 100644 src/main/java/de/gebit/plugins/autoconfig/ConfigurationLoaderService.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/UpdateModuleHandler.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/UpdateSettings.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/UpdateTarget.java rename src/main/java/de/gebit/plugins/autoconfig/handlers/{ => common}/CommonConfigurationHandler.java (94%) create mode 100644 src/main/java/de/gebit/plugins/autoconfig/handlers/common/CommonModuleConfigurationHandler.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/messages/AutoconfigBundle.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/service/ConfigurationDirectoryService.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/service/ConfigurationLoaderService.java create mode 100644 src/main/java/de/gebit/plugins/autoconfig/service/ConfigurationUpdaterService.java create mode 100644 src/main/resources/de/gebit/plugins/autoconfig/messages/AutoconfigBundle.properties create mode 100644 src/main/resources/schema/configModule.schema.json diff --git a/.idea/.gitignore b/.idea/.gitignore index 13566b8..2a1e71a 100644 --- a/.idea/.gitignore +++ b/.idea/.gitignore @@ -6,3 +6,6 @@ # Datasource local storage ignored files /dataSources/ /dataSources.local.xml + +/checkstyle-idea.xml +/git_toolbox_blame.xml diff --git a/metadata/changelog.html b/metadata/changelog.html index a795038..c8a957a 100644 --- a/metadata/changelog.html +++ b/metadata/changelog.html @@ -5,6 +5,10 @@ Changelog +

1.0.3

+

1.0.2