2023-09-11 20:30:48 +00:00
|
|
|
- name: Set Eclipse version
|
|
|
|
set_fact:
|
2023-10-25 19:41:00 +00:00
|
|
|
target_version: "4.28.0"
|
2023-09-11 20:30:48 +00:00
|
|
|
|
|
|
|
- name: Install Eclipse
|
|
|
|
win_chocolatey:
|
|
|
|
name: eclipse
|
2023-10-25 19:41:00 +00:00
|
|
|
state: upgrade
|
2023-09-11 20:30:48 +00:00
|
|
|
version: "{{ target_version }}"
|
|
|
|
|
|
|
|
- name: Set up default directories for Eclipse
|
|
|
|
win_lineinfile:
|
|
|
|
path: "%ProgramFiles%\\Eclipse {{ target_version }}\\eclipse\\eclipse.ini"
|
|
|
|
regexp: "osgi.instance.area.default"
|
|
|
|
line: "-Dosgi.instance.area.default=H:/Documents/eclipse-workspace"
|