331042 Making the context path of the admin app configurable through the index redirect page
diff --git a/org.eclipse.virgo.apps.admin.web/src/main/webapp/index.html b/org.eclipse.virgo.apps.admin.web/src/main/webapp/index.html
index cfa0481..ee93ff8 100644
--- a/org.eclipse.virgo.apps.admin.web/src/main/webapp/index.html
+++ b/org.eclipse.virgo.apps.admin.web/src/main/webapp/index.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Virgo Console</title>
- <meta http-equiv="REFRESH" content="0;url=/admin/web/info/overview.htm">
+ <meta http-equiv="REFRESH" content="0;url=web/info/overview.htm">
</head>
<body>
<br/>
diff --git a/org.eclipse.virgo.apps.admin.web/template.mf b/org.eclipse.virgo.apps.admin.web/template.mf
index 572bedd..b801271 100644
--- a/org.eclipse.virgo.apps.admin.web/template.mf
+++ b/org.eclipse.virgo.apps.admin.web/template.mf
@@ -34,4 +34,3 @@
org.springframework.context.config;version="${org.springframework:[2.5.6, +1)}",
org.springframework.beans.factory.xml;version="${org.springframework:[2.5.6, +1)}"
Excluded-Exports: *
-Web-ContextPath: admin
diff --git a/org.eclipse.virgo.apps.admin/src/org.eclipse.virgo.apps.admin.plan b/org.eclipse.virgo.apps.admin/src/org.eclipse.virgo.apps.admin.plan
index 606d5ea..fa46cd0 100644
--- a/org.eclipse.virgo.apps.admin/src/org.eclipse.virgo.apps.admin.plan
+++ b/org.eclipse.virgo.apps.admin/src/org.eclipse.virgo.apps.admin.plan
@@ -7,5 +7,8 @@
http://www.eclipse.org/virgo/schema/plan/eclipse-virgo-plan.xsd">
<artifact type="bundle" name="org.eclipse.virgo.apps.admin.core" version="[2.2,3.0)"/>
- <artifact type="bundle" name="org.eclipse.virgo.apps.admin.web" version="[2.2,3.0)"/>
+ <artifact type="bundle" name="org.eclipse.virgo.apps.admin.web" version="[2.2,3.0)">
+ <property name="header:Web-ContextPath" value="/admin" />
+ </artifact>
+
</plan>