diff options
-rw-r--r-- | gerrit-gwtdebug/pom.xml | 1 | ||||
-rw-r--r-- | gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java | 6 | ||||
-rw-r--r-- | gerrit-gwtui/pom.xml | 4 | ||||
-rw-r--r-- | gerrit-httpd/src/main/java/com/google/gerrit/httpd/auth/become/BecomeAnyAccountLoginServlet.java | 16 | ||||
-rw-r--r-- | gerrit-httpd/src/main/java/com/google/gerrit/httpd/raw/HostPageServlet.java | 11 | ||||
-rw-r--r-- | gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/become/BecomeAnyAccount.html | 29 | ||||
-rw-r--r-- | gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/HostPage.html | 28 | ||||
-rw-r--r-- | pom.xml | 46 | ||||
-rw-r--r-- | tools/gwtui_dbg.launch (renamed from tools/gwtui_any.launch) | 5 | ||||
-rw-r--r-- | tools/gwtui_mac.launch | 36 |
10 files changed, 91 insertions, 91 deletions
diff --git a/gerrit-gwtdebug/pom.xml b/gerrit-gwtdebug/pom.xml index f16410d5fe..2b3c3f9b4e 100644 --- a/gerrit-gwtdebug/pom.xml +++ b/gerrit-gwtdebug/pom.xml @@ -36,7 +36,6 @@ limitations under the License. <dependency> <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> - <classifier>${platform}</classifier> </dependency> <dependency> diff --git a/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java b/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java index d5f913a6ab..a761d49b74 100644 --- a/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java +++ b/gerrit-gwtdebug/src/main/java/com/google/gerrit/gwtdebug/GerritDebugLauncher.java @@ -344,6 +344,8 @@ public class GerritDebugLauncher extends ServletContainerLauncher { System.getProperty("build.compiler", "org.eclipse.jdt.core.JDTCompilerAdapter"); System.setProperty("build.compiler", antJavaC); + + System.setProperty("Gerrit.GwtDevMode", "" + true); } @Override @@ -378,6 +380,10 @@ public class GerritDebugLauncher extends ServletContainerLauncher { File app = new File(top, "gerrit-war/src/main/webapp"); File webxml = new File(app, "WEB-INF/web.xml"); + // Jetty won't start unless this directory exists. + if (!warDir.exists() && !warDir.mkdirs()) + logger.branch(TreeLogger.ERROR, "Cannot create "+warDir, null); + // Create a new web app in the war directory. // WebAppContext wac = diff --git a/gerrit-gwtui/pom.xml b/gerrit-gwtui/pom.xml index 4870981eb5..e9787150ee 100644 --- a/gerrit-gwtui/pom.xml +++ b/gerrit-gwtui/pom.xml @@ -38,7 +38,7 @@ limitations under the License. <groupId>com.google.gwt</groupId> <artifactId>gwt-user</artifactId> <version>${gwtVersion}</version> - <scope>provided</scope> + <scope>compile</scope> </dependency> <dependency> @@ -151,7 +151,7 @@ limitations under the License. <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> - <version>1.1</version> + <version>1.2</version> <configuration> <module>com.google.gerrit.GerritGwtUI</module> <extraJvmArgs>-Xmx512m</extraJvmArgs> diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/auth/become/BecomeAnyAccountLoginServlet.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/auth/become/BecomeAnyAccountLoginServlet.java index d823db5fee..35afda5c50 100644 --- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/auth/become/BecomeAnyAccountLoginServlet.java +++ b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/auth/become/BecomeAnyAccountLoginServlet.java @@ -26,6 +26,9 @@ import com.google.inject.Inject; import com.google.inject.Provider; import com.google.inject.Singleton; +import org.w3c.dom.Document; +import org.w3c.dom.Element; + import java.io.FileNotFoundException; import java.io.IOException; import java.io.OutputStream; @@ -41,6 +44,8 @@ import javax.servlet.http.HttpServletResponse; @SuppressWarnings("serial") @Singleton public class BecomeAnyAccountLoginServlet extends HttpServlet { + private static final boolean IS_DEV = Boolean.getBoolean("Gerrit.GwtDevMode"); + private final SchemaFactory<ReviewDb> schema; private final Provider<WebSession> webSession; private final Provider<String> urlProvider; @@ -56,12 +61,17 @@ public class BecomeAnyAccountLoginServlet extends HttpServlet { urlProvider = up; final String pageName = "BecomeAnyAccount.html"; - final String doc = HtmlDomUtil.readFile(getClass(), pageName); + final Document doc = HtmlDomUtil.parseFile(getClass(), pageName); if (doc == null) { throw new FileNotFoundException("No " + pageName + " in webapp"); } - - raw = doc.getBytes(HtmlDomUtil.ENC); + if (!IS_DEV) { + final Element devmode = HtmlDomUtil.find(doc, "gerrit_gwtdevmode"); + if (devmode != null) { + devmode.getParentNode().removeChild(devmode); + } + } + raw = HtmlDomUtil.toUTF8(doc); } @Override diff --git a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/raw/HostPageServlet.java b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/raw/HostPageServlet.java index 14277a3f95..9bc82d346d 100644 --- a/gerrit-httpd/src/main/java/com/google/gerrit/httpd/raw/HostPageServlet.java +++ b/gerrit-httpd/src/main/java/com/google/gerrit/httpd/raw/HostPageServlet.java @@ -50,6 +50,8 @@ import javax.servlet.http.HttpServletResponse; @SuppressWarnings("serial") @Singleton public class HostPageServlet extends HttpServlet { + private static final boolean IS_DEV = Boolean.getBoolean("Gerrit.GwtDevMode"); + private final Provider<CurrentUser> currentUser; private final GerritConfig config; private final Document hostDoc; @@ -67,7 +69,14 @@ public class HostPageServlet extends HttpServlet { throw new FileNotFoundException("No " + pageName + " in webapp"); } - fixModuleReference(hostDoc, servletContext); + if (!IS_DEV) { + final Element devmode = HtmlDomUtil.find(hostDoc, "gerrit_gwtdevmode"); + if (devmode != null) { + devmode.getParentNode().removeChild(devmode); + } + fixModuleReference(hostDoc, servletContext); + } + injectCssFile(hostDoc, "gerrit_sitecss", site.site_css); injectXmlFile(hostDoc, "gerrit_header", site.site_header); injectXmlFile(hostDoc, "gerrit_footer", site.site_footer); diff --git a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/become/BecomeAnyAccount.html b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/become/BecomeAnyAccount.html index 2cd6a84824..a27df22c38 100644 --- a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/become/BecomeAnyAccount.html +++ b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/auth/become/BecomeAnyAccount.html @@ -1,7 +1,34 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html> <head> <title>Gerrit Code Review</title> + <script id="gerrit_gwtdevmode"> + (function () { + var pn = 'gwt.codesvr'; + var cn = 'gerrit.' + pn; + + var p_start = window.location.search.indexOf(pn + '='); + if (p_start != -1) { + p_start = p_start + pn.length + 1; + var p_end = window.location.search.indexOf(";", p_start); + if (p_end == -1) p_end = window.location.search.length; + var v = window.location.search.substring(p_start, p_end); + + var e = new Date(); + e.setDate(e.getDate() + 1); + document.cookie = cn + "=" + v + ';expires=' + e.toGMTString(); + + } else if (document.cookie.length != 0) { + var c_start = document.cookie.indexOf(cn + '='); + if (c_start != -1) { + c_start = c_start + cn.length + 1; + var c_end = document.cookie.indexOf(";", c_start); + if (c_end == -1) c_end = document.cookie.length; + var v = document.cookie.substring(c_start, c_end); + window.location.replace('?' + pn + '=' + v + document.location.hash); + } + } + })(); + </script> </head> <body> <form method="GET"> diff --git a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/HostPage.html b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/HostPage.html index 423e7d04c5..189001da7e 100644 --- a/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/HostPage.html +++ b/gerrit-httpd/src/main/resources/com/google/gerrit/httpd/raw/HostPage.html @@ -2,6 +2,34 @@ <head> <title>Gerrit Code Review</title> <meta name="gwt:property" content="locale=en_US" /> + <script id="gerrit_gwtdevmode"> + (function () { + var pn = 'gwt.codesvr'; + var cn = 'gerrit.' + pn; + + var p_start = window.location.search.indexOf(pn + '='); + if (p_start != -1) { + p_start = p_start + pn.length + 1; + var p_end = window.location.search.indexOf(";", p_start); + if (p_end == -1) p_end = window.location.search.length; + var v = window.location.search.substring(p_start, p_end); + + var e = new Date(); + e.setDate(e.getDate() + 1); + document.cookie = cn + "=" + v + ';expires=' + e.toGMTString(); + + } else if (document.cookie.length != 0) { + var c_start = document.cookie.indexOf(cn + '='); + if (c_start != -1) { + c_start = c_start + cn.length + 1; + var c_end = document.cookie.indexOf(";", c_start); + if (c_end == -1) c_end = document.cookie.length; + var v = document.cookie.substring(c_start, c_end); + window.location.replace('?' + pn + '=' + v + document.location.hash); + } + } + })(); + </script> <script id="gerrit_hostpagedata"></script> <script id="gerrit_module" type="text/javascript" language="javascript" src="gerrit/gerrit.nocache.js"></script> <script src="prettify/20090521.js" type="text/javascript" language="javascript" defer="true"></script> @@ -48,9 +48,9 @@ limitations under the License. <properties> <jgitVersion>0.5.1.51-g96b2e76</jgitVersion> <gwtormVersion>1.1.2</gwtormVersion> - <gwtjsonrpcVersion>1.2.0</gwtjsonrpcVersion> + <gwtjsonrpcVersion>1.2.1-SNAPSHOT</gwtjsonrpcVersion> <gwtexpuiVersion>1.1.4</gwtexpuiVersion> - <gwtVersion>1.7.0</gwtVersion> + <gwtVersion>2.0.0</gwtVersion> <slf4jVersion>1.5.8</slf4jVersion> <guiceVersion>2.0</guiceVersion> <jettyVersion>7.0.1.v20091125</jettyVersion> @@ -752,52 +752,10 @@ limitations under the License. <groupId>com.google.gwt</groupId> <artifactId>gwt-dev</artifactId> <version>${gwtVersion}</version> - <classifier>${platform}</classifier> </dependency> </dependencies> </dependencyManagement> - <profiles> - <profile> - <id>gwt-dev-windows</id> - <properties> - <platform>windows</platform> - </properties> - <activation> - <activeByDefault>true</activeByDefault> - <os> - <family>windows</family> - </os> - </activation> - </profile> - - <profile> - <id>gwt-dev-mac</id> - <properties> - <platform>mac</platform> - </properties> - <activation> - <activeByDefault>false</activeByDefault> - <os> - <family>mac</family> - </os> - </activation> - </profile> - - <profile> - <id>gwt-dev-linux</id> - <properties> - <platform>linux</platform> - </properties> - <activation> - <activeByDefault>false</activeByDefault> - <os> - <name>linux</name> - </os> - </activation> - </profile> - </profiles> - <repositories> <repository> <id>jgit-repository</id> diff --git a/tools/gwtui_any.launch b/tools/gwtui_dbg.launch index 402f041ca2..153524030d 100644 --- a/tools/gwtui_any.launch +++ b/tools/gwtui_dbg.launch @@ -13,7 +13,6 @@ <booleanAttribute key="org.eclipse.jdt.debug.ui.CONSIDER_INHERITED_MAIN" value="true"/> <listAttribute key="org.eclipse.jdt.launching.CLASSPATH"> <listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" path="1" type="4"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.USER_LIBRARY/GWT_17" path="3" type="4"/> "/> <listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="gerrit-gwtui" type="1"/> "/> <listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="gerrit-gwtdbug" type="1"/> "/> <listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gerrit-patch-gwtexpui/src/main/java" path="3" type="2"/> "/> @@ -28,9 +27,9 @@ </listAttribute> <stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.maven.ide.eclipse.launchconfig.classpathProvider"/> <booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/> -<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.HostedMode"/> +<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.DevMode"/> <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-startupUrl / -war ${resource_loc:/gerrit-gwtui/target}/gwt-hosted-mode -server com.google.gerrit.gwtdebug.GerritDebugLauncher com.google.gerrit.GerritGwtUI"/> <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="gerrit-gwtdbug"/> <stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.maven.ide.eclipse.launchconfig.sourcepathProvider"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx256M -DGerritServer=${resource_loc:/gerrit-parent/GerritServer.properties} -Dcom.google.gerrit.httpd.auth.become=true"/> +<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx256M -DGerritServer=${resource_loc:/gerrit-parent/GerritServer.properties}"/> </launchConfiguration> diff --git a/tools/gwtui_mac.launch b/tools/gwtui_mac.launch deleted file mode 100644 index dca7b45149..0000000000 --- a/tools/gwtui_mac.launch +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="no"?> -<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication"> -<stringAttribute key="bad_container_name" value="/gerrit-appja"/> -<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS"> -<listEntry value="/gerrit-gwtdbug"/> -</listAttribute> -<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES"> -<listEntry value="4"/> -</listAttribute> -<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> -<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.jdt.launching.sourceLocator.JavaSourceLookupDirector"/> -<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-common&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-httpd&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-patch-commonsnet&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-patch-gwtexpui&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-patch-jgit&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-pgm&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-server&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-sshd&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-util-cli&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-util-ssl&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-reviewdb&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-gwtui&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;javaProject name=&quot;gerrit-gwtdbug&quot;/&gt;&#10;" typeId="org.eclipse.jdt.launching.sourceContainer.javaProject"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;default/&gt;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> </sourceContainers> </sourceLookupDirector> "/> -<booleanAttribute key="org.eclipse.jdt.debug.ui.CONSIDER_INHERITED_MAIN" value="true"/> -<listAttribute key="org.eclipse.jdt.launching.CLASSPATH"> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6" path="1" type="4"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.eclipse.jdt.USER_LIBRARY/GWT_17" path="3" type="4"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="gerrit-gwtui" type="1"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry path="3" projectName="gerrit-gwtdbug" type="1"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gerrit-patch-gwtexpui/src/main/java" path="3" type="2"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gerrit-patch-jgit/src/main/java" path="3" type="2"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gerrit-reviewdb/src/main/java" path="3" type="2"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gerrit-common/src/main/java" path="3" type="2"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gerrit-gwtui/src/main/java" path="3" type="2"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry containerPath="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER" path="3" type="4"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gwtexpui/src/main/java" path="3" type="2"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gwtjsonrpc/src/main/java" path="3" type="2"/> "/> -<listEntry value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <runtimeClasspathEntry internalArchive="/gwtorm/src/main/java" path="3" type="2"/> "/> -</listAttribute> -<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.maven.ide.eclipse.launchconfig.classpathProvider"/> -<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="false"/> -<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.google.gwt.dev.HostedMode"/> -<stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS" value="-startupUrl / -war ${resource_loc:/gerrit-gwtui/target}/gwt-hosted-mode -server com.google.gerrit.gwtdebug.GerritDebugLauncher com.google.gerrit.GerritGwtUI"/> -<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="gerrit-gwtdbug"/> -<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.maven.ide.eclipse.launchconfig.sourcepathProvider"/> -<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-XstartOnFirstThread -Xmx256M -DGerritServer=${resource_loc:/gerrit-parent/GerritServer.properties} -Dcom.google.gerrit.httpd.auth.become=true"/> -</launchConfiguration> |