静 黎 has uploaded a new change for review. Change subject: userportal:shorten the url of userportal ......................................................................
userportal:shorten the url of userportal Shorten the value of runTarget from "/UserPortal/org.ovirt.engine.ui.userportal.UserPortal/UserPortal.html" to "/UserPortal/UserPortal/UserPortal.html" Change-Id: Id04a69145302182bb8c7e43cf46c7fbe272a9e37 Signed-off-by: 黎静 <mobi...@gmail.com> --- M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/UserportalDynamicHostingServlet.java M frontend/webadmin/modules/userportal-gwtp/pom.xml M frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml M frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml M frontend/webadmin/modules/userportal-gwtp/src/main/webapp/index.html 5 files changed, 6 insertions(+), 6 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/65/12465/1 diff --git a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/UserportalDynamicHostingServlet.java b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/UserportalDynamicHostingServlet.java index 29bb65b..5eb6435 100644 --- a/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/UserportalDynamicHostingServlet.java +++ b/frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/server/gwt/UserportalDynamicHostingServlet.java @@ -15,7 +15,7 @@ @Override protected String getSelectorScriptName() { - return "org.ovirt.engine.ui.userportal.UserPortal.nocache.js"; //$NON-NLS-1$ + return "UserPortal.nocache.js"; //$NON-NLS-1$ } @Override diff --git a/frontend/webadmin/modules/userportal-gwtp/pom.xml b/frontend/webadmin/modules/userportal-gwtp/pom.xml index 31a2687..f137486 100644 --- a/frontend/webadmin/modules/userportal-gwtp/pom.xml +++ b/frontend/webadmin/modules/userportal-gwtp/pom.xml @@ -199,7 +199,7 @@ <groupId>org.codehaus.mojo</groupId> <artifactId>gwt-maven-plugin</artifactId> <configuration> - <runTarget>/UserPortal/org.ovirt.engine.ui.userportal.UserPortal/UserPortal.html</runTarget> + <runTarget>/UserPortal/UserPortal/UserPortal.html</runTarget> </configuration> <executions> <execution> diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml index 152efcf..9fb2009 100644 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml +++ b/frontend/webadmin/modules/userportal-gwtp/src/main/resources/org/ovirt/engine/ui/userportal/UserPortal.gwt.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.3.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.3.0/distro-source/core/src/gwt-module.dtd"> -<module rename-to="org.ovirt.engine.ui.userportal.UserPortal"> +<module rename-to="UserPortal"> <!-- Inherit oVirt common GWT module --> <inherits name="org.ovirt.engine.ui.common.GwtCommon" /> diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml b/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml index 9791f3f..6225036 100644 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml +++ b/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/WEB-INF/web.xml @@ -10,7 +10,7 @@ <servlet-mapping> <servlet-name>org.ovirt.engine.ui.frontend.UserPortal GenericApiGWTService</servlet-name> - <url-pattern>/org.ovirt.engine.ui.userportal.UserPortal/GenericApiGWTService</url-pattern> + <url-pattern>/UserPortal/GenericApiGWTService</url-pattern> </servlet-mapping> <servlet> @@ -20,7 +20,7 @@ <servlet-mapping> <servlet-name>UserPortalDynamicHosting</servlet-name> - <url-pattern>/org.ovirt.engine.ui.userportal.UserPortal/UserPortal.html</url-pattern> + <url-pattern>/UserPortal/UserPortal.html</url-pattern> </servlet-mapping> <!-- Default page to serve --> diff --git a/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/index.html b/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/index.html index 256c609..49a2a63 100644 --- a/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/index.html +++ b/frontend/webadmin/modules/userportal-gwtp/src/main/webapp/index.html @@ -1,6 +1,6 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> -<meta http-equiv="refresh" content="0;url=org.ovirt.engine.ui.userportal.UserPortal/UserPortal.html"> +<meta http-equiv="refresh" content="0;url=UserPortal/UserPortal.html"> </head> </html> -- To view, visit http://gerrit.ovirt.org/12465 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id04a69145302182bb8c7e43cf46c7fbe272a9e37 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: 静 黎 <mobi...@gmail.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches