Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Montplaisir2013-07-25 19:56:22 +0000
committerAlexander Kurtakov2013-07-29 19:36:23 +0000
commit30d4ef3ae8f3672f196fb10c45bd0dd3b8d87163 (patch)
tree07a9fdbae4cb06bc0bdacaae88225cab84f51211 /pom.xml
parent18a2434af4445fba1ae6a95cbd2c9a01d6be2980 (diff)
downloadorg.eclipse.linuxtools-30d4ef3ae8f3672f196fb10c45bd0dd3b8d87163.tar.gz
org.eclipse.linuxtools-30d4ef3ae8f3672f196fb10c45bd0dd3b8d87163.tar.xz
org.eclipse.linuxtools-30d4ef3ae8f3672f196fb10c45bd0dd3b8d87163.zip
Have Tycho use Eclipse's compiler settings
This way, building with Maven should give the same results as building from within Eclipse. Tip taken from: http://wiki.eclipse.org/Tycho/FAQ#How_to_configure_warning.2Ferror_settings_of_the_OSGi_compiler.3F Those compiler settings can then be defined per plugin. Change-Id: Ia2059009b2cc64f43d7edbb8c0fd7341bde1533d Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im> Reviewed-on: https://git.eclipse.org/r/14873 Tested-by: Hudson CI Reviewed-by: Alexander Kurtakov <akurtako@redhat.com> IP-Clean: Alexander Kurtakov <akurtako@redhat.com> Tested-by: Alexander Kurtakov <akurtako@redhat.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 29f1f2a0f9..ca375ae4cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -262,6 +262,9 @@
<version>${tycho-version}</version>
<configuration>
<encoding>UTF-8</encoding>
+ <compilerArguments>
+ <properties>${project.basedir}/.settings/org.eclipse.jdt.core.prefs</properties>
+ </compilerArguments>
</configuration>
</plugin>
<plugin>

Back to the top