Move all resource files into src/main/resources
Instead of mingling our resource files alongside of our Java source code, move them into the src/main/resources directory where Maven normally expects them to be. We only move the resources which actually have to appear at runtime in our CLASSPATH, which means we can omit the GWT message files and linker scripts (*.gwt.xml) from the resource directory. Change-Id: I18c573501f4d60ced35a247fb6ef6a056f774b1c Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form method="GET">
|
||||
<b>ssh_user_name:</b>
|
||||
<input type="text" size="30" name="ssh_user_name" />
|
||||
<input type="submit" value="Become Account" />
|
||||
</form>
|
||||
|
||||
<form method="GET">
|
||||
<b>preferred_email:</b>
|
||||
<input type="text" size="30" name="preferred_email" />
|
||||
<input type="submit" value="Become Account" />
|
||||
</form>
|
||||
|
||||
<form method="GET">
|
||||
<b>account_id:</b>
|
||||
<input type="text" size="12" name="account_id" />
|
||||
<input type="submit" value="Become Account" />
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,21 @@
|
||||
<!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 type="text/javascript" language="javascript">
|
||||
var href = window.location.href;
|
||||
var p = href.indexOf('#');
|
||||
var token;
|
||||
if (p >= 0) {
|
||||
token = href.substring(p + 1);
|
||||
href = href.substring(0, p);
|
||||
} else {
|
||||
token = 'mine';
|
||||
}
|
||||
window.location.replace(href + 'login/' + token);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href="login/mine">Gerrit Code Review</a>.</p>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,27 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>Gerrit Code Review</title>
|
||||
<meta name="gwt:property" content="locale=en_US" />
|
||||
<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>
|
||||
<style id="gerrit_sitecss" type="text/css"></style>
|
||||
<link rel="icon" type="image/gif" href="favicon.ico" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="gerrit_topmenu"></div>
|
||||
<div id="gerrit_header"></div>
|
||||
<div id="gerrit_startinggerrit" style="margin-left: 10px;">
|
||||
<p>Loading <a href="http://code.google.com/p/gerrit/" target="_blank">Gerrit Code Review</a> ...</p>
|
||||
<noscript>
|
||||
<p>Gerrit requires a JavaScript enabled browser.</p>
|
||||
</noscript>
|
||||
</div>
|
||||
<div id="gerrit_body"></div>
|
||||
<div id="gerrit_pagefooter">
|
||||
<div id="gerrit_footer"></div>
|
||||
<div id="gerrit_btmmenu"></div>
|
||||
</div>
|
||||
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,27 @@
|
||||
<!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 type="text/javascript" language="javascript">
|
||||
var href = window.location.href;
|
||||
var p = href.indexOf('#');
|
||||
var token = '';
|
||||
if (p >= 0) {
|
||||
token = href.substring(p);
|
||||
href = href.substring(0, p);
|
||||
}
|
||||
|
||||
var r = '/Gerrit';
|
||||
if (href.length >= r.length
|
||||
&& href.substring(href.length - r.length) == r) {
|
||||
href = href.substring(0, href.length - r.length + 1) + token;
|
||||
} else {
|
||||
href = '.' + token;
|
||||
}
|
||||
window.location.replace(href);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting to <a href=".">Gerrit Code Review</a>.</p>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user