From 52e6896f2112286f07005f76c489510c7eca368b Mon Sep 17 00:00:00 2001 From: srosse <none@none> Date: Wed, 30 Nov 2011 14:36:04 +0100 Subject: [PATCH] FXOLAT-378: force UTF-8 encoding for the project --- .hgignore | 5 +---- pom.xml | 9 +++++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.hgignore b/.hgignore index 67a7fe6737d..c4b9b940da6 100644 --- a/.hgignore +++ b/.hgignore @@ -42,10 +42,7 @@ CVS/* #ignore olat/.classpath file at this gets created by maven .classpath .project -.settings/org.eclipse.jdt.core.prefs -.settings/org.eclipse.wst.common.component -.settings/org.eclipse.wst.common.project.facet.core.xml -.settings/org.maven.ide.eclipse.prefs +.settings/* src/main/resources/maven.build.properties src/main/java/maven.build.properties diff --git a/pom.xml b/pom.xml index 050b09b657d..982d43b4d79 100644 --- a/pom.xml +++ b/pom.xml @@ -1472,6 +1472,15 @@ <!-- context name for servlet container e.g. localhost:8080/olat --> <wtpContextName>olat</wtpContextName> <downloadSources>false</downloadSources> + <additionalConfig> + <file> + <name>.settings/org.eclipse.core.resources.prefs</name> + <content> + <![CDATA[eclipse.preferences.version=1 + encoding/<project>=UTF-8]]> + </content> + </file> + </additionalConfig> </configuration> </plugin> -- GitLab