Skip to content

Commit

Permalink
Merge pull request #542 from ripleymj/eclipse-2023-12
Browse files Browse the repository at this point in the history
Eclipse 2023-12
  • Loading branch information
laurelmay authored Jan 14, 2024
2 parents 2784504 + 198acfc commit 3acb43c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
4 changes: 4 additions & 0 deletions roles/eclipse/files/logback.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<configuration>
<logger name="org.apache" level="WARN" />
<logger name="httpclient" level="WARN" />
</configuration>
7 changes: 7 additions & 0 deletions roles/eclipse/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions roles/eclipse/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit 3acb43c

Please sign in to comment.