You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2016/11/01 14:22:39 UTC

svn commit: r1767499 - in /sling/trunk/tooling/ide: eclipse-test/pom.xml target-definition/Sling IDE Tooling.launch

Author: rombert
Date: Tue Nov  1 14:22:39 2016
New Revision: 1767499

URL: http://svn.apache.org/viewvc?rev=1767499&view=rev
Log:
Set the SWT_GTK3=0 environment variable when launching Eclipse

The GTK3 port was not stable enough for day-to-day with Eclipse Luna. Forcing
the use of the GTK2 port increases stability for me when running tests and also
makes the Eclipse instance usable when testing changes locally.

Modified:
    sling/trunk/tooling/ide/eclipse-test/pom.xml
    sling/trunk/tooling/ide/target-definition/Sling IDE Tooling.launch

Modified: sling/trunk/tooling/ide/eclipse-test/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-test/pom.xml?rev=1767499&r1=1767498&r2=1767499&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-test/pom.xml (original)
+++ sling/trunk/tooling/ide/eclipse-test/pom.xml Tue Nov  1 14:22:39 2016
@@ -77,6 +77,9 @@
                     <systemProperties>
                         <launchpad.http.port>${http.port}</launchpad.http.port>
                     </systemProperties>
+                    <environmentVariables>
+                        <SWT_GTK3>0</SWT_GTK3>
+                    </environmentVariables>
                 </configuration>
             </plugin>
             <plugin>

Modified: sling/trunk/tooling/ide/target-definition/Sling IDE Tooling.launch
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/target-definition/Sling%20IDE%20Tooling.launch?rev=1767499&r1=1767498&r2=1767499&view=diff
==============================================================================
--- sling/trunk/tooling/ide/target-definition/Sling IDE Tooling.launch (original)
+++ sling/trunk/tooling/ide/target-definition/Sling IDE Tooling.launch Tue Nov  1 14:22:39 2016
@@ -16,6 +16,9 @@
 <stringAttribute key="featurePluginResolution" value="workspace"/>
 <booleanAttribute key="includeOptional" value="true"/>
 <stringAttribute key="location" value="${workspace_loc}/../runtime-sling-ide-tooling"/>
+<mapAttribute key="org.eclipse.debug.core.environmentVariables">
+<mapEntry key="SWT_GTK3" value="0"/>
+</mapAttribute>
 <listAttribute key="org.eclipse.jdt.launching.CLASSPATH">
 <listEntry value="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;runtimeClasspathEntry containerPath=&quot;org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7&quot; path=&quot;1&quot; type=&quot;4&quot;/&gt;&#10;"/>
 </listAttribute>