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 2014/07/03 17:01:19 UTC

[13/63] [abbrv] [partial] ISIS-832: mothballing components

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/component/viewer/junit/pom.xml
----------------------------------------------------------------------
diff --git a/component/viewer/junit/pom.xml b/component/viewer/junit/pom.xml
deleted file mode 100644
index 3d1f104..0000000
--- a/component/viewer/junit/pom.xml
+++ /dev/null
@@ -1,105 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-         http://www.apache.org/licenses/LICENSE-2.0
-         
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<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.core</groupId>
-		<artifactId>isis</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-		<relativePath>../../../core/pom.xml</relativePath>
-    </parent>
-
-    <groupId>org.apache.isis.viewer</groupId>
-    <artifactId>isis-viewer-junit</artifactId>
-    <version>1.0.0-SNAPSHOT</version>
-
-    <name>Isis JUnit Viewer</name>
-    <packaging>pom</packaging>
-
-    <properties>
-        <siteBaseDir>.</siteBaseDir>
-        <relativeUrl/>
-
-        <isis-progmodel-wrapper.version>1.0.0-SNAPSHOT</isis-progmodel-wrapper.version>
-    </properties>
-
-    <!-- used in Site generation for relative references. -->
-    <url>http://isis.apache.org/${relativeUrl}</url>
-
-    <build>
-		<pluginManagement>
-			<plugins>
-                <!-- Apache Release Audit Tool -->
-                <plugin>
-                    <groupId>org.apache.rat</groupId>
-                    <artifactId>apache-rat-plugin</artifactId>
-                    <version>0.8</version>
-	                <configuration>
-	                    <excludes>
-	                    	<!-- 
-	                    	overriding inherited excludes from oia.core:isis 
-	                    	with a more specific set for this component
-	                    	 -->
-	                        <exclude>**/target/**</exclude>
-	                        <exclude>**/target-ide/**</exclude>
-
-	                        <exclude>**/*.project</exclude>
-	                        <exclude>**/.classpath</exclude>
-	                        <exclude>**/.settings/**</exclude>
-	                    </excludes>
-                    </configuration>
-	            </plugin>
-			</plugins>
-		</pluginManagement>
-    </build>
-
-	<dependencyManagement>
-    	<dependencies>
-
-	    	<!-- for benefit of application developers, using scope=import -->
-			<dependency>
-			    <groupId>org.apache.isis.viewer</groupId>
-			    <artifactId>isis-viewer-junit-impl</artifactId>
-				<version>1.0.0-SNAPSHOT</version>
-			</dependency>
-			<dependency>
-			    <groupId>org.apache.isis.viewer</groupId>
-			    <artifactId>isis-viewer-junit-tck</artifactId>
-				<version>1.0.0-SNAPSHOT</version>
-			</dependency>
-
-
-            <!-- isis non-core components -->
-        	<dependency>
-            	<groupId>org.apache.isis.progmodel</groupId>
-            	<artifactId>isis-progmodel-wrapper-metamodel</artifactId>
-            	<version>${isis-progmodel-wrapper.version}</version>
-        	</dependency>
-	
-    	</dependencies>
-	</dependencyManagement>
-
-	<modules>
-		<module>impl</module>
-		<module>tck</module>
-	</modules>
-	
-</project>

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/component/viewer/junit/src/main/appended-resources/supplemental-models.xml
----------------------------------------------------------------------
diff --git a/component/viewer/junit/src/main/appended-resources/supplemental-models.xml b/component/viewer/junit/src/main/appended-resources/supplemental-models.xml
deleted file mode 100644
index ecd3906..0000000
--- a/component/viewer/junit/src/main/appended-resources/supplemental-models.xml
+++ /dev/null
@@ -1,106 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor 
-    license agreements. See the NOTICE file distributed with this work for additional 
-    information regarding copyright ownership. The ASF licenses this file to 
-    you under the Apache License, Version 2.0 (the "License"); you may not use 
-    this file except in compliance with the License. You may obtain a copy of 
-    the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required 
-    by applicable law or agreed to in writing, software distributed under the 
-    License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS 
-    OF ANY KIND, either express or implied. See the License for the specific 
-    language governing permissions and limitations under the License. -->
-<supplementalDataModels xmlns="http://maven.apache.org/supplemental-model/1.0.0"
-                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-                        xsi:schemaLocation="http://maven.apache.org/supplemental-model/1.0.0 http://maven.apache.org/xsd/supplemental-model-1.0.0.xsd">
-
-  <supplement>
-    <project>
-      <groupId>aopalliance</groupId>
-      <artifactId>aopalliance</artifactId>
-      <version>1.0</version>
-      <licenses>
-          <license>
-              <name>Public Domain</name>
-          </license>
-      </licenses>
-    </project>
-  </supplement>
-
-  <supplement>
-   	<!-- not quite sure why licenses:download-license flags this, since license info seems to be in its POM -->
-    <project>
-		<groupId>org.datanucleus</groupId>
-	    <artifactId>datanucleus-jodatime</artifactId>
-	    <version>3.1.1</version>
-          <licenses>
-			<license>
-	            <name>The Apache Software License, Version 2.0</name>
-	            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-	        </license>
-	    </licenses>
-    </project>
-  </supplement>
-
-  <supplement>
-    <project>
-      <groupId>org.scannotation</groupId>
-      <artifactId>scannotation</artifactId>
-      <version>1.0.3</version>
-      <licenses>
-        <license>
-            <name>The Apache Software License, Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-            <distribution>repo</distribution>          
-        </license>
-      </licenses>
-    </project>
-  </supplement>
-    
-  <supplement>
-    <project>
-      <groupId>dom4j</groupId>
-      <artifactId>dom4j</artifactId>
-      <version>1.6.1</version>
-      <licenses>
-        <license>
-            <name>BSD License</name>
-            <url>http://dom4j.sourceforge.net/dom4j-1.6.1/license.html</url>
-            <distribution>repo</distribution>          
-        </license>
-      </licenses>
-    </project>
-  </supplement>
-
-  <supplement>
-    <project>
-      <groupId>net.jcip</groupId>
-      <artifactId>jcip-annotations</artifactId>
-      <version>1.0</version>
-      <licenses>
-        <license>
-            <name>Creative Commons Attribution 2.5 License</name>
-            <url>http://creativecommons.org/licenses/by/2.5/</url>
-            <distribution>repo</distribution>          
-        </license>
-      </licenses>
-    </project>
-  </supplement>
-  
-
-  <supplement>
-    <project>
-      <groupId>xalan</groupId>
-      <artifactId>xalan</artifactId>
-      <version>2.7.0</version>
-      <licenses>
-        <license>
-            <name>The Apache Software License, Version 2.0</name>
-            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
-            <distribution>repo</distribution>          
-        </license>
-      </licenses>
-    </project>
-  </supplement>
-
- 
-</supplementalDataModels>

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/component/viewer/junit/tck/pom.xml
----------------------------------------------------------------------
diff --git a/component/viewer/junit/tck/pom.xml b/component/viewer/junit/tck/pom.xml
deleted file mode 100644
index 0d82077..0000000
--- a/component/viewer/junit/tck/pom.xml
+++ /dev/null
@@ -1,92 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-         http://www.apache.org/licenses/LICENSE-2.0
-         
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
---><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.core</groupId>
-    	<artifactId>isis-core-tck</artifactId>
-        <version>1.2.0-SNAPSHOT</version>
-        <relativePath>../../../../core/tck/pom.xml</relativePath>
-	</parent>
-
-    <groupId>org.apache.isis.viewer</groupId>
-	<artifactId>isis-viewer-junit-tck</artifactId>
-	<name>Isis JUnit Tests TCK tests</name>
-
-    <properties>
-        <maven.test.skip>true</maven.test.skip>
-        
-        <isis-viewer-junit.version>1.0.0-SNAPSHOT</isis-viewer-junit.version>
-        
-		<siteBaseDir>..</siteBaseDir>
-		<relativeUrl>junit-tck/</relativeUrl>
-		<!-- until someone comes up with a better solution -->
-                <distMgmtSiteUrl>file:///tmp/m2-sites/isis/viewer/junit</distMgmtSiteUrl>
-    </properties>
-
-	<dependencies>
-
-		<!-- this project's dependencies -->
-		<dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-tck-fixture</artifactId>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-metamodel</artifactId>
-        </dependency>
-
-
-        <!-- isis default runtime -->
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-bytecode-cglib</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-objectstore</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-profilestore</artifactId>
-        </dependency>
-        
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-security</artifactId>
-        </dependency>
-
-        <!-- isis testing -->
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-wrapper</artifactId>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-integtestsupport</artifactId>
-            <scope>test</scope>
-        </dependency>
-        
-
-	</dependencies>
-
-</project>

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/component/viewer/junit/tck/src/test/java/junit/AbstractTest.java
----------------------------------------------------------------------
diff --git a/component/viewer/junit/tck/src/test/java/junit/AbstractTest.java b/component/viewer/junit/tck/src/test/java/junit/AbstractTest.java
deleted file mode 100644
index 5697fd2..0000000
--- a/component/viewer/junit/tck/src/test/java/junit/AbstractTest.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package junit;
-
-import org.junit.After;
-import org.junit.Before;
-import org.junit.runner.RunWith;
-
-import org.apache.isis.applib.DomainObjectContainer;
-import org.apache.isis.applib.services.wrapper.WrapperFactory;
-import org.apache.isis.applib.services.wrapper.WrapperObject;
-import org.apache.isis.core.integtestsupport.legacy.ConfigDir;
-import org.apache.isis.core.integtestsupport.legacy.IsisTestRunner;
-import org.apache.isis.core.integtestsupport.legacy.Service;
-import org.apache.isis.core.integtestsupport.legacy.Services;
-import org.apache.isis.core.tck.dom.scalars.PrimitiveValuedEntityRepository;
-import org.apache.isis.core.wrapper.WrapperFactoryDefault;
-
-@RunWith(IsisTestRunner.class)
-@ConfigDir("../../viewer/dnd-tck/src/main/resources")
-@Services({ @Service(PrimitiveValuedEntityRepository.class), @Service(WrapperFactoryDefault.class) })
-public abstract class AbstractTest {
-
-    private DomainObjectContainer domainObjectContainer;
-    private WrapperFactory wrapperFactory;
-
-    /**
-     * The {@link WrapperFactory#wrap(Object) wrapped} equivalent of the
-     * {@link #setFoobarRepository(PrimitiveValuedEntityRepository) injected}
-     * {@link PrimitiveValuedEntityRepository}.
-     */
-    protected PrimitiveValuedEntityRepository primitivesEntityRepository;
-
-    @Before
-    public void wrapInjectedServices() throws Exception {
-        primitivesEntityRepository = wrapped(primitivesEntityRepository);
-    }
-
-    @Before
-    public void setUp() throws Exception {
-    }
-
-    protected <T> T wrapped(final T obj) {
-        return wrapperFactory.wrap(obj);
-    }
-
-    @SuppressWarnings("unchecked")
-    protected <T> T unwrapped(final T obj) {
-        if (obj instanceof WrapperObject) {
-            final WrapperObject wrapperObject = (WrapperObject) obj;
-            return (T) wrapperObject.wrapped();
-        }
-        return obj;
-    }
-
-    @After
-    public void tearDown() throws Exception {
-    }
-
-    // //////////////////////////////////////////////////////
-    // Injected.
-    // //////////////////////////////////////////////////////
-
-    protected WrapperFactory getWrapperFactory() {
-        return wrapperFactory;
-    }
-
-    public void setWrapperFactory(final WrapperFactory wrapperFactory) {
-        this.wrapperFactory = wrapperFactory;
-    }
-
-    protected DomainObjectContainer getDomainObjectContainer() {
-        return domainObjectContainer;
-    }
-
-    public void setDomainObjectContainer(final DomainObjectContainer domainObjectContainer) {
-        this.domainObjectContainer = domainObjectContainer;
-    }
-
-    public void setFoobarRepository(final PrimitiveValuedEntityRepository toDoItemRepository) {
-        this.primitivesEntityRepository = toDoItemRepository;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityRepositoryTest.java
----------------------------------------------------------------------
diff --git a/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityRepositoryTest.java b/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityRepositoryTest.java
deleted file mode 100644
index 7d71f96..0000000
--- a/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityRepositoryTest.java
+++ /dev/null
@@ -1,61 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package junit.todo;
-
-import static org.hamcrest.Matchers.is;
-import static org.hamcrest.Matchers.not;
-import static org.hamcrest.Matchers.nullValue;
-import static org.junit.Assert.assertThat;
-
-import java.util.List;
-
-import junit.AbstractTest;
-
-import org.junit.Ignore;
-import org.junit.Test;
-
-import org.apache.isis.core.integtestsupport.legacy.Fixture;
-import org.apache.isis.core.integtestsupport.legacy.Fixtures;
-import org.apache.isis.core.tck.dom.scalars.PrimitiveValuedEntity;
-import org.apache.isis.core.tck.fixture.scalars.PrimitiveValuedEntityFixture;
-
-@Fixtures({ @Fixture(PrimitiveValuedEntityFixture.class) })
-public class ScalarEntityRepositoryTest extends AbstractTest {
-
-    @Test
-    public void dummy() {
-    }
-
-    @Ignore
-    @Test
-    public void canFindAllItemsNotYetDone() throws Exception {
-        final List<PrimitiveValuedEntity> foobarList = primitivesEntityRepository.list();
-        assertThat(foobarList.size(), is(5));
-    }
-
-    @Ignore
-    @Test
-    public void canCreateScalarEntityItem() throws Exception {
-        final PrimitiveValuedEntity newItem = primitivesEntityRepository.newEntity();
-        assertThat(newItem, is(not(nullValue())));
-        assertThat(getDomainObjectContainer().isPersistent(newItem), is(true));
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityTest.java
----------------------------------------------------------------------
diff --git a/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityTest.java b/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityTest.java
deleted file mode 100644
index 57e1cea..0000000
--- a/component/viewer/junit/tck/src/test/java/junit/todo/ScalarEntityTest.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-
-package junit.todo;
-
-import junit.AbstractTest;
-
-import org.junit.Before;
-import org.junit.Test;
-
-import org.apache.isis.core.integtestsupport.legacy.Fixture;
-import org.apache.isis.core.integtestsupport.legacy.Fixtures;
-import org.apache.isis.core.tck.dom.scalars.PrimitiveValuedEntity;
-import org.apache.isis.core.tck.fixture.scalars.PrimitiveValuedEntityFixture;
-
-@Fixtures({ @Fixture(PrimitiveValuedEntityFixture.class) })
-public class ScalarEntityTest extends AbstractTest {
-
-    private PrimitiveValuedEntity firstItem;
-
-    @Override
-    @Before
-    public void setUp() {
-        firstItem = wrapped(primitivesEntityRepository.list().get(0));
-    }
-
-    @Test
-    public void dummy() {
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/NOTICE
----------------------------------------------------------------------
diff --git a/mothballed/bdd/NOTICE b/mothballed/bdd/NOTICE
deleted file mode 100644
index ba21d0c..0000000
--- a/mothballed/bdd/NOTICE
+++ /dev/null
@@ -1,7 +0,0 @@
-Apache Isis
-Copyright 2010-2013 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).
-
-

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/pom.xml
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/pom.xml b/mothballed/bdd/common/pom.xml
deleted file mode 100755
index 2b8fcd8..0000000
--- a/mothballed/bdd/common/pom.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
-  
-         http://www.apache.org/licenses/LICENSE-2.0
-         
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
--->
-<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.viewer</groupId>
-	    <artifactId>isis-viewer-bdd</artifactId>
-	    <version>1.0.0-SNAPSHOT</version>
-	</parent>
-	
-	<artifactId>isis-viewer-bdd-common</artifactId>
-	<name>Isis BDD Viewer (Common)</name>
-
-    <properties>
-		<siteBaseDir>..</siteBaseDir>
-		<relativeUrl>common/</relativeUrl>
-	</properties>
-
-    <!-- used in Site generation for relative references. -->
-    <url>http://isis.apache.org/${relativeUrl}</url>
-
-	<dependencies>
-		<dependency>
-		    <groupId>org.apache.isis.core</groupId>
-		    <artifactId>isis-core-metamodel</artifactId>
-		</dependency>
-		
-		<dependency>
-			<groupId>org.apache.isis.core</groupId>
-			<artifactId>isis-core-runtime</artifactId>
-		</dependency>
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-objectstore</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-profilestore</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.isis.core</groupId>
-            <artifactId>isis-core-security</artifactId>
-        </dependency>
-	</dependencies>
-</project>      

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/AliasRegistry.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/AliasRegistry.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/AliasRegistry.java
deleted file mode 100644
index a4cfdd8..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/AliasRegistry.java
+++ /dev/null
@@ -1,46 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-import java.util.Map;
-
-import org.apache.isis.core.metamodel.adapter.ObjectAdapter;
-
-public interface AliasRegistry extends Iterable<Map.Entry<String, ObjectAdapter>> {
-
-    public ObjectAdapter getAliased(final String alias);
-
-    public String getAlias(final ObjectAdapter adapter);
-
-    /**
-     * Holds a new {@link NakedObject adapter}, automatically assigning it a new
-     * heldAs alias.
-     */
-    public String aliasPrefixedAs(final String prefix, final ObjectAdapter adapter);
-
-    /**
-     * Holds a new {@link ObjectAdapter}
-     */
-    public void aliasAs(final String alias, final ObjectAdapter adapter);
-
-    void aliasService(final String aliasAs, final String className) throws ScenarioValueException;
-
-    public void clear();
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBinding.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBinding.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBinding.java
deleted file mode 100644
index 0e7a055..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBinding.java
+++ /dev/null
@@ -1,230 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.isis.core.commons.lang.StringUtils;
-
-public abstract class CellBinding {
-
-    private boolean found = false;
-    private int column = -1;
-
-    private ScenarioCell headCell = null;
-    private ScenarioCell currentCell;
-
-    private final String name;
-    private final List<String> headTexts;
-    private final boolean autoCreate;
-    private final boolean ditto;
-    private final boolean optional;
-
-    // ///////////////////////////////////////////////////////////////
-    // Constructor
-    // ///////////////////////////////////////////////////////////////
-
-    protected CellBinding(final String name, final boolean autoCreate, final boolean ditto, final boolean optional, final String[] headTexts) {
-        this.name = name;
-        this.autoCreate = autoCreate;
-        this.ditto = ditto;
-        this.optional = optional;
-        if (headTexts.length == 0) {
-            throw new IllegalArgumentException("Require at least one heading text");
-        }
-        final List<String> headTextList = new ArrayList<String>();
-        for (final String headText : headTexts) {
-            headTextList.add(StringUtils.camel(headText).toLowerCase());
-        }
-        this.headTexts = headTextList;
-    }
-
-    public String getName() {
-        return name;
-    }
-
-    public boolean isOptional() {
-        return optional;
-    }
-
-    public boolean isAutoCreate() {
-        return autoCreate;
-    }
-
-    private void ditto(final ScenarioCell previousCell) {
-        copy(previousCell, getCurrentCell());
-    }
-
-    public List<String> getHeadTexts() {
-        return headTexts;
-    }
-
-    public boolean isDitto() {
-        return ditto;
-    }
-
-    // ///////////////////////////////////////////////////////////////
-    // matches (for searching head column)
-    // ///////////////////////////////////////////////////////////////
-
-    /**
-     * For the BDD framework integration to search whether this particular
-     * {@link CellBinding} corresponds to a particular head text.
-     */
-    public boolean matches(final String candidateText) {
-        final String candidateTextCamelLower = StringUtils.camel(candidateText).toLowerCase();
-        for (final String headText : getHeadTexts()) {
-            if (headText.equalsIgnoreCase(candidateTextCamelLower)) {
-                return true;
-            }
-        }
-        return false;
-    }
-
-    // ///////////////////////////////////////////////////////////////
-    // set Head Column
-    // ///////////////////////////////////////////////////////////////
-
-    /**
-     * For the BDD framework integration to indicate the head column, but
-     * without no {@link #getHeadCell() head cell}.
-     */
-    public void setHeadColumn(final int column) {
-        this.found = true;
-        setColumnAndHeadCell(column, null);
-    }
-
-    /**
-     * For the BDD framework integration to indicate that the head cell has been
-     * found.
-     */
-    public void setHeadColumn(final int column, final ScenarioCell headCell) {
-        this.found = true;
-        setColumnAndHeadCell(column, headCell);
-    }
-
-    /**
-     * For the BDD framework integration to indicate that the head cell was not
-     * found and has been created.
-     */
-    public void createHeadCell(final int column, final ScenarioCell headCell) {
-        setColumnAndHeadCell(column, headCell);
-    }
-
-    /**
-     * Whether the head cell was found.
-     */
-    public boolean isFound() {
-        return found;
-    }
-
-    /**
-     * The column that is found, if any.
-     */
-    public int getColumn() {
-        return column;
-    }
-
-    /**
-     * The head cell with the text, if any.
-     */
-    public ScenarioCell getHeadCell() {
-        return headCell;
-    }
-
-    private void setColumnAndHeadCell(final int column, final ScenarioCell headCell) {
-        this.column = column;
-        this.headCell = headCell;
-    }
-
-    /**
-     * Holds onto a current (body) cell.
-     */
-    public ScenarioCell getCurrentCell() {
-        return currentCell;
-    }
-
-    /**
-     * @see #getCurrentCell()
-     */
-    public void setCurrentCell(final ScenarioCell cell) {
-        this.currentCell = cell;
-    }
-
-    // ///////////////////////////////////////////////////////////////
-    // capture current value
-    // ///////////////////////////////////////////////////////////////
-
-    private boolean dittoed;
-
-    /**
-     * Captures the current value, but also checking that the column in which
-     * the {@link ScenarioCell value} has been provided corresponds to the
-     * {@link #getColumn() column} of this binding.
-     * 
-     * @see #captureCurrent(ScenarioCell)
-     */
-    public void captureCurrent(final ScenarioCell cell, final int column) {
-        if (column != getColumn()) {
-            return;
-        }
-        captureCurrent(cell);
-    }
-
-    /**
-     * Captures the current {@link ScenarioCell value} for this binding.
-     * 
-     * <p>
-     * For implementations where we already know that the value provided is for
-     * this particular binding.
-     */
-    public void captureCurrent(final ScenarioCell cell) {
-        final ScenarioCell previousCell = getCurrentCell();
-        setCurrentCell(cell);
-        final boolean shouldDitto = StringUtils.isNullOrEmpty(cell.getText());
-        final boolean canDitto = isDitto() && previousCell != null;
-        if (shouldDitto && canDitto) {
-            ditto(previousCell);
-            dittoed = true;
-        } else {
-            dittoed = false;
-        }
-    }
-
-    /**
-     * Whether the most recent call to {@link #captureCurrent(ScenarioCell)}
-     * resulted in a ditto.
-     */
-    public boolean isDittoed() {
-        return dittoed;
-    }
-
-    protected abstract void copy(final ScenarioCell from, ScenarioCell to);
-
-    // ///////////////////////////////////////////////////////////////
-    // toString
-    // ///////////////////////////////////////////////////////////////
-
-    @Override
-    public String toString() {
-        return found ? ("found, current=" + getCurrentCell().getText()) : "not found";
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBindingDefault.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBindingDefault.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBindingDefault.java
deleted file mode 100644
index 254f312..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/CellBindingDefault.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-public class CellBindingDefault extends CellBinding {
-
-    public static class Builder {
-        private final String name;
-        private final String[] headText;
-        private boolean autoCreate;
-        private boolean ditto;
-        private boolean optional;
-
-        public Builder(final String name, final String... headText) {
-            this.name = name;
-            this.headText = headText;
-        }
-
-        public Builder autoCreate() {
-            this.autoCreate = true;
-            return this;
-        }
-
-        public Builder ditto() {
-            this.ditto = true;
-            return this;
-        }
-
-        public Builder optional() {
-            this.optional = true;
-            return this;
-        }
-
-        public CellBindingDefault build() {
-            return new CellBindingDefault(name, autoCreate, ditto, optional, headText);
-        }
-    }
-
-    public static Builder builder(final String name, final String... headText) {
-        return new Builder(name, headText);
-    }
-
-    private CellBindingDefault(final String name, final boolean autoCreate, final boolean ditto, final boolean optional, final String[] headTexts) {
-        super(name, autoCreate, ditto, optional, headTexts);
-    }
-
-    @Override
-    protected void copy(final ScenarioCell from, final ScenarioCell to) {
-        to.setText(from.getText());
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/IsisViewerConstants.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/IsisViewerConstants.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/IsisViewerConstants.java
deleted file mode 100644
index 9167111..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/IsisViewerConstants.java
+++ /dev/null
@@ -1,82 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-public final class IsisViewerConstants {
-
-    private IsisViewerConstants() {
-    }
-
-    public static final String ON_OBJECT_HEAD = "on object";
-    public static final String ON_OBJECT_HEAD_ALT1 = "object";
-    public static final String ON_OBJECT_HEAD_ALT2 = "on";
-    public static final String[] ON_OBJECT_HEAD_SET = { ON_OBJECT_HEAD, ON_OBJECT_HEAD_ALT1, ON_OBJECT_HEAD_ALT2 };
-    public static final String ON_OBJECT_NAME = ON_OBJECT_HEAD;
-
-    public static final String ALIAS_RESULT_HEAD = "alias result as";
-    public static final String ALIAS_RESULT_HEAD_ALT1 = "result=";
-    public static final String ALIAS_RESULT_HEAD_ALT2 = "alias=";
-    public static final String ALIAS_RESULT_HEAD_ALT3 = "alias as";
-    public static final String[] ALIAS_RESULT_HEAD_SET = { ALIAS_RESULT_HEAD, ALIAS_RESULT_HEAD_ALT1, ALIAS_RESULT_HEAD_ALT2, ALIAS_RESULT_HEAD_ALT3 };
-    public static final String ALIAS_RESULT_NAME = ALIAS_RESULT_HEAD;
-
-    public static final String TITLE_NAME = "Title";
-    public static final String TITLE_HEAD = "title";
-
-    public static final String TYPE_NAME = "Type";
-    public static final String TYPE_HEAD = "type";
-
-    public static final String VALUE_NAME = "Title";
-    public static final String VALUE_HEAD = "value";
-
-    public static final String PERFORM_HEAD = "perform";
-    public static final String PERFORM_HEAD_ALT1 = "do";
-    public static final String PERFORM_HEAD_ALT2 = "interaction";
-    public static final String PERFORM_HEAD_ALT3 = "interaction type";
-    public static final String[] PERFORM_HEAD_SET = { PERFORM_HEAD, PERFORM_HEAD_ALT1, PERFORM_HEAD_ALT2, PERFORM_HEAD_ALT3 };
-    public static final String PERFORM_NAME = PERFORM_HEAD;
-
-    public static final String ON_MEMBER_HEAD = "on member";
-    public static final String ON_MEMBER_HEAD_ALT1 = "using member";
-    public static final String ON_MEMBER_HEAD_ALT2 = "using";
-    public static final String ON_MEMBER_HEAD_ALT3 = "member";
-    public static final String[] ON_MEMBER_HEAD_SET = { ON_MEMBER_HEAD, ON_MEMBER_HEAD_ALT1, ON_MEMBER_HEAD_ALT2, ON_MEMBER_HEAD_ALT3 };
-    public static final String ON_MEMBER_NAME = ON_MEMBER_HEAD;
-
-    public static final String THAT_IT_HEAD = "that it";
-    public static final String THAT_IT_HEAD_ALT1 = "that";
-    public static final String THAT_IT_HEAD_ALT2 = "verb";
-    public static final String[] THAT_IT_HEAD_SET = { THAT_IT_HEAD, THAT_IT_HEAD_ALT1, THAT_IT_HEAD_ALT2 };
-    public static final String THAT_IT_NAME = THAT_IT_HEAD;
-
-    public static final String WITH_ARGUMENTS_HEAD = "with arguments";
-    public static final String WITH_ARGUMENTS_HEAD_ALT1 = "with";
-    public static final String WITH_ARGUMENTS_HEAD_ALT2 = "arguments";
-    public static final String WITH_ARGUMENTS_HEAD_ALT3 = "parameters";
-    public static final String WITH_ARGUMENTS_HEAD_ALT4 = "with parameters";
-    public static final String WITH_ARGUMENTS_HEAD_ALT5 = "for";
-    public static final String WITH_ARGUMENTS_HEAD_ALT6 = "for arguments";
-    public static final String WITH_ARGUMENTS_HEAD_ALT7 = "for parameters";
-    public static final String WITH_ARGUMENTS_HEAD_ALT8 = "value";
-    public static final String WITH_ARGUMENTS_HEAD_ALT9 = "reference";
-    public static final String[] WITH_ARGUMENTS_HEAD_SET = { WITH_ARGUMENTS_HEAD, WITH_ARGUMENTS_HEAD_ALT1, WITH_ARGUMENTS_HEAD_ALT2, WITH_ARGUMENTS_HEAD_ALT3, WITH_ARGUMENTS_HEAD_ALT4, WITH_ARGUMENTS_HEAD_ALT5, WITH_ARGUMENTS_HEAD_ALT6, WITH_ARGUMENTS_HEAD_ALT7, WITH_ARGUMENTS_HEAD_ALT8,
-            WITH_ARGUMENTS_HEAD_ALT9 };
-    public static final String WITH_ARGUMENTS_NAME = WITH_ARGUMENTS_HEAD;
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/Scenario.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/Scenario.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/Scenario.java
deleted file mode 100644
index 66420b9..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/Scenario.java
+++ /dev/null
@@ -1,312 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-import static org.apache.isis.core.commons.ensure.Ensure.ensureThatArg;
-import static org.hamcrest.CoreMatchers.anyOf;
-import static org.hamcrest.CoreMatchers.equalTo;
-import static org.hamcrest.CoreMatchers.is;
-
-import java.util.Collections;
-import java.util.Date;
-import java.util.List;
-import java.util.Map;
-
-import com.google.inject.Guice;
-import com.google.inject.Injector;
-
-import org.apache.isis.applib.fixtures.LogonFixture;
-import org.apache.isis.core.commons.config.IsisConfiguration;
-import org.apache.isis.core.commons.config.IsisConfigurationBuilder;
-import org.apache.isis.core.commons.config.IsisConfigurationBuilderFileSystem;
-import org.apache.isis.core.metamodel.adapter.ObjectAdapter;
-import org.apache.isis.core.metamodel.adapter.mgr.AdapterManager;
-import org.apache.isis.core.metamodel.adapter.oid.AggregatedOid;
-import org.apache.isis.core.profilestore.InMemoryUserProfileStoreInstaller;
-import org.apache.isis.core.progmodel.facets.value.ValueSemanticsProviderAbstractTemporal;
-import org.apache.isis.core.runtime.fixtures.FixturesInstallerNoop;
-import org.apache.isis.core.runtime.installerregistry.InstallerLookup;
-import org.apache.isis.core.runtime.installers.InstallerLookupDefault;
-import org.apache.isis.core.runtime.runner.IsisInjectModule;
-import org.apache.isis.core.runtime.system.DeploymentType;
-import org.apache.isis.core.runtime.system.IsisSystem;
-import org.apache.isis.core.runtime.system.SystemConstants;
-import org.apache.isis.core.runtime.system.context.IsisContext;
-import org.apache.isis.core.runtime.system.internal.InitialisationSession;
-import org.apache.isis.core.runtime.system.persistence.PersistenceSession;
-import org.apache.isis.core.runtime.system.transaction.IsisTransactionManager;
-import org.apache.isis.viewer.bdd.common.components.BddAuthenticationManagerInstaller;
-import org.apache.isis.viewer.bdd.common.components.BddInMemoryPersistenceMechanismInstaller;
-import org.apache.isis.viewer.bdd.common.parsers.DateParser;
-import org.apache.isis.viewer.bdd.common.story.bootstrapping.OpenSession;
-import org.apache.isis.viewer.bdd.common.story.bootstrapping.RunViewer;
-import org.apache.isis.viewer.bdd.common.story.bootstrapping.SetClock;
-import org.apache.isis.viewer.bdd.common.story.bootstrapping.ShutdownIsis;
-import org.apache.isis.viewer.bdd.common.story.registries.AliasRegistryDefault;
-import org.apache.isis.viewer.bdd.common.story.registries.AliasRegistryHolder;
-
-/**
- * Holds the bootstrapped {@link IsisSystem} and provides access to the
- * {@link AliasRegistry aliases}.
- *
- * <p>
- * Typically held in a thread-local by the test framework, acting as a context
- * to the story.
- *
- * <p>
- * Implementation note: this class directly implements {@link AliasRegistrySpi},
- * though delegates to an underlying {@link AliasRegistryDefault}. This is
- * needed because the underlying {@link AliasRegistry} can change on
- * {@link #switchUserWithRoles(String, String)} (see
- * {@link #reAdapt(AliasRegistrySpi)} method).
- */
-public class Scenario implements AliasRegistryHolder {
-
-    private AliasRegistry aliasRegistry = new AliasRegistryDefault();
-
-    private DeploymentType deploymentType;
-    private String configDirectory;
-
-    private IsisSystem isisSystem;
-
-    private InstallerLookupDefault installerLookup;
-
-    private final DateParser dateParser = new DateParser();
-
-    // /////////////////////////////////////////////////////////////
-    // bootstrap / shutdown
-    // /////////////////////////////////////////////////////////////
-
-    public String getConfigDirectory() {
-        return configDirectory;
-    }
-
-    public DeploymentType getDeploymentType() {
-        return deploymentType;
-    }
-
-    public IsisSystem getSystem() {
-        return isisSystem;
-    }
-
-    public InstallerLookup getInstallerLookup() {
-        return installerLookup;
-    }
-
-    @SuppressWarnings("unchecked")
-    public void bootstrapIsis(final String configDirectory, final DeploymentType deploymentType) {
-        this.configDirectory = configDirectory;
-        this.deploymentType = ensureThatArg(deploymentType, is(anyOf(equalTo(DeploymentType.EXPLORATION), equalTo(DeploymentType.PROTOTYPE))));
-
-        final IsisConfigurationBuilderFileSystem configurationBuilder = new IsisConfigurationBuilderFileSystem(getConfigDirectory());
-
-        configurationBuilder.add(SystemConstants.DEPLOYMENT_TYPE_KEY, deploymentType.name());
-        defaultStoryComponentsInto(configurationBuilder);
-
-        getAliasRegistry().clear();
-
-        try {
-            // create system...
-            isisSystem = createSystem(deploymentType, configurationBuilder);
-
-            // ... and provide a session in order to install fixtures
-            IsisContext.openSession(new InitialisationSession());
-
-        } catch (final RuntimeException e) {
-            if (isisSystem != null) {
-                isisSystem.shutdown();
-            }
-            throw e;
-        }
-    }
-
-    private IsisSystem createSystem(final DeploymentType deploymentType, final IsisConfigurationBuilder isisConfigurationBuilder) {
-        this.installerLookup = new InstallerLookupDefault();
-        isisConfigurationBuilder.injectInto(installerLookup);
-
-        final Injector injector = createGuiceInjector(deploymentType, isisConfigurationBuilder, installerLookup);
-        final IsisSystem system = injector.getInstance(IsisSystem.class);
-        return system;
-    }
-
-    private void defaultStoryComponentsInto(final IsisConfigurationBuilder isisConfigurationBuilder) {
-        isisConfigurationBuilder.addDefaultConfigurationResources();
-        isisConfigurationBuilder.add(SystemConstants.AUTHENTICATION_INSTALLER_KEY, BddAuthenticationManagerInstaller.class.getName());
-        isisConfigurationBuilder.add(SystemConstants.OBJECT_PERSISTOR_INSTALLER_KEY, BddInMemoryPersistenceMechanismInstaller.class.getName());
-        isisConfigurationBuilder.add(SystemConstants.PROFILE_PERSISTOR_INSTALLER_KEY, InMemoryUserProfileStoreInstaller.class.getName());
-        isisConfigurationBuilder.add(SystemConstants.FIXTURES_INSTALLER_KEY, FixturesInstallerNoop.class.getName());
-        isisConfigurationBuilder.add(SystemConstants.NOSPLASH_KEY, "" + true);
-    }
-
-    private Injector createGuiceInjector(final DeploymentType deploymentType, final IsisConfigurationBuilder isisConfigurationBuilder, final InstallerLookup installerLookup) {
-        final IsisInjectModule isisModule = new IsisInjectModule(deploymentType, isisConfigurationBuilder, installerLookup);
-        return Guice.createInjector(isisModule);
-    }
-
-    public void shutdownIsis() {
-        new ShutdownIsis(this).shutdown();
-    }
-
-    // /////////////////////////////////////////////////////////////
-    // date+time / logon+switch user
-    // /////////////////////////////////////////////////////////////
-
-    public boolean dateAndTimeIs(final String dateAndTimeStr) {
-        final Date date = dateParser.parse(dateAndTimeStr);
-        if (date != null) {
-            new SetClock(this).setClock(date);
-            return true;
-        } else {
-            return false;
-        }
-    }
-
-    /**
-     * Logon, specifying no roles.
-     * <p>
-     * Unlike the {@link LogonFixture} on regular fixtures, the logonAs is not
-     * automatically remembered until the end of the setup. It should therefore
-     * be invoked at the end of setup explicitly.
-     */
-    public void logonAsOrSwitchUserTo(final String userName) {
-        final List<String> noRoles = Collections.emptyList();
-        logonAsOrSwitchUserTo(userName, noRoles);
-    }
-
-    /**
-     * Logon, specifying roles.
-     * <p>
-     * Unlike the {@link LogonFixture} on regular Isis fixtures, the logonAs is
-     * not automatically remembered until the end of the setup. It should
-     * therefore be invoked at the end of setup explicitly.
-     */
-    public void logonAsOrSwitchUserTo(final String userName, final List<String> roleList) {
-        new OpenSession(this).openSession(userName, roleList);
-        aliasRegistry = reAdapt(aliasRegistry);
-    }
-
-    /**
-     * Need to recreate aliases whenever logout/login.
-     */
-    private AliasRegistry reAdapt(final AliasRegistry aliasesRegistry) {
-        final AliasRegistry newAliasesRegistry = new AliasRegistryDefault();
-
-        // first pass: root adapters
-        for (final Map.Entry<String, ObjectAdapter> aliasAdapter : aliasesRegistry) {
-            final String alias = aliasAdapter.getKey();
-            final ObjectAdapter oldAdapter = aliasAdapter.getValue();
-
-            if (oldAdapter.getOid() instanceof AggregatedOid) {
-                continue;
-            }
-            newAliasesRegistry.aliasAs(alias, getAdapterManager().adapterFor(oldAdapter.getObject()));
-        }
-
-        // for now, not supporting aggregated adapters (difficulty in looking up
-        // the parent adapter because the Oid changes)
-
-        // // second pass: aggregated adapters
-        // for (Map.Entry<String,NakedObject> aliasAdapter : oldAliasesRegistry)
-        // {
-        // final String alias = aliasAdapter.getKey();
-        // final ObjectAdapter oldAdapter = aliasAdapter.getValue();
-        //
-        // if(!(oldAdapter.getOid() instanceof AggregatedOid)) {
-        // continue;
-        // }
-        // AggregatedOid aggregatedOid = (AggregatedOid) oldAdapter.getOid();
-        // final Object parentOid = aggregatedOid.getParentOid();
-        // final ObjectAdapter parentAdapter =
-        // getAdapterManager().getAdapterFor(parentOid);
-        // final String fieldName = aggregatedOid.getFieldName();
-        // final NakedObjectAssociation association =
-        // parentAdapter.getSpecification().getAssociation(fieldName);
-        // final ObjectAdapter newAdapter =
-        // getAdapterManager().adapterFor(oldAdapter.getObject(), parentAdapter,
-        // association);
-        //
-        // newAliasesRegistry.put(alias, newAdapter);
-        // }
-        return newAliasesRegistry;
-    }
-
-    // /////////////////////////////////////////////////////////
-    // date parser
-    // /////////////////////////////////////////////////////////
-
-    public void usingDateFormat(final String dateFormatStr) {
-        dateParser.setDateFormat(dateFormatStr);
-        setTemporalFormat("date", dateFormatStr);
-        setTemporalFormat("datetime", dateParser.getCombinedMask());
-        setTemporalFormat("timestamp", dateParser.getCombinedMask());
-    }
-
-    public void usingTimeFormat(final String timeFormatStr) {
-        dateParser.setTimeFormat(timeFormatStr);
-        setTemporalFormat("time", timeFormatStr);
-        setTemporalFormat("datetime", dateParser.getCombinedMask());
-        setTemporalFormat("timestamp", dateParser.getCombinedMask());
-    }
-
-    private void setTemporalFormat(final String propertyType, final String formatStr) {
-        ValueSemanticsProviderAbstractTemporal.setFormat(propertyType, formatStr);
-    }
-
-    public DateParser getDateParser() {
-        return dateParser;
-    }
-
-    // /////////////////////////////////////////////////////////
-    // run viewer
-    // /////////////////////////////////////////////////////////
-
-    public void runViewer() {
-        new RunViewer(this).run();
-    }
-
-    // //////////////////////////////////////////////////////////////////
-    // AliasRegistry impl
-    // //////////////////////////////////////////////////////////////////
-
-    @Override
-    public AliasRegistry getAliasRegistry() {
-        return aliasRegistry;
-    }
-
-    // /////////////////////////////////////////////////////////
-    // Dependencies (from context)
-    // /////////////////////////////////////////////////////////
-
-    protected PersistenceSession getPersistenceSession() {
-        return IsisContext.getPersistenceSession();
-    }
-
-    private AdapterManager getAdapterManager() {
-        return getPersistenceSession().getAdapterManager();
-    }
-
-    public IsisTransactionManager getTransactionManager() {
-        return IsisContext.getTransactionManager();
-    }
-
-    protected IsisConfiguration getConfiguration() {
-        return IsisContext.getConfiguration();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioBoundValueException.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioBoundValueException.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioBoundValueException.java
deleted file mode 100644
index 969c320..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioBoundValueException.java
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-import java.io.CharArrayWriter;
-import java.io.PrintWriter;
-
-public class ScenarioBoundValueException extends Exception {
-
-    private static final long serialVersionUID = 1L;
-
-    private final CellBinding cellBinding;
-    private final ScenarioCell storyCell;
-
-    public static ScenarioBoundValueException current(final CellBinding cellBinding, final String message) {
-        return new ScenarioBoundValueException(cellBinding, cellBinding.getCurrentCell(), message);
-    }
-
-    public static ScenarioBoundValueException arg(final CellBinding cellBinding, final ScenarioCell storyCell, final String message) {
-        return new ScenarioBoundValueException(cellBinding, storyCell, message);
-    }
-
-    private ScenarioBoundValueException(final CellBinding cellBinding, final ScenarioCell storyCell, final String message) {
-        super(message);
-        this.cellBinding = cellBinding;
-        this.storyCell = storyCell;
-    }
-
-    public CellBinding getCellBinding() {
-        return cellBinding;
-    }
-
-    public ScenarioCell getStoryCell() {
-        return storyCell;
-    }
-
-    public String asString() {
-        final CharArrayWriter caw = new CharArrayWriter();
-        this.printStackTrace(new PrintWriter(caw));
-        return caw.toString();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCell.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCell.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCell.java
deleted file mode 100644
index 40ca0b9..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCell.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-public interface ScenarioCell {
-
-    /**
-     * The text represented by the source.
-     */
-    public String getText();
-
-    /**
-     * Sets the text held by the source.
-     */
-    public void setText(String str);
-
-    /**
-     * The implementation-specific representation of this text.
-     */
-    public Object getSource();
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCellDefault.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCellDefault.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCellDefault.java
deleted file mode 100644
index b6b27fb..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioCellDefault.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-/**
- * Simply holds the text.
- * 
- */
-public class ScenarioCellDefault implements ScenarioCell {
-
-    private String source;
-
-    public ScenarioCellDefault(final String source) {
-        this.source = source;
-    }
-
-    @Override
-    public String getText() {
-        return source;
-    }
-
-    @Override
-    public void setText(final String str) {
-        this.source = str;
-    }
-
-    /**
-     * The implementation-specific representation of this text.
-     */
-    @Override
-    public Object getSource() {
-        return source;
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioValueException.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioValueException.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioValueException.java
deleted file mode 100644
index c2a92ca..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ScenarioValueException.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-public class ScenarioValueException extends Exception {
-
-    private static final long serialVersionUID = 1L;
-
-    public ScenarioValueException() {
-    }
-
-    public ScenarioValueException(final String message) {
-        super(message);
-    }
-
-    public ScenarioValueException(final Throwable cause) {
-        super(cause);
-    }
-
-    public ScenarioValueException(final String message, final Throwable cause) {
-        super(message, cause);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ServiceRegistry.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ServiceRegistry.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ServiceRegistry.java
deleted file mode 100644
index 65ee3e1..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/ServiceRegistry.java
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common;
-
-public interface ServiceRegistry {
-
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddAuthenticationManagerInstaller.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddAuthenticationManagerInstaller.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddAuthenticationManagerInstaller.java
deleted file mode 100644
index 795e57b..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddAuthenticationManagerInstaller.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common.components;
-
-import java.util.List;
-
-import com.google.common.collect.Lists;
-
-import org.apache.isis.core.commons.config.IsisConfiguration;
-import org.apache.isis.core.runtime.authentication.AuthenticationManagerStandardInstallerAbstractForDfltRuntime;
-import org.apache.isis.core.runtime.authentication.standard.Authenticator;
-import org.apache.isis.core.security.authentication.AuthenticatorBypass;
-
-public class BddAuthenticationManagerInstaller extends AuthenticationManagerStandardInstallerAbstractForDfltRuntime {
-
-    public BddAuthenticationManagerInstaller() {
-        super("bdd");
-    }
-
-    @Override
-    protected List<Authenticator> createAuthenticators(final IsisConfiguration configuration) {
-        return Lists.<Authenticator> newArrayList(new AuthenticatorBypass(configuration));
-    }
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceMechanismInstaller.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceMechanismInstaller.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceMechanismInstaller.java
deleted file mode 100644
index 4b5af4f..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceMechanismInstaller.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common.components;
-
-import org.apache.isis.core.objectstore.InMemoryPersistenceMechanismInstaller;
-import org.apache.isis.core.runtime.system.DeploymentType;
-import org.apache.isis.core.runtime.system.persistence.PersistenceSessionFactory;
-
-public class BddInMemoryPersistenceMechanismInstaller extends InMemoryPersistenceMechanismInstaller {
-
-    public BddInMemoryPersistenceMechanismInstaller() {
-    }
-
-    // ///////////////////////////////////////////////////////////////
-    // Name
-    // ///////////////////////////////////////////////////////////////
-
-    @Override
-    public String getName() {
-        return "bdd";
-    }
-
-    // ///////////////////////////////////////////////////////////////
-    // Hook methods
-    // ///////////////////////////////////////////////////////////////
-
-    @Override
-    public PersistenceSessionFactory createPersistenceSessionFactory(final DeploymentType deploymentType) {
-        return new BddInMemoryPersistenceSessionFactory(deploymentType, getConfiguration(), this);
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceSessionFactory.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceSessionFactory.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceSessionFactory.java
deleted file mode 100644
index 01210b4..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddInMemoryPersistenceSessionFactory.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common.components;
-
-import org.apache.isis.core.commons.config.IsisConfiguration;
-import org.apache.isis.core.metamodel.facets.object.cached.CachedFacet;
-import org.apache.isis.core.metamodel.spec.ObjectSpecification;
-import org.apache.isis.core.objectstore.InMemoryPersistenceSessionFactory;
-import org.apache.isis.core.objectstore.internal.ObjectStorePersistedObjects;
-import org.apache.isis.core.runtime.persistence.PersistenceSessionFactoryDelegate;
-import org.apache.isis.core.runtime.system.DeploymentType;
-
-/**
- * As per {@link InMemoryPersistenceSessionFactory}, but uses the
- * {@link BddObjectStorePersistedObjects} implementation which stores any
- * {@link CachedFacet cached} {@link ObjectSpecification class}es
- * <tt>static</tt>ally (and thus persisted across multiple setups/teardowns of
- * the {@link NakedObjectsContext}.
- */
-public class BddInMemoryPersistenceSessionFactory extends InMemoryPersistenceSessionFactory {
-
-    public BddInMemoryPersistenceSessionFactory(final DeploymentType deploymentType, final IsisConfiguration configuration, final PersistenceSessionFactoryDelegate persistenceSessionFactoryDelegate) {
-        super(deploymentType, configuration, persistenceSessionFactoryDelegate);
-    }
-
-    @Override
-    public ObjectStorePersistedObjects createPersistedObjects() {
-        return new BddObjectStorePersistedObjects();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddObjectStorePersistedObjects.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddObjectStorePersistedObjects.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddObjectStorePersistedObjects.java
deleted file mode 100644
index ba3336a..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/BddObjectStorePersistedObjects.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common.components;
-
-import java.util.Map;
-
-import com.google.common.collect.Iterables;
-import com.google.common.collect.Maps;
-
-import org.apache.isis.core.commons.exceptions.IsisException;
-import org.apache.isis.core.metamodel.adapter.oid.Oid;
-import org.apache.isis.core.metamodel.facets.object.cached.CachedFacet;
-import org.apache.isis.core.metamodel.spec.ObjectSpecId;
-import org.apache.isis.core.metamodel.spec.ObjectSpecification;
-import org.apache.isis.core.objectstore.internal.ObjectStoreInstances;
-import org.apache.isis.core.objectstore.internal.ObjectStorePersistedObjects;
-import org.apache.isis.core.runtime.system.persistence.IdentifierGeneratorDefault.Memento;
-
-/**
- * Stores instances in one of two maps, based on whether have their
- * specification has the {@link CachedFacet} (represents cached or reference
- * data) or not (represents operational data).
- * <p>
- * Those that are cached are stored in a <tt>static</tt> map that is never
- * {@link #clear()}ed down. Those that are operational go in a regular instance
- * cache and can be {@link #clear()}ed.
- */
-public class BddObjectStorePersistedObjects implements ObjectStorePersistedObjects {
-
-    private static final Map<ObjectSpecification, ObjectStoreInstances> cachedInstancesBySpecMap = Maps.newHashMap();
-
-    private final Map<ObjectSpecification, ObjectStoreInstances> operationalInstancesBySpecMap = Maps.newHashMap();
-    private final Map<ObjectSpecId, Oid> serviceOidByIdMap = Maps.newHashMap();
-    
-    private Memento oidGeneratorMemento;
-
-    @Override
-    public Memento getOidGeneratorMemento() {
-        return oidGeneratorMemento;
-    }
-
-    @Override
-    public void saveOidGeneratorMemento(final Memento memento) {
-        this.oidGeneratorMemento = memento;
-    }
-
-    @Override
-    public Oid getService(final ObjectSpecId objectSpecId) {
-        return serviceOidByIdMap.get(objectSpecId);
-    }
-
-    @Override
-    public void registerService(final ObjectSpecId objectSpecId, final Oid oid) {
-        final Oid oidLookedUpByName = serviceOidByIdMap.get(objectSpecId);
-        if (oidLookedUpByName != null) {
-            if (!oidLookedUpByName.equals(oid)) {
-                throw new IsisException("Already another service registered as name: " + objectSpecId + " (existing Oid: " + oidLookedUpByName + ", " + "intended: " + oid + ")");
-            }
-        } else {
-            serviceOidByIdMap.put(objectSpecId, oid);
-        }
-    }
-
-    @Override
-    public Iterable<ObjectSpecification> specifications() {
-        return Iterables.concat(BddObjectStorePersistedObjects.cachedInstancesBySpecMap.keySet(), operationalInstancesBySpecMap.keySet());
-    }
-
-    @Override
-    public Iterable<ObjectStoreInstances> instances() {
-        return Iterables.concat(BddObjectStorePersistedObjects.cachedInstancesBySpecMap.values(), operationalInstancesBySpecMap.values());
-    }
-
-    @Override
-    public ObjectStoreInstances instancesFor(final ObjectSpecification spec) {
-        if (isCached(spec)) {
-            return getFromMap(spec, BddObjectStorePersistedObjects.cachedInstancesBySpecMap);
-        } else {
-            return getFromMap(spec, operationalInstancesBySpecMap);
-        }
-    }
-
-    // //////////////////////////////////////////////////////////////////
-    // Helpers
-    // //////////////////////////////////////////////////////////////////
-
-    private ObjectStoreInstances getFromMap(final ObjectSpecification spec, final Map<ObjectSpecification, ObjectStoreInstances> map) {
-        ObjectStoreInstances ins = map.get(spec);
-        if (ins == null) {
-            ins = new ObjectStoreInstances(spec);
-            map.put(spec, ins);
-        }
-        return ins;
-    }
-
-    private boolean isCached(final ObjectSpecification spec) {
-        return spec.containsFacet(CachedFacet.class);
-    }
-
-    /**
-     * Only clears the operational instances, not the cached instances.
-     */
-    @Override
-    public void clear() {
-        operationalInstancesBySpecMap.clear();
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/IsisSystemUsingInstallersWithinStory.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/IsisSystemUsingInstallersWithinStory.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/IsisSystemUsingInstallersWithinStory.java
deleted file mode 100644
index ca7cc8d..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/components/IsisSystemUsingInstallersWithinStory.java
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common.components;
-
-import org.apache.isis.core.profilestore.InMemoryUserProfileStoreInstaller;
-import org.apache.isis.core.runtime.authentication.AuthenticationManagerInstaller;
-import org.apache.isis.core.runtime.installerregistry.InstallerLookup;
-import org.apache.isis.core.runtime.installerregistry.installerapi.PersistenceMechanismInstaller;
-import org.apache.isis.core.runtime.system.DeploymentType;
-import org.apache.isis.core.runtime.systemusinginstallers.IsisSystemUsingInstallers;
-import org.apache.isis.core.runtime.userprofile.UserProfileStoreInstaller;
-
-public class IsisSystemUsingInstallersWithinStory extends IsisSystemUsingInstallers {
-
-    public IsisSystemUsingInstallersWithinStory(final DeploymentType deploymentType, final InstallerLookup installerLookup) {
-        super(deploymentType, installerLookup);
-
-        final AuthenticationManagerInstaller authManagerInstaller = new BddAuthenticationManagerInstaller();
-        setAuthenticationInstaller(getInstallerLookup().injectDependenciesInto(authManagerInstaller));
-
-        final PersistenceMechanismInstaller persistorInstaller = new BddInMemoryPersistenceMechanismInstaller();
-        setPersistenceMechanismInstaller(getInstallerLookup().injectDependenciesInto(persistorInstaller));
-
-        final UserProfileStoreInstaller userProfileStoreInstaller = new InMemoryUserProfileStoreInstaller();
-        setUserProfileStoreInstaller(getInstallerLookup().injectDependenciesInto(userProfileStoreInstaller));
-    }
-
-}

http://git-wip-us.apache.org/repos/asf/isis/blob/680f0c8d/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/fixtures/AbstractFixturePeer.java
----------------------------------------------------------------------
diff --git a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/fixtures/AbstractFixturePeer.java b/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/fixtures/AbstractFixturePeer.java
deleted file mode 100644
index 573dbd6..0000000
--- a/mothballed/bdd/common/src/main/java/org/apache/isis/viewer/bdd/common/fixtures/AbstractFixturePeer.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- *  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you under the Apache License, Version 2.0 (the
- *  "License"); you may not use this file except in compliance
- *  with the License.  You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *  Unless required by applicable law or agreed to in writing,
- *  software distributed under the License is distributed on an
- *  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- *  KIND, either express or implied.  See the License for the
- *  specific language governing permissions and limitations
- *  under the License.
- */
-package org.apache.isis.viewer.bdd.common.fixtures;
-
-import java.util.Arrays;
-import java.util.List;
-
-import org.apache.isis.core.commons.authentication.AuthenticationSession;
-import org.apache.isis.core.metamodel.adapter.mgr.AdapterManager;
-import org.apache.isis.core.metamodel.spec.SpecificationLoaderSpi;
-import org.apache.isis.core.runtime.system.context.IsisContext;
-import org.apache.isis.core.runtime.system.persistence.ObjectStore;
-import org.apache.isis.core.runtime.system.persistence.PersistenceSession;
-import org.apache.isis.core.runtime.system.transaction.IsisTransactionManager;
-import org.apache.isis.viewer.bdd.common.AliasRegistry;
-import org.apache.isis.viewer.bdd.common.CellBinding;
-
-public abstract class AbstractFixturePeer {
-
-    private final AliasRegistry aliasRegistry;
-    private final List<CellBinding> cellBindings;
-
-    public AbstractFixturePeer(final AliasRegistry aliasRegistry, final CellBinding... cellBindings) {
-        this(aliasRegistry, Arrays.asList(cellBindings));
-    }
-
-    public AbstractFixturePeer(final AliasRegistry storyRegistries, final List<CellBinding> cellBindings) {
-        this.aliasRegistry = storyRegistries;
-        this.cellBindings = cellBindings;
-    }
-
-    public AliasRegistry getAliasRegistry() {
-        return aliasRegistry;
-    }
-
-    public List<CellBinding> getCellBindings() {
-        return cellBindings;
-    }
-
-    public List<Object> getServices() {
-        return IsisContext.getServices();
-    }
-
-    public SpecificationLoaderSpi getSpecificationLoader() {
-        return IsisContext.getSpecificationLoader();
-    }
-
-    public AuthenticationSession getAuthenticationSession() {
-        return IsisContext.getAuthenticationSession();
-    }
-
-    public PersistenceSession getPersistenceSession() {
-        return IsisContext.getPersistenceSession();
-    }
-
-    protected AdapterManager getAdapterManager() {
-        return getPersistenceSession().getAdapterManager();
-    }
-
-    protected ObjectStore getObjectStore() {
-        return getPersistenceSession().getObjectStore();
-    }
-
-    protected IsisTransactionManager getTransactionManager() {
-        return IsisContext.getTransactionManager();
-    }
-
-    public boolean isValidAlias(final String alias) {
-        return getAliasRegistry().getAliased(alias) != null;
-    }
-
-}