You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@chemistry.apache.org by je...@apache.org on 2011/04/21 11:07:52 UTC

svn commit: r1095633 - in /chemistry/opencmis/trunk/chemistry-opencmis-server: chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/ chemistry-opencmis-server-inmemory/ chemistry-opencmis-server-inmemory/src/main/webapp/

Author: jens
Date: Thu Apr 21 09:07:52 2011
New Revision: 1095633

URL: http://svn.apache.org/viewvc?rev=1095633&view=rev
Log:
share CSS and image with server framework, add simple browser-binding test application

Removed:
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/webapp/asf_logo.png
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/webapp/chemistry_logo_small.png
Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/web.xml
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml
    chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/webapp/index.jsp

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/web.xml?rev=1095633&r1=1095632&r2=1095633&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/web.xml (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/web.xml Thu Apr 21 09:07:52 2011
@@ -24,8 +24,8 @@
 	<display-name>OpenCMIS Server</display-name>
 
 	<welcome-file-list>
-		<welcome-file>index.html</welcome-file>
 		<welcome-file>index.jsp</welcome-file>
+		<welcome-file>index.html</welcome-file>
 	</welcome-file-list>
 
 	<listener>

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml?rev=1095633&r1=1095632&r2=1095633&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/pom.xml Thu Apr 21 09:07:52 2011
@@ -94,17 +94,32 @@
 				       <linkedResource>
 					       <name>src/main/webapp/WEB-INF/sun-jaxws.xml</name> 
 						   <type>1</type> 
-						   <location>${basedir}/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/sun-jaxws.xml</location>
+						   <location>WORKSPACE_LOC/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/sun-jaxws.xml</location>
 					   </linkedResource>
 				       <linkedResource>
 					       <name>src/main/webapp/WEB-INF/web.xml</name> 
 						   <type>1</type> 
-						   <location>${basedir}/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/web.xml</location>
+						   <location>WORKSPACE_LOC/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/web.xml</location>
 					   </linkedResource>
 				       <linkedResource>
 					       <name>src/main/webapp/WEB-INF/wsdl</name> 
 						   <type>2</type> 
-						   <location>${basedir}/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/wsdl</location>
+						   <location>WORKSPACE_LOC/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/WEB-INF/wsdl</location>
+					   </linkedResource>
+				       <linkedResource>
+					       <name>src/main/webapp/css</name> 
+						   <type>2</type> 
+						   <location>WORKSPACE_LOC/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/css</location>
+					   </linkedResource>
+				       <linkedResource>
+					       <name>src/main/webapp/images</name> 
+						   <type>2</type> 
+						   <location>WORKSPACE_LOC/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/images</location>
+					   </linkedResource>
+				       <linkedResource>
+					       <name>src/main/webapp/web</name> 
+						   <type>2</type> 
+						   <location>WORKSPACE_LOC/chemistry-opencmis-server/chemistry-opencmis-server-bindings/src/main/webapp/web</location>
 					   </linkedResource>
 				   </linkedResources>
                 </configuration>            

Modified: chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/webapp/index.jsp
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/webapp/index.jsp?rev=1095633&r1=1095632&r2=1095633&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/webapp/index.jsp (original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-server/chemistry-opencmis-server-inmemory/src/main/webapp/index.jsp Thu Apr 21 09:07:52 2011
@@ -35,71 +35,8 @@
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
+<link rel="stylesheet" type="text/css" href="css/opencmis.css"/>
 <title>Apache Chemistry OpenCMIS-InMemory Server</title>
-<style type="text/css">
-
-body {
-  font-family: Verdana, arial, sans-serif;
-  color: black;
-  font-size: 12px;
-}
-
-h1 {
-  font-size: 24px;
-  line-height: normal;
-  font-weight: bold;
-  background-color: #f0f0f0;
-  color: #003366;
-   border-bottom: 1px solid #3c78b5;
-  padding: 2px;
-  margin: 36px 0px 4px 0px;
-}
-
-h2 {
-  font-size: 18px;
-  line-height: normal;
-  font-weight: bold;
-  background-color: #f0f0f0;
-   border-bottom: 1px solid #3c78b5;
-  padding: 2px;
-  margin: 27px 0px 4px 0px;
-}
-
-h3 {
-  font-size: 14px;
-  line-height: normal;
-  font-weight: bold;
-  background-color: #f0f0f0;
-  padding: 2px;
-  margin: 21px 0px 4px 0px;
-}
-
-h4 {
-  font-size: 12px;
-  line-height: normal;
-  font-weight: bold;
-  background-color: #f0f0f0;
-  padding: 2px;
-  margin: 18px 0px 4px 0px;
-}
-
-HR {
-  color: 3c78b5;
-  height: 1;
-}
-
-th  {
-    border: 1px solid #ccc;
-    padding: 2px 4px 2px 4px;
-    background: #f0f0f0;
-    text-align: center;
-}
-
-td  {
-    border: 1px solid #ccc;
-    padding: 3px 4px 3px 4px;
-}
-</style>
 
 <%!
 	private StoreManager getStoreManager(HttpServletRequest request) {
@@ -116,7 +53,7 @@ td  {
 
 </head>
 <body>
-  <img alt="Apache Chemistry Logo" title="Apache Chemistry Logo" src="chemistry_logo_small.png" />
+  <img alt="Apache Chemistry Logo" title="Apache Chemistry Logo" src="images/chemistry_logo_small.png" />
 
 <h1>OpenCMIS InMemory Server</h1>
 <p> Your server is up and running.</p>
@@ -148,6 +85,14 @@ in properties (createdBy, etc.), passwor
 not perform any kind of secure authentication.
 </p>
 
+<h2>Web Interface</h2>
+<p>
+The <a href="web">OpenCMIS web interface</a> is simple web interface to access
+the repository. Please note that this is not the usual way to access the repository.
+Usually you will use a client application supporting the CMIS specification like
+the CMIS workbench.
+</p>
+
 <h2>NOTICE</h2>
 <p>
 This is an unsupported and experimental service. Any use is at your own risk.
@@ -284,7 +229,7 @@ This software is licensed under the 
 <br/>
 
 <a href="http://www.apache.org">
-  <img alt="ASF Logo" title="ASF Logo" src="asf_logo.png" align="right"/>
+  <img alt="ASF Logo" title="ASF Logo" src="images/asf_logo.png" align="right"/>
 </a>
 
 </body>