From 7377ac13acccf78893634de690c3e6a78dff31a7 Mon Sep 17 00:00:00 2001 From: Michael Keppler Date: Tue, 29 Aug 2023 09:31:43 +0200 Subject: [PATCH] explicitly set project encoding Since a while Eclipse wants to have us select an explicit encoding to avoid depending on the default encoding of the operating system via the workspace preferences (which is or was different on Windows and Linux). Checking this in avoids a warning on recent IDE versions and ensures that projects are using UTF-8 encoding both when being edited and when compiled (where the maven encoding properties are relevant). --- org.moreunit.build/.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ org.moreunit.core/.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ org.moreunit.feature/.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ org.moreunit.mock.it/.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ org.moreunit.test/.settings/org.eclipse.core.resources.prefs | 2 ++ .../.settings/org.eclipse.core.resources.prefs | 2 ++ 13 files changed, 26 insertions(+) create mode 100644 org.moreunit.build/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.core.test/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.core/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.extension/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.feature/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.light.feature/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.mock.feature/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.mock.it/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.mock.test/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.swtbot.test/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.test.dependencies/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.test/.settings/org.eclipse.core.resources.prefs create mode 100644 org.moreunit.updatesite/.settings/org.eclipse.core.resources.prefs diff --git a/org.moreunit.build/.settings/org.eclipse.core.resources.prefs b/org.moreunit.build/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.build/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.core.test/.settings/org.eclipse.core.resources.prefs b/org.moreunit.core.test/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.core.test/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.core/.settings/org.eclipse.core.resources.prefs b/org.moreunit.core/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.core/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.extension/.settings/org.eclipse.core.resources.prefs b/org.moreunit.extension/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.extension/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.feature/.settings/org.eclipse.core.resources.prefs b/org.moreunit.feature/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.feature/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.light.feature/.settings/org.eclipse.core.resources.prefs b/org.moreunit.light.feature/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.light.feature/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.mock.feature/.settings/org.eclipse.core.resources.prefs b/org.moreunit.mock.feature/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.mock.feature/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.mock.it/.settings/org.eclipse.core.resources.prefs b/org.moreunit.mock.it/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.mock.it/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.mock.test/.settings/org.eclipse.core.resources.prefs b/org.moreunit.mock.test/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.mock.test/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.swtbot.test/.settings/org.eclipse.core.resources.prefs b/org.moreunit.swtbot.test/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.swtbot.test/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.test.dependencies/.settings/org.eclipse.core.resources.prefs b/org.moreunit.test.dependencies/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.test.dependencies/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.test/.settings/org.eclipse.core.resources.prefs b/org.moreunit.test/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.test/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8 diff --git a/org.moreunit.updatesite/.settings/org.eclipse.core.resources.prefs b/org.moreunit.updatesite/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 00000000..99f26c02 --- /dev/null +++ b/org.moreunit.updatesite/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +encoding/=UTF-8