From 9f4a0c286594730f8167abb48d8ea85af1f66f42 Mon Sep 17 00:00:00 2001 From: Mike Ripley Date: Sun, 14 Jan 2024 11:27:11 -0500 Subject: [PATCH 1/2] Update Eclipse to 2023-12 --- roles/eclipse/vars/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/eclipse/vars/main.yml b/roles/eclipse/vars/main.yml index 5fdb0e1f..4310f575 100644 --- a/roles/eclipse/vars/main.yml +++ b/roles/eclipse/vars/main.yml @@ -3,11 +3,11 @@ eclipse: # noqa var-naming[no-role-prefix] # Ensure the URL does not specify a mirror and that &r=1 is at the end, which # directly links to the file and not the web page with a download button - url: 'https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2023-06/R/eclipse-java-2023-06-R-linux-gtk-{{ ansible_architecture }}.tar.gz&r=1' - url_backup: 'https://download.eclipse.org/technology/epp/downloads/release/2023-06/R/eclipse-java-2023-06-R-linux-gtk-{{ ansible_architecture }}.tar.gz' + url: 'https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2023-12/R/eclipse-java-2023-12-R-linux-gtk-{{ ansible_architecture }}.tar.gz&r=1' + url_backup: 'https://download.eclipse.org/technology/epp/downloads/release/2023-12/R/eclipse-java-2023-12-R-linux-gtk-{{ ansible_architecture }}.tar.gz' hash: - x86_64: '8a54f3fb7abb3203559b4db403681a815edc406a' - aarch64: '958626a64c455c5e1a9e14c44526748ba2ce81d9' + x86_64: '04a289df397b52bb08e6eb4bd4d2ff93a8120d61' + aarch64: 'ab34d85d657cd7fae55215b61cf4ed4868b53a4e' zip: '{{ common_global_base_path }}/eclipse.tar.gz' install_path: '{{ common_global_base_path }}/eclipse' From 198acfce98f2383a42bb05a4066b55cc04f451c0 Mon Sep 17 00:00:00 2001 From: Mike Ripley Date: Sun, 14 Jan 2024 12:59:31 -0500 Subject: [PATCH 2/2] Set logging level during Checkstyle plugin install --- roles/eclipse/files/logback.xml | 4 ++++ roles/eclipse/tasks/main.yml | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 roles/eclipse/files/logback.xml diff --git a/roles/eclipse/files/logback.xml b/roles/eclipse/files/logback.xml new file mode 100644 index 00000000..f4b5be64 --- /dev/null +++ b/roles/eclipse/files/logback.xml @@ -0,0 +1,4 @@ + + + + diff --git a/roles/eclipse/tasks/main.yml b/roles/eclipse/tasks/main.yml index 527510f4..7a5c3a4a 100644 --- a/roles/eclipse/tasks/main.yml +++ b/roles/eclipse/tasks/main.yml @@ -41,6 +41,11 @@ owner: root group: root mode: "0755" +- name: Install logback config file + ansible.builtin.copy: + src: logback.xml + dest: '{{ eclipse.install_path }}' + mode: "0644" - name: Install checkstyle plugin ansible.builtin.command: > {{ eclipse.install_path }}/eclipse @@ -49,6 +54,8 @@ -repository https://checkstyle.org/eclipse-cs-update-site/ -installIU net.sf.eclipsecs.feature.group -destination {{ eclipse.install_path }} + -vmargs + -Dlogback.configurationFile=file:{{ eclipse.install_path }}/logback.xml args: creates: '{{ eclipse.install_path }}/plugins/net.sf.eclipsecs.checkstyle*' - name: Install Eclipse desktop icon