You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by da...@apache.org on 2010/11/05 09:45:29 UTC

svn commit: r1031473 - in /incubator/isis/trunk/support/prototype/viewer-scimpi: ./ ide/ ide/eclipse/ ide/eclipse/launch/ src/ src/main/ src/main/resources/ src/main/resources/images/ src/main/webapp/ src/main/webapp/WEB-INF/ src/main/webapp/images/

Author: danhaywood
Date: Fri Nov  5 08:45:28 2010
New Revision: 1031473

URL: http://svn.apache.org/viewvc?rev=1031473&view=rev
Log:
working on the scimpi viewer for support/prototype

Added:
    incubator/isis/trunk/support/prototype/viewer-scimpi/   (with props)
    incubator/isis/trunk/support/prototype/viewer-scimpi/ide/
    incubator/isis/trunk/support/prototype/viewer-scimpi/ide/eclipse/
    incubator/isis/trunk/support/prototype/viewer-scimpi/ide/eclipse/launch/
    incubator/isis/trunk/support/prototype/viewer-scimpi/pom.xml
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/resources/
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/resources/images/
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/resources/images/Default.png   (with props)
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/allow
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/passwords
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner-bg.png   (with props)
    incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner.png   (with props)

Propchange: incubator/isis/trunk/support/prototype/viewer-scimpi/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Fri Nov  5 08:45:28 2010
@@ -0,0 +1,4 @@
+.settings
+target
+.classpath
+.project

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/pom.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/pom.xml?rev=1031473&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-scimpi/pom.xml (added)
+++ incubator/isis/trunk/support/prototype/viewer-scimpi/pom.xml Fri Nov  5 08:45:28 2010
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.isis.support</groupId>
+        <artifactId>prototype</artifactId>
+        <version>0.1-SNAPSHOT</version>
+    </parent>
+
+	<artifactId>prototype-viewer-scimpi</artifactId>
+	<name>Prototype Scimpi Viewer</name>
+	
+	<packaging>war</packaging>
+
+	<build>
+		<plugins>
+            <plugin>
+                <groupId>org.mortbay.jetty</groupId>
+                <artifactId>maven-jetty-plugin</artifactId>
+            </plugin>
+		</plugins>
+	</build>
+
+	<dependencies>
+	
+        <!-- other modules in this project -->
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>prototype-dom</artifactId>
+        </dependency>
+        
+        <dependency>
+            <groupId>${project.groupId}</groupId>
+            <artifactId>prototype-fixture</artifactId>
+            <scope>runtime</scope>
+            <optional>true</optional>
+        </dependency>
+
+
+		<!-- Isis -->
+		<dependency>
+	        <groupId>org.apache.isis.viewer</groupId>
+			<artifactId>scimpi-servlet</artifactId>
+		</dependency>
+
+        <!-- Isis defaults -->
+        <dependency>
+            <groupId>org.apache.isis.defaults</groupId>
+            <artifactId>security</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.isis.defaults</groupId>
+            <artifactId>objectstore</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.isis.defaults</groupId>
+            <artifactId>bytecode</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.isis.defaults</groupId>
+            <artifactId>progmodel</artifactId>
+        </dependency>
+
+        <!-- Isis alternatives -->        
+        <dependency>
+            <groupId>org.apache.isis.alternatives.security</groupId>
+            <artifactId>file</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.isis.alternatives.objectstore</groupId>
+            <artifactId>xml</artifactId>
+        </dependency>
+        
+        <!-- to run using WebServer -->
+        <dependency>
+            <groupId>org.apache.isis.core</groupId>
+            <artifactId>webserver</artifactId>
+            <scope>runtime</scope>
+            <optional>true</optional>
+        </dependency>
+
+	</dependencies>
+
+</project>

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/resources/images/Default.png
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/resources/images/Default.png?rev=1031473&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/resources/images/Default.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/allow
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/allow?rev=1031473&view=auto
==============================================================================
    (empty)

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties?rev=1031473&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties (added)
+++ incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/isis.properties Fri Nov  5 08:45:28 2010
@@ -0,0 +1,25 @@
+isis.services.prefix = org.apache.isis.support.prototype.objstore.dflt
+isis.services = employee.EmployeeRepositoryInMemory, claim.ClaimRepositoryInMemory
+
+isis.fixtures.prefix= org.apache.isis.support.prototype.fixture
+isis.fixtures= ClaimsFixture
+
+isis.exploration.users=sven, dick, bob
+
+
+isis.reflector.class-substitutor=org.apache.isis.bytecode.cglib.specloader.classsubstitutor.CglibClassSubstitutor
+#isis.reflector.class-substitutor=org.apache.isis.bytecode.javassist.specloader.classsubstitutor.javassistclasssubstitutor
+#isis.reflector.class-substitutor=org.apache.isis.metamodel.specloader.classsubstitutor.ClassSubstitutorIdentity
+
+
+isis.persistor.object-factory=org.apache.isis.bytecode.cglib.persistence.objectfactory.CglibObjectFactory
+#isis.persistor.object-factory=org.apache.isis.bytecode.javassist.persistence.objectfactory.JavassistObjectFactory
+#isis.persistor.object-factory=org.apache.isis.runtime.persistence.objectfactory.ObjectFactoryBasic
+
+
+isis.persistor.domain-object-container=org.apache.isis.metamodel.services.container.DomainObjectContainerDefault
+#nakedobjects.persistor.domain-object-container=org.apache.isis.extensions.headless.viewer.DomainObjectContainerHeadlessViewer
+
+
+isis.persistor=in-memory
+#isis.xmlos.dir=/tmp/xml
\ No newline at end of file

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties?rev=1031473&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties (added)
+++ incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties Fri Nov  5 08:45:28 2010
@@ -0,0 +1,22 @@
+# apache's log4j is used to provide system logging.
+#log4j.rootCategory=DEBUG, Console, File
+log4j.rootCategory=INFO, Console, File
+
+# The console appender
+log4j.appender.Console=org.apache.log4j.ConsoleAppender
+log4j.appender.Console.target=System.out
+log4j.appender.Console.layout=org.apache.log4j.PatternLayout
+log4j.appender.Console.layout.ConversionPattern=%d{ABSOLUTE}  [%-20c{1} %-10t %-5p]  %m%n
+
+
+log4j.appender.File=org.apache.log4j.RollingFileAppender
+log4j.appender.File.file=isis.log
+log4j.appender.File.append=false
+#log4j.appender.File.maxFileSize=500KB
+#log4j.appender.File.maxBackupIndex=1
+log4j.appender.File.layout=org.apache.log4j.PatternLayout
+log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p]  %m%n
+
+
+
+

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/passwords
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/passwords?rev=1031473&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/passwords (added)
+++ incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/passwords Fri Nov  5 08:45:28 2010
@@ -0,0 +1,4 @@
+sven:pass
+dick:pass
+bob:pass
+joe:pass

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/web.xml?rev=1031473&view=auto
==============================================================================
--- incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/web.xml (added)
+++ incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/WEB-INF/web.xml Fri Nov  5 08:45:28 2010
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app id="WebApp_ID" version="2.4"
+    xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
+
+    <display-name>Apache Isis S Viewer</display-name>
+
+    <welcome-file-list>
+        <welcome-file>index.shtml</welcome-file>
+    </welcome-file-list>
+
+    <listener>
+        <listener-class>org.apache.isis.webapp.IsisWebAppBootstrapper</listener-class>
+    </listener>
+
+    <servlet>
+        <servlet-name>dispatcher</servlet-name>
+        <servlet-class>org.apache.isis.webapp.servlet.DispatcherServlet</servlet-class>
+        <load-on-startup>1</load-on-startup>
+    </servlet>
+
+    <servlet-mapping>
+        <servlet-name>dispatcher</servlet-name>
+        <url-pattern>*.shtml</url-pattern>
+    </servlet-mapping>
+
+    <servlet-mapping>
+        <servlet-name>dispatcher</servlet-name>
+        <url-pattern>*.app</url-pattern>
+    </servlet-mapping>
+
+</web-app>

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner-bg.png
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner-bg.png?rev=1031473&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner-bg.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner.png
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner.png?rev=1031473&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/isis/trunk/support/prototype/viewer-scimpi/src/main/webapp/images/banner.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream