]> source.dussan.org Git - jgit.git/commit
Set default file encoding used for JGit tests to UTF-8 14/1314/1
authorMatthias Sohn <matthias.sohn@sap.com>
Mon, 16 Aug 2010 15:42:41 +0000 (17:42 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Mon, 16 Aug 2010 15:42:41 +0000 (17:42 +0200)
commit11c5c9f73b0a8cd5c18a42298fecac37cc3d2d48
tree1419eaf00911e54899adaff2eeeab7dab711c9fb
parent8d761febc3dd3fc3e0258a17526f6479757637f6
Set default file encoding used for JGit tests to UTF-8

This patch fixes the problem that JGit tests run from Maven fail on
Mac OS X [1]. In Eclipse the tests succeed since we set Eclipse
workspace encoding to UTF-8 via "Preferences > General > Workspace
> Text file encoding", checked via JConsole that this setting changes
the JVM system property of the test run. This change copies this
setting to the Maven test environment so that we get consistent test
results on all platforms.

[1] http://kerneltrap.org/mailarchive/git/2009/2/6/4916414/thread

Change-Id: Ia657d4037c518411f7bc3c75626dbafb1f4706a2
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/pom.xml