Update to GWT 2.0.0
Unfortunately GWT now requires the gwt.codesvr query parameter in the URL anytime we load our host page with GWT code in it. To ensure it is always present we save it into a cookie during startup and redirect back to ourselves with the parameter added back into the URL if it was not already present. Since this block of JavaScript isn't needed in production we strip it out of the host page unless our magical system property has been set to true indicating we were launched through our debug launcher. We also no longer strongly name the nocache file if we are in the GWT development mode. Change-Id: Ia7a91f66e21088ba269410d76461fe0be4480825 Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
parent
a06dc11ffe
commit
d554cc21ad
@ -36,7 +36,6 @@ limitations under the License.
|
||||
<dependency>
|
||||
<groupId>com.google.gwt</groupId>
|
||||
<artifactId>gwt-dev</artifactId>
|
||||
<classifier>${platform}</classifier>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
@ -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 =
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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">
|
||||
|
@ -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>
|
||||
|
46
pom.xml
46
pom.xml
@ -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>
|
||||
|
@ -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>
|
@ -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>
|
Loading…
Reference in New Issue
Block a user