Revert add .war extension
authorMathieu Baudier <mbaudier@argeo.org>
Tue, 1 Mar 2011 20:13:26 +0000 (20:13 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Tue, 1 Mar 2011 20:13:26 +0000 (20:13 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@4258 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

18 files changed:
server/modules/org.argeo.server.osgi.webapp.war/.project [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/.settings/org.eclipse.pde.core.prefs [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/META-INF/MANIFEST.MF [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/applicationContext.xml [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/osgi.xml [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/security.xml [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/service-servlet.xml [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/web.xml [deleted file]
server/modules/org.argeo.server.osgi.webapp.war/build.properties [deleted file]
server/modules/org.argeo.server.osgi.webapp/.project [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/.settings/org.eclipse.pde.core.prefs [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/META-INF/MANIFEST.MF [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/WEB-INF/applicationContext.xml [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/WEB-INF/osgi.xml [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/WEB-INF/security.xml [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/WEB-INF/service-servlet.xml [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/WEB-INF/web.xml [new file with mode: 0644]
server/modules/org.argeo.server.osgi.webapp/build.properties [new file with mode: 0644]

diff --git a/server/modules/org.argeo.server.osgi.webapp.war/.project b/server/modules/org.argeo.server.osgi.webapp.war/.project
deleted file mode 100644 (file)
index 93ccf84..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.server.osgi.webapp</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-       </natures>
-</projectDescription>
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/.settings/org.eclipse.pde.core.prefs b/server/modules/org.argeo.server.osgi.webapp.war/.settings/org.eclipse.pde.core.prefs
deleted file mode 100644 (file)
index fd884c2..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-#Tue Mar 01 15:09:47 CET 2011
-eclipse.preferences.version=1
-pluginProject.extensions=false
-resolve.requirebundle=false
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/META-INF/MANIFEST.MF b/server/modules/org.argeo.server.osgi.webapp.war/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index ca03a92..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: OSGi Webapp
-Bundle-SymbolicName: org.argeo.server.osgi.webapp
-Bundle-Version: 1.0.0.qualifier
-Bundle-Vendor: Argeo
-Web-ContextPath: org.argeo.osgi.webapp
-Import-Package: org.eclipse.equinox.http.servlet;version="1.1.0",
- org.springframework.osgi.web.context.support;version="1.2.1",
- org.springframework.security;version="2.0.6.RELEASE",
- org.springframework.security.ui.webapp;version="2.0.6.RELEASE",
- org.springframework.web.context;version="2.5.6.SEC01",
- org.springframework.web.filter;version="2.5.6.SEC01",
- org.springframework.web.servlet;version="2.5.6.SEC01",
- org.springframework.web.servlet.handler;version="2.5.6.SEC01",
- org.springframework.web.servlet.mvc;version="2.5.6.SEC01"
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/applicationContext.xml b/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/applicationContext.xml
deleted file mode 100644 (file)
index febc4b9..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
-
-       <import resource="osgi.xml" />
-<!--   <import resource="security.xml" />-->
-
-</beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/osgi.xml b/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/osgi.xml
deleted file mode 100644 (file)
index d344cc8..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
-       xmlns:security="http://www.springframework.org/schema/security"\r
-       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
-       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
-       http://www.springframework.org/schema/beans   \r
-       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
-       http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd">\r
-\r
-       <reference id="_authenticationManager"\r
-               interface="org.springframework.security.AuthenticationManager" />\r
-</beans:beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/security.xml b/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/security.xml
deleted file mode 100644 (file)
index d606d03..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:security="http://www.springframework.org/schema/security"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
-
-       <security:http>
-               <security:form-login login-page="/rap?startup=secureWebUi" />
-               <security:intercept-url pattern="/**"
-                       access="ROLE_USER,ROLE_ADMIN,ROLE_ANONYMOUS" />
-       </security:http>
-</beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/service-servlet.xml b/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/service-servlet.xml
deleted file mode 100644 (file)
index 7a05219..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
-       xsi:schemaLocation="
-       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
-       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
-       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
-
-
-       <bean id="urlMapping"
-               class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
-               <property name="mappings">
-                       <props>
-                               <prop key="*">osgiServiceController</prop>
-                       </props>
-               </property>
-       </bean>
-
-       <bean id="osgiServiceController"
-               class="org.springframework.web.servlet.mvc.ServletWrappingController">
-               <property name="servletClass">
-                       <value>org.eclipse.equinox.http.servlet.HttpServiceServlet</value>
-               </property>
-               <property name="servletName">
-                       <value>osgiService</value>
-               </property>
-       </bean>
-</beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/web.xml b/server/modules/org.argeo.server.osgi.webapp.war/WEB-INF/web.xml
deleted file mode 100644 (file)
index 16388e4..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
-       version="2.5">
-
-       <display-name>Argeo OSGi Webapp</display-name>
-
-       <!-- General -->
-       <context-param>
-               <param-name>contextConfigLocation</param-name>
-               <param-value>/WEB-INF/applicationContext.xml</param-value>
-       </context-param>
-
-       <listener>
-               <display-name>Spring Context</display-name>
-               <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
-       </listener>
-       <context-param>
-               <param-name>contextClass</param-name>
-               <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
-       </context-param>
-
-       <!-- OSGi Http Service -->
-       <servlet>
-               <servlet-name>service</servlet-name>
-               <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
-               <init-param>
-                       <param-name>contextClass</param-name>
-                       <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
-               </init-param>
-               <load-on-startup>1</load-on-startup>
-       </servlet>
-
-       <servlet-mapping>
-               <servlet-name>service</servlet-name>
-               <url-pattern>/*</url-pattern>
-       </servlet-mapping>
-
-       <!-- Security -->
-<!--   <filter>-->
-<!--           <filter-name>springSecurityFilterChain</filter-name>-->
-<!--           <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>-->
-<!--   </filter>-->
-<!---->
-<!--   <filter-mapping>-->
-<!--           <filter-name>springSecurityFilterChain</filter-name>-->
-<!--           <url-pattern>/*</url-pattern>-->
-<!--   </filter-mapping>-->
-
-</web-app>
diff --git a/server/modules/org.argeo.server.osgi.webapp.war/build.properties b/server/modules/org.argeo.server.osgi.webapp.war/build.properties
deleted file mode 100644 (file)
index 29dea25..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-bin.includes = META-INF/,\
-               WEB-INF/
diff --git a/server/modules/org.argeo.server.osgi.webapp/.project b/server/modules/org.argeo.server.osgi.webapp/.project
new file mode 100644 (file)
index 0000000..93ccf84
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.server.osgi.webapp</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+       </natures>
+</projectDescription>
diff --git a/server/modules/org.argeo.server.osgi.webapp/.settings/org.eclipse.pde.core.prefs b/server/modules/org.argeo.server.osgi.webapp/.settings/org.eclipse.pde.core.prefs
new file mode 100644 (file)
index 0000000..fd884c2
--- /dev/null
@@ -0,0 +1,4 @@
+#Tue Mar 01 15:09:47 CET 2011
+eclipse.preferences.version=1
+pluginProject.extensions=false
+resolve.requirebundle=false
diff --git a/server/modules/org.argeo.server.osgi.webapp/META-INF/MANIFEST.MF b/server/modules/org.argeo.server.osgi.webapp/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..ca03a92
--- /dev/null
@@ -0,0 +1,16 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: OSGi Webapp
+Bundle-SymbolicName: org.argeo.server.osgi.webapp
+Bundle-Version: 1.0.0.qualifier
+Bundle-Vendor: Argeo
+Web-ContextPath: org.argeo.osgi.webapp
+Import-Package: org.eclipse.equinox.http.servlet;version="1.1.0",
+ org.springframework.osgi.web.context.support;version="1.2.1",
+ org.springframework.security;version="2.0.6.RELEASE",
+ org.springframework.security.ui.webapp;version="2.0.6.RELEASE",
+ org.springframework.web.context;version="2.5.6.SEC01",
+ org.springframework.web.filter;version="2.5.6.SEC01",
+ org.springframework.web.servlet;version="2.5.6.SEC01",
+ org.springframework.web.servlet.handler;version="2.5.6.SEC01",
+ org.springframework.web.servlet.mvc;version="2.5.6.SEC01"
diff --git a/server/modules/org.argeo.server.osgi.webapp/WEB-INF/applicationContext.xml b/server/modules/org.argeo.server.osgi.webapp/WEB-INF/applicationContext.xml
new file mode 100644 (file)
index 0000000..febc4b9
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
+
+       <import resource="osgi.xml" />
+<!--   <import resource="security.xml" />-->
+
+</beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp/WEB-INF/osgi.xml b/server/modules/org.argeo.server.osgi.webapp/WEB-INF/osgi.xml
new file mode 100644 (file)
index 0000000..d344cc8
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+       xmlns:security="http://www.springframework.org/schema/security"\r
+       xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
+       http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
+       http://www.springframework.org/schema/beans   \r
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+       http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.xsd">\r
+\r
+       <reference id="_authenticationManager"\r
+               interface="org.springframework.security.AuthenticationManager" />\r
+</beans:beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp/WEB-INF/security.xml b/server/modules/org.argeo.server.osgi.webapp/WEB-INF/security.xml
new file mode 100644 (file)
index 0000000..d606d03
--- /dev/null
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:security="http://www.springframework.org/schema/security"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+       http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-2.0.4.xsd">
+
+       <security:http>
+               <security:form-login login-page="/rap?startup=secureWebUi" />
+               <security:intercept-url pattern="/**"
+                       access="ROLE_USER,ROLE_ADMIN,ROLE_ANONYMOUS" />
+       </security:http>
+</beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp/WEB-INF/service-servlet.xml b/server/modules/org.argeo.server.osgi.webapp/WEB-INF/service-servlet.xml
new file mode 100644 (file)
index 0000000..7a05219
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
+       xsi:schemaLocation="
+       http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
+       http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
+       http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
+
+
+       <bean id="urlMapping"
+               class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
+               <property name="mappings">
+                       <props>
+                               <prop key="*">osgiServiceController</prop>
+                       </props>
+               </property>
+       </bean>
+
+       <bean id="osgiServiceController"
+               class="org.springframework.web.servlet.mvc.ServletWrappingController">
+               <property name="servletClass">
+                       <value>org.eclipse.equinox.http.servlet.HttpServiceServlet</value>
+               </property>
+               <property name="servletName">
+                       <value>osgiService</value>
+               </property>
+       </bean>
+</beans>
\ No newline at end of file
diff --git a/server/modules/org.argeo.server.osgi.webapp/WEB-INF/web.xml b/server/modules/org.argeo.server.osgi.webapp/WEB-INF/web.xml
new file mode 100644 (file)
index 0000000..16388e4
--- /dev/null
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
+       version="2.5">
+
+       <display-name>Argeo OSGi Webapp</display-name>
+
+       <!-- General -->
+       <context-param>
+               <param-name>contextConfigLocation</param-name>
+               <param-value>/WEB-INF/applicationContext.xml</param-value>
+       </context-param>
+
+       <listener>
+               <display-name>Spring Context</display-name>
+               <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
+       </listener>
+       <context-param>
+               <param-name>contextClass</param-name>
+               <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
+       </context-param>
+
+       <!-- OSGi Http Service -->
+       <servlet>
+               <servlet-name>service</servlet-name>
+               <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
+               <init-param>
+                       <param-name>contextClass</param-name>
+                       <param-value>org.springframework.osgi.web.context.support.OsgiBundleXmlWebApplicationContext</param-value>
+               </init-param>
+               <load-on-startup>1</load-on-startup>
+       </servlet>
+
+       <servlet-mapping>
+               <servlet-name>service</servlet-name>
+               <url-pattern>/*</url-pattern>
+       </servlet-mapping>
+
+       <!-- Security -->
+<!--   <filter>-->
+<!--           <filter-name>springSecurityFilterChain</filter-name>-->
+<!--           <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>-->
+<!--   </filter>-->
+<!---->
+<!--   <filter-mapping>-->
+<!--           <filter-name>springSecurityFilterChain</filter-name>-->
+<!--           <url-pattern>/*</url-pattern>-->
+<!--   </filter-mapping>-->
+
+</web-app>
diff --git a/server/modules/org.argeo.server.osgi.webapp/build.properties b/server/modules/org.argeo.server.osgi.webapp/build.properties
new file mode 100644 (file)
index 0000000..29dea25
--- /dev/null
@@ -0,0 +1,2 @@
+bin.includes = META-INF/,\
+               WEB-INF/