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 2012/12/06 17:59:47 UTC
[25/52] [partial] ISIS-188: more reorganizing of artifacts into
physical directories.
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties b/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
deleted file mode 100644
index 50b23d7..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/logging.properties
+++ /dev/null
@@ -1,89 +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.
-
-
-#
-# Isis uses log4j is used to provide system logging
-#
-log4j.rootCategory=INFO, Console
-
-# 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.layout=org.apache.log4j.PatternLayout
-log4j.appender.File.layout.ConversionPattern=%d [%-20c{1} %-10t %-5p] %m%n
-
-
-
-
-
-! turn on the internal log4j debugging flag so we can see what it is doing
-#log4j.debug=true
-
-
-log4j.logger.jdbc.sqlonly=DEBUG, sql, Console
-log4j.additivity.jdbc.sqlonly=false
-
-log4j.logger.jdbc.resultsettable=DEBUG, jdbc, Console
-log4j.additivity.jdbc.resultsettable=false
-
-
-
-log4j.logger.jdbc.audit=DEBUG,jdbc, Console
-log4j.additivity.jdbc.audit=false
-
-log4j.logger.jdbc.resultset=DEBUG,jdbc
-log4j.additivity.jdbc.resultset=false
-
-log4j.logger.jdbc.sqltiming=WARNING,sqltiming
-log4j.additivity.jdbc.sqltiming=false
-
-log4j.logger.jdbc.connection=FATAL,connection
-log4j.additivity.jdbc.connection=false
-
-
-
-log4j.appender.sql=org.apache.log4j.FileAppender
-log4j.appender.sql.File=./logs/sql.log
-log4j.appender.sql.Append=false
-log4j.appender.sql.layout=org.apache.log4j.PatternLayout
-log4j.appender.sql.layout.ConversionPattern=-----> %d{yyyy-MM-dd HH:mm:ss.SSS} %m%n%n
-
-log4j.appender.sqltiming=org.apache.log4j.FileAppender
-log4j.appender.sqltiming.File=./logs/sqltiming.log
-log4j.appender.sqltiming.Append=false
-log4j.appender.sqltiming.layout=org.apache.log4j.PatternLayout
-log4j.appender.sqltiming.layout.ConversionPattern=-----> %d{yyyy-MM-dd HH:mm:ss.SSS} %m%n%n
-
-log4j.appender.jdbc=org.apache.log4j.FileAppender
-log4j.appender.jdbc.File=./logs/jdbc.log
-log4j.appender.jdbc.Append=false
-log4j.appender.jdbc.layout=org.apache.log4j.PatternLayout
-log4j.appender.jdbc.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %m%n
-
-log4j.appender.connection=org.apache.log4j.FileAppender
-log4j.appender.connection.File=./logs/connection.log
-log4j.appender.connection.Append=false
-log4j.appender.connection.layout=org.apache.log4j.PatternLayout
-log4j.appender.connection.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss.SSS} %m%n
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_fileserver.properties
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_fileserver.properties b/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_fileserver.properties
deleted file mode 100644
index 8464b95..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_fileserver.properties
+++ /dev/null
@@ -1,25 +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.
-
-#
-# configuration file for the NoSQL FileServer objectstore
-#
-
-
-#
-# (intentionally empty)
-#
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_in-memory.properties
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_in-memory.properties b/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_in-memory.properties
deleted file mode 100644
index f35b5bc..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_in-memory.properties
+++ /dev/null
@@ -1,25 +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.
-
-#
-# configuration file for the In-memory objectstore
-#
-
-
-#
-# (intentionally empty)
-#
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_mongodb.properties
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_mongodb.properties b/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_mongodb.properties
deleted file mode 100644
index 79a6e53..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/persistor_mongodb.properties
+++ /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.
-
-#
-# configuration file for the NoSQL (mongo) objectstore
-#
-
-
-
-#
-# The hostname that the MongoDB instance is running on
-#
-# as per "new com.mongodb.Mongo(host, port)"
-#
-#isis.nosql.mongodb.host=localhost
-
-
-#
-# The port number that the MongoDB instance is running on
-#
-# as per "new com.mongodb.Mongo(host, port)"
-#
-#isis.nosql.mongodb.port=0
-
-
-#
-# the name of the mongodb database
-#
-# as in the 'show dbs' and 'use' command
-#
-isis.nosql.mongodb.name=todoapp
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/viewer_scimpi.properties
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/viewer_scimpi.properties b/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/viewer_scimpi.properties
deleted file mode 100644
index 5e621a3..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/viewer_scimpi.properties
+++ /dev/null
@@ -1,25 +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.
-
-#
-# configuration file for the Scimpi viewer
-#
-
-
-#
-# (intentionally empty)
-#
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/web.xml b/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 7973d69..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,174 +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.
--->
-<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 Webapp</display-name>
-
-
- <welcome-file-list>
- <welcome-file>index.html</welcome-file>
- </welcome-file-list>
-
- <context-param>
- <param-name>deploymentType</param-name>
- <!--
- <param-value>SERVER</param-value>
- -->
- <param-value>SERVER_EXPLORATION</param-value>
- </context-param>
-
-
-
- <!--
- -
- -
- - config common to all viewer(s)
- -
- -
- -->
-
- <!-- bootstrap the Isis metamodel and runtime -->
- <listener>
- <listener-class>org.apache.isis.runtimes.dflt.webapp.IsisWebAppBootstrapper</listener-class>
- </listener>
-
- <!-- which (optional) configuration file(s) to load -->
- <context-param>
- <param-name>isis.viewers</param-name>
- <param-value>scimpi</param-value>
- </context-param>
-
-
- <!-- which configuration directory to read overloaded property files from -->
- <!--
- Normally configuration like this should be done from outside your web
- application. Especially if your configuration is not know in advance or
- if it can change depending on where the application gets deployed.
-
- For instance to configure this in Tomcat outside the application WAR add
- the following line to your application context ( For more detail see:
- http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Context_Parameters )
-
- <Parameter name="isis.config.dir" value="/usr/local/tomcat/conf/"
- override="true"/>
-
- If your configuration directory is fixed you can enable the following
- context parameter in here and forget about the outside part.
-
- <context-param>
- <param-name>isis.config.dir</param-name>
- <param-value>location of your config directory if fixed</param-value>
- </context-param>
- -->
-
- <!-- cache static resources for 1 day -->
- <filter>
- <filter-name>ResourceCachingFilter</filter-name>
- <filter-class>org.apache.isis.core.webapp.content.ResourceCachingFilter</filter-class>
- <init-param>
- <param-name>CacheTime</param-name>
- <param-value>86400</param-value>
- </init-param>
- </filter>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.js</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.css</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.png</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.jpg</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.gif</url-pattern>
- </filter-mapping>
- <filter-mapping>
- <filter-name>ResourceCachingFilter</filter-name>
- <url-pattern>*.html</url-pattern>
- </filter-mapping>
-
- <servlet>
- <servlet-name>Resource</servlet-name>
- <servlet-class>org.apache.isis.core.webapp.content.ResourceServlet</servlet-class>
- </servlet>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.css</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.png</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.jpg</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.gif</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.js</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>Resource</servlet-name>
- <url-pattern>*.html</url-pattern>
- </servlet-mapping>
-
-
-
-
- <!--
- -
- -
- - config specific to the scimpi-viewer
- -
- -
- -->
- <servlet>
- <servlet-name>ScimpiDispatcher</servlet-name>
- <servlet-class>org.apache.isis.viewer.scimpi.servlet.DispatcherServlet</servlet-class>
- <init-param>
- <param-name>view</param-name>
- <param-value>login.shtml</param-value>
- </init-param>
- <load-on-startup>1</load-on-startup>
- </servlet>
- <servlet-mapping>
- <servlet-name>ScimpiDispatcher</servlet-name>
- <url-pattern>*.shtml</url-pattern>
- </servlet-mapping>
- <servlet-mapping>
- <servlet-name>ScimpiDispatcher</servlet-name>
- <url-pattern>*.app</url-pattern>
- </servlet-mapping>
-
-</web-app>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/debug.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/debug.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/debug.shtml
deleted file mode 100644
index 844557c..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/debug.shtml
+++ /dev/null
@@ -1,23 +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.
--->
-<swf:template file="scimpi/style/template.shtml"/>
-
-<swf:services/>
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/error.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/error.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/error.shtml
deleted file mode 100644
index 67b0ad6..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/error.shtml
+++ /dev/null
@@ -1,23 +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.
--->
-<swf:page-title>Error!</swf:page-title>
-
-<swf:template file="scimpi/style/template.shtml" />
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/generic/action.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/action.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/generic/action.shtml
deleted file mode 100644
index 49bd03c..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/action.shtml
+++ /dev/null
@@ -1,26 +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.
--->
-<swf:page-title>Action <swf:action-name method="${_method}"/></swf:page-title>
-<swf:template file="../scimpi/style/template.shtml" />
-
-<swf:action-form method="${_method}" view="_generic.shtml" ${_cancel-to:optional}/>
-
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/generic/collection.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/collection.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/generic/collection.shtml
deleted file mode 100644
index 7ac8411..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/collection.shtml
+++ /dev/null
@@ -1,26 +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.
--->
-<swf:page-title><swf:element-type /> Listing</swf:page-title>
-<swf:template file="../scimpi/style/template.shtml" />
-
-<h2>${title}</h2>
-<swf:table xxtitle="My Little Table" xxxno-columns="7" xxheader="no" footer="yes" link="_generic.shtml" />
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/generic/edit.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/edit.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/generic/edit.shtml
deleted file mode 100644
index af9c922..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/edit.shtml
+++ /dev/null
@@ -1,26 +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.
--->
-<swf:page-title>Edit <swf:title-string /></swf:page-title>
-<swf:template file="../scimpi/style/template.shtml" />
-
-<h2>Edit <swf:title /></h2>
-<swf:edit />
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/generic/object.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/object.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/generic/object.shtml
deleted file mode 100644
index f641317..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/generic/object.shtml
+++ /dev/null
@@ -1,28 +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.
--->
-<swf:page-title><swf:title-string /></swf:page-title>
-<swf:template file="../scimpi/style/template.shtml" />
-
-<h2><swf:title /></h2>
-<swf:long-form link="_generic.shtml" title="" />
-
-<swf:methods />
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/index.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/index.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/index.shtml
deleted file mode 100644
index c3a970b..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/index.shtml
+++ /dev/null
@@ -1,22 +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.
--->
-<swf:page-title>ToDo App</swf:page-title>
-
-<swf:template file="scimpi/style/template.shtml" />
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/login.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/login.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/login.shtml
deleted file mode 100644
index 2c6f18d..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/login.shtml
+++ /dev/null
@@ -1,28 +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.
--->
-<swf:template file="scimpi/style/site-template.shtml" />
-
-<style>
-div#content {
- margin-left: 2em;
-}
-</style>
-<h2>Please Log On</h2>
-<swf:logon view="index.shtml"/>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml
deleted file mode 100644
index b36c272..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/custom/new-todo.shtml
+++ /dev/null
@@ -1,26 +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.
--->
-<swf:page-title>New To Do</swf:page-title>
-
-<swf:template file="../style/template.shtml" />
-
-<swf:action-form object="service:toDoItems" method="newToDo" button-title="Save" />
-
-
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png b/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png
deleted file mode 100644
index ea4cbc1..0000000
Binary files a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/images/scimpi-logo.png and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/reset.css
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/reset.css b/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/reset.css
deleted file mode 100644
index 5839a5c..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/reset.css
+++ /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.
- */
-
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, font, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- font-weight: inherit;
- font-style: inherit;
- font-size: 100%;
- font-family: inherit;
- vertical-align: baseline;
-}
-input, textarea {
- margin: 0;
- padding: 0;
- outline: 0;
-}
-:focus {
- outline: 0;
-}
-body {
- line-height: 1;
- color: black;
- background: white;
-}
-ol, ul {
- list-style: none;
-}
-table {
- border-collapse: separate;
- border-spacing: 0;
-}
-caption, th, td {
- text-align: left;
- font-weight: normal;
-}
-blockquote:before, blockquote:after,
-q:before, q:after {
- content: "";
-}
-blockquote, q {
- quotes: "" "";
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/screen.css
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/screen.css b/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/screen.css
deleted file mode 100644
index 09df6e3..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/screen.css
+++ /dev/null
@@ -1,338 +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.
- */
-body {
- font-family: Arial, Sans-Serif;
- margin: 0 0 10px 0;
- color: black;
- background-color: #0;
- font-size: 16px;
-}
-em {
- font-style: italic;
-}
-strong {
- font-weight: bold;
-}
-h1, h2, h3, div#title, form .title {
- margin-bottom: 0.8em;
- font-weight: bold;'
- letter-spacing: 2px;
- text-shadow: 0.1em 0.1em 0.1em #bbb;
-}
-h1 {
- font-size: 200%;
-}
-h2, form .title {
- margin-top: 1.5em;
- font-size: 160%;
-}
-ol, ul {
- margin: 1em 0 2em 0
-}
-li {
- margin: 0.3em 0;
-}
-/*
-* Overall Layout
-*/
-div#banner {
- background-color: #dde;
- width: 100%;
- height: 76px;
- border-bottom: 10px solid gray;
-}
-div#content {
- position: absolute;
-}
-div#side {
- height: 100%;
- width: 300px;
- margin-right: 30px;
- padding-left: 20px;
- min-height: 400px;
- border-bottom: 70px transparent solid; /* should be the same as the #footer height */
-}
-div#main {
- position: absolute;
- min-width: 500px;
- left: 321px; /* should math the width of #side */
- top: 0;
- border-bottom: 70px transparent solid; /* should be the same as the #footer height */
-}
-div#footer {
- position: fixed;
- width: 100%;
- height: 70px;
- bottom: 0;
- padding-left: 20px;
- background-color: #eee;
- border-top: 1px solid gray;
-}
-/*
-* Banner
-*/
-div#logo {
- position: absolute;
- right: 30px;
-}
-div#title {
- padding-top: 20px;
- padding-left: 20px;
- font-size: 200%;
- font-weight: bold;
- font-style: italic;
-}
-div#title a {
- color: black;
- text-decoration: none;
-}
-div.user {
- position: absolute;
- top: 4px;
- right: 18em;
- font-size: 70%;
-}
-form.login .field {
- display: inline;
-}
-form.login .field * {
- display: inline;
- position: relative;
- margin: 0;
-}
-form.login .field input {
- margin-left: 0.6em;
-}
-
-
-
-/*
-* Footer
-*/
-div#debug {
- padding: 10px 0;
-}
-div#debug > * {
- font-size: 70%;
- margin: 5px 0;
-}
-
-/*
-* Side bar
-*/
-div#side ol {
- padding-left: 0px;
-}
-div#side li {
- list-style: none;
- line-height: 1.5em
-}
-xxdiv#side li a {
- text-decoration: none;
- color: inherit;
-}
-xxdiv#side li a:HOVER {
- text-decoration: underline;
-}
-xxdiv#side li a:VISITED {
- color: inherit;
-}
-
-
-
-a {
- text-decoration: none;
- color: inherit;
-}
-a:HOVER {
- text-decoration: underline;
-}
-a:VISITED {
- color: inherit;
-}
-
-
-
-/*
-* Forms
-*/
-.form {
- margin-bottom: 2em;
-}
-.field {
- position: relative;
- min-height: 1.5em;
- margin-bottom: 1em;
-}
-.field > * {
- display: inline-block;
- font-size: 100%;
-}
-.field > * {
- margin-left: 10em;
-}
-.field > .label {
- margin-left: 0;
- position: absolute;
- padding-top: 0.4em;
- font-style: italic;
- font-size: 90%;
-}
-.field > .value {
- white-space: pre-wrap;
-}
-.field > .required {
- margin-left: 0;
- vertical-align: top;
-}
-textarea {
- font-family: Arial, Sans-Serif;
-}
-
-
-.actions {
- margin-bottom: 2.5em;
-}
-.action {
- margin-bottom: 1em;
- min-height: 20px;
-}
-
-xxxform.action a.button,
-xxxform.action,
-form.full input.button {
- xxxmargin-top: 1em;
- margin-left: 12.5em;
-}
-form.full input.button + input.button {
- xxxmargin-top: 1em;
- margin-left: 0.5em;
-}
-.action .form .label,
-.action.field label {
- xxxvertical-align: 2px;
- xxxpadding-top: 12px;
- font-style: italic;
-}
-a.action > .button {
- font-size: 90%;
- border:1px red solid;
-}
-.edit > .button,
-.action > .button,
-.action > .disabled,
-.controls > .button,
-.controls > form > .button {
- shadow: 1px 1px black;
- border: 1px solid gray;
- border-radius: 4px;
- font-size: 80%;
- text-decoration: none;
- cursor: default;
- padding: 5px 12px;
- xxxsmin-height: 1em;
-}
-.edit > .button,
-.action > .button,
-.controls > .button,
-.controls > form > .button {
- background-color: #666;
- text-shadow: 1px 1px black;
- color: #ddd
-}
-td input.button,
-td a.button {
- vertical-align: 2px;
-}
-td form.element-delete {
- margin-left: 4px;
-}
-.controls > form {
- display: inline;
-}
-.action > .disabled {
- background-color: #aaa;
- xxtext-shadow: 1px 1px white;
- color: #666;
-}
-xxxform#newToDo .title {
- font-size: 140%;
- font-weight: bold;
- margin-top: 1.5em;
- margin-bottom: 0.5em;
-}
-xxxform#newToDo label {
- display: none;
-}
-xxxxform#newToDo input {
- margin-left: 0;
-}
-p.alternative {
- margin-top: 80px;
- font-size: 80%;
- font-style: italic;
-}
-table {
- width: 100%;
-}
-thead, tfoot {
- background-color: #aaa;
- color: #fff;
- font-size: 70%;
-}
-tr.even-row {
- background-color: #eee;
-}
-tr.odd-row {
- border-bottom: 1px solid #bbb;
-}
-tr.odd-row td {
- border-bottom: 1px solid #bbb;
-}
-tr:HOVER {
- background-color: #efe;
-}
-tr:HOVER a {
- text-decoration: underline;
-}
-td, th {
- padding: 7px 10px;
- min-width: 150px;
- max-width: 300px;
-}
-td.controls {
- font-size: 80%;
-}
-th {
- xxxfont-weight: bold;
-}
-span.error,
-.errors {
- color: red;
- font-size: 80%;
-}
-span.error {
- maring-left: 6px;
-}
-
-
-
-input {
- xxxborder: 1px red solid;
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml
deleted file mode 100644
index 27a2a9d..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/site-template.shtml
+++ /dev/null
@@ -1,54 +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.
--->
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-<head>
- <title>${title}</title>
- <link rel="stylesheet" title="Style 1" href="${_context}/scimpi/style/reset.css" type="text/css" media="all" />
- <link rel="stylesheet" title="Style 1" href="${_context}/scimpi/style/screen.css" type="text/css" media="all" />
-</head>
-
-<body id="demo">
-
-<div id="banner">
- <div id="logo"><img src="${_context}/scimpi/images/scimpi-logo.png"/></div>
- <div id="title"><a href="/">To-Do App</a></div>
- <swf:user login-view="/login.shtml" logout-view="/login.shtml" />
-</div>
-
-<div id="content">
- <swf:content />
-</div>
-
-<div id="footer">
- <div style="float:right; margin-right: 40px;">
- <a href="${_context}/index.html">home</a> | <a href="${_context}/logon.htmlviewer">html</a> | <a href="${_context}/services">rest</a> | <a href="${_context}/mobile/index.html">mobile</a>
- </div>
- <div id="debug">
- <h1>Debug <a href="/debug.app">open</a></h1>
- <p><strong>Template used:</strong> ${_directory}${_this}</p>
- <p><strong>Request:</strong> ${_base}</p>
- </div>
- <div style="clear:both;"/>
- <swf:diagnostics/>
-</div>
-
-</body>
-</html>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml
----------------------------------------------------------------------
diff --git a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml b/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml
deleted file mode 100644
index 8535da7..0000000
--- a/examples/quickstart/viewer-scimpi/src/main/webapp/scimpi/style/template.shtml
+++ /dev/null
@@ -1,35 +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.
--->
-
-<swf:template file="../style/site-template.shtml" />
-
-<div id="side">
- <h2>My To Dos</h2>
- <swf:run-action object="service:toDoItems" method="notYetDone" result-name="todos" />
- <swf:list object="${todos}" link="${_context}/_generic.shtml" />
-
- <swf:button href="../scimpi/custom/new-todo.shtml">New To Do...</swf:button>
-
-</div>
-
-<div id="main">
- <swf:feedback />
- <swf:content />
-</div>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/dom/log4j.properties
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/dom/log4j.properties b/examples/quickstart_dnd_junit_bdd/dom/log4j.properties
deleted file mode 100644
index 281bfb6..0000000
--- a/examples/quickstart_dnd_junit_bdd/dom/log4j.properties
+++ /dev/null
@@ -1,24 +0,0 @@
-# LOG4J Configuration
-# ===================
-
-# Basic logging goes to "datanucleus.log"
-log4j.appender.A1=org.apache.log4j.FileAppender
-log4j.appender.A1.File=datanucleus.log
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%d{HH:mm:ss,SSS} (%t) %-5p [%c] - %m%n
-#log4j.appender.A1.Threshold=INFO
-
-# Categories
-# Each category can be set to a "level", and to direct to an appender
-
-# Default to DEBUG level for all DataNucleus categories
-log4j.logger.DataNucleus = DEBUG, A1
-
-log4j.category.com.mchange.v2.c3p0=INFO, A1
-log4j.category.com.mchange.v2.resourcepool=INFO, A1
-log4j.category.org.logicalcobwebs.proxool=INFO,A1
-
-
-# Hbase libs logging
-log4j.category.org.apache.hadoop=INFO,A1
-log4j.category.org.apache.zookeeper=INFO,A1
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/dom/pom.xml
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/dom/pom.xml b/examples/quickstart_dnd_junit_bdd/dom/pom.xml
deleted file mode 100644
index 6129aca..0000000
--- a/examples/quickstart_dnd_junit_bdd/dom/pom.xml
+++ /dev/null
@@ -1,54 +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.examples</groupId>
- <artifactId>quickstart_dnd_junit_bdd</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- </parent>
-
- <artifactId>quickstart_dnd_junit_bdd-dom</artifactId>
- <name>Quickstart DOM</name>
-
-
- <dependencyManagement>
- <dependencies>
- <!-- for DataNucleus, see below -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>jdo</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- <type>pom</type>
- <scope>import</scope>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
-
- <dependencies>
- <dependency>
- <groupId>org.apache.isis</groupId>
- <artifactId>applib</artifactId>
- </dependency>
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItem.java
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItem.java b/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItem.java
deleted file mode 100644
index bf71448..0000000
--- a/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItem.java
+++ /dev/null
@@ -1,228 +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 dom.todo;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.apache.isis.applib.DomainObjectContainer;
-import org.apache.isis.applib.annotation.AutoComplete;
-import org.apache.isis.applib.annotation.Disabled;
-import org.apache.isis.applib.annotation.Hidden;
-import org.apache.isis.applib.annotation.MemberGroups;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.MultiLine;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.ObjectType;
-import org.apache.isis.applib.annotation.Optional;
-import org.apache.isis.applib.annotation.Resolve;
-import org.apache.isis.applib.annotation.Resolve.Type;
-import org.apache.isis.applib.annotation.Title;
-import org.apache.isis.applib.annotation.Where;
-import org.joda.time.LocalDate;
-
-@ObjectType("TODO")
-@AutoComplete(repository=ToDoItems.class, action="autoComplete")
-@MemberGroups({"General", "Detail"})
-public class ToDoItem {
-
- public static enum Category {
- Professional, Domestic, Other;
- }
-
- // {{ Description
- private String description;
-
- @Title
- @MemberOrder(sequence = "1")
- public String getDescription() {
- return description;
- }
-
- public void setDescription(final String description) {
- this.description = description;
- }
- // }}
-
- // {{ Category
- private Category category;
-
- @MemberOrder(sequence = "2")
- public Category getCategory() {
- return category;
- }
-
- public void setCategory(final Category category) {
- this.category = category;
- }
- // }}
-
- // {{ DueBy (property)
- private LocalDate dueBy;
-
- @MemberOrder(name="Detail", sequence = "3")
- @Optional
- public LocalDate getDueBy() {
- return dueBy;
- }
-
- public void setDueBy(final LocalDate dueBy) {
- this.dueBy = dueBy;
- }
- // }}
-
- // {{ Done
- private boolean done;
-
- @Disabled
- @MemberOrder(sequence = "4")
- public boolean getDone() {
- return done;
- }
-
- public void setDone(final boolean done) {
- this.done = done;
- }
- // }}
-
- // {{ Notes (property)
- private String notes;
-
- @Hidden(where=Where.ALL_TABLES)
- @Optional
- @MultiLine(numberOfLines=5)
- @MemberOrder(name="Detail", sequence = "6")
- public String getNotes() {
- return notes;
- }
-
- public void setNotes(final String notes) {
- this.notes = notes;
- }
- // }}
-
- // {{ OwnedBy (property, hidden)
- private String ownedBy;
-
- @Hidden
- public String getOwnedBy() {
- return ownedBy;
- }
-
- public void setOwnedBy(final String ownedBy) {
- this.ownedBy = ownedBy;
- }
- // }}
-
- // {{ markAsDone (action)
- @MemberOrder(sequence = "1")
- public ToDoItem markAsDone() {
- setDone(true);
- return this;
- }
-
- public String disableMarkAsDone() {
- return done ? "Already done" : null;
- }
- // }}
-
- // {{ markAsNotDone (action)
- @MemberOrder(sequence = "2")
- public ToDoItem markAsNotDone() {
- setDone(false);
- return this;
- }
-
- public String disableMarkAsNotDone() {
- return !done ? "Not yet done" : null;
- }
- // }}
-
- // {{ dependencies (Collection)
- private List<ToDoItem> dependencies = new ArrayList<ToDoItem>();
-
- @Disabled
- @MemberOrder(sequence = "1")
- @Resolve(Type.EAGERLY)
- public List<ToDoItem> getDependencies() {
- return dependencies;
- }
-
- public void setDependencies(final List<ToDoItem> dependencies) {
- this.dependencies = dependencies;
- }
- // }}
-
- // {{ add (action)
- @MemberOrder(name="dependencies", sequence = "3")
- public ToDoItem add(final ToDoItem toDoItem) {
- getDependencies().add(toDoItem);
- return this;
- }
- public String validateAdd(final ToDoItem toDoItem) {
- if(getDependencies().contains(toDoItem)) {
- return "Already a dependency";
- }
- if(toDoItem == this) {
- return "Can't set up a dependency to self";
- }
- return null;
- }
- // }}
-
- // {{ remove (action)
- @MemberOrder(name="dependencies", sequence = "4")
- public ToDoItem remove(final ToDoItem toDoItem) {
- getDependencies().remove(toDoItem);
- return this;
- }
- public String disableRemove() {
- return getDependencies().isEmpty()? "No dependencies to remove": null;
- }
- public String validateRemove(final ToDoItem toDoItem) {
- if(!getDependencies().contains(toDoItem)) {
- return "Not a dependency";
- }
- return null;
- }
- public List<ToDoItem> choices0Remove() {
- return getDependencies();
- }
- // }}
-
- // {{ injected: DomainObjectContainer
- @SuppressWarnings("unused")
- private DomainObjectContainer container;
-
- public void setDomainObjectContainer(final DomainObjectContainer container) {
- this.container = container;
- }
- // }}
-
- // {{ injected: ToDoItems
- @SuppressWarnings("unused")
- private ToDoItems toDoItems;
-
- public void setToDoItems(final ToDoItems toDoItems) {
- this.toDoItems = toDoItems;
- }
- // }}
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItems.java
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItems.java b/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItems.java
deleted file mode 100644
index 6d4c12d..0000000
--- a/examples/quickstart_dnd_junit_bdd/dom/src/main/java/dom/todo/ToDoItems.java
+++ /dev/null
@@ -1,139 +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 dom.todo;
-
-import java.util.List;
-
-import com.google.common.base.Objects;
-
-import dom.todo.ToDoItem.Category;
-
-import org.apache.isis.applib.AbstractFactoryAndRepository;
-import org.apache.isis.applib.annotation.ActionSemantics;
-import org.apache.isis.applib.annotation.ActionSemantics.Of;
-import org.apache.isis.applib.annotation.Hidden;
-import org.apache.isis.applib.annotation.MemberOrder;
-import org.apache.isis.applib.annotation.Named;
-import org.apache.isis.applib.annotation.NotInServiceMenu;
-import org.apache.isis.applib.filter.Filter;
-
-@Named("ToDos")
-public class ToDoItems extends AbstractFactoryAndRepository {
-
- // {{ Id, iconName
- @Override
- public String getId() {
- return "toDoItems";
- }
-
- public String iconName() {
- return "ToDoItem";
- }
- // }}
-
- // {{ notYetDone (action)
- @ActionSemantics(Of.SAFE)
- @MemberOrder(sequence = "1")
- public List<ToDoItem> notYetDone() {
- return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
- @Override
- public boolean accept(final ToDoItem t) {
- return ownedByCurrentUser(t) && !t.getDone();
- }
- });
- }
- // }}
-
- // {{ done (action)
- @ActionSemantics(Of.SAFE)
- @MemberOrder(sequence = "2")
- public List<ToDoItem> done() {
- return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
- @Override
- public boolean accept(final ToDoItem t) {
- return ownedByCurrentUser(t) && t.getDone();
- }
- });
- }
- // }}
-
- // {{ newToDo (action)
- @MemberOrder(sequence = "2")
- public ToDoItem newToDo(
- @Named("Description") String description,
- @Named("Category") Category category) {
- final String ownedBy = getContainer().getUser().getName();
- return newToDo(description, category, ownedBy);
- }
- // }}
-
- // {{ newToDo (hidden)
- @Hidden // for use by fixtures
- public ToDoItem newToDo(
- String description,
- Category category,
- String ownedBy) {
- final ToDoItem toDoItem = newTransientInstance(ToDoItem.class);
- toDoItem.setDescription(description);
- toDoItem.setCategory(category);
- toDoItem.setOwnedBy(ownedBy);
- persist(toDoItem);
- return toDoItem;
- }
- // }}
-
- // {{ similarTo (action)
- @NotInServiceMenu
- @ActionSemantics(Of.SAFE)
- @MemberOrder(sequence = "3")
- public List<ToDoItem> similarTo(final ToDoItem toDoItem) {
- return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
- @Override
- public boolean accept(ToDoItem t) {
- return t != toDoItem && Objects.equal(toDoItem.getCategory(), t.getCategory()) && Objects.equal(toDoItem.getOwnedBy(), t.getOwnedBy());
- }
- });
- }
- // }}
-
- // {{ autoComplete (hidden)
- @Hidden
- @MemberOrder(sequence = "1")
- public List<ToDoItem> autoComplete(final String description) {
- return allMatches(ToDoItem.class, new Filter<ToDoItem>() {
- @Override
- public boolean accept(final ToDoItem t) {
- return ownedByCurrentUser(t) && t.getDescription().contains(description);
- }
-
- });
- }
- // }}
-
- // {{ helpers
- protected boolean ownedByCurrentUser(final ToDoItem t) {
- return Objects.equal(t.getOwnedBy(), currentUserName());
- }
- protected String currentUserName() {
- return getContainer().getUser().getName();
- }
- // }}
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/dom/src/main/resources/images/ToDoItem.gif
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/dom/src/main/resources/images/ToDoItem.gif b/examples/quickstart_dnd_junit_bdd/dom/src/main/resources/images/ToDoItem.gif
deleted file mode 100644
index cc536e1..0000000
Binary files a/examples/quickstart_dnd_junit_bdd/dom/src/main/resources/images/ToDoItem.gif and /dev/null differ
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/fixture/pom.xml
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/fixture/pom.xml b/examples/quickstart_dnd_junit_bdd/fixture/pom.xml
deleted file mode 100644
index b4dcd2f..0000000
--- a/examples/quickstart_dnd_junit_bdd/fixture/pom.xml
+++ /dev/null
@@ -1,39 +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.examples</groupId>
- <artifactId>quickstart_dnd_junit_bdd</artifactId>
- <version>0.3.1-SNAPSHOT</version>
- </parent>
-
- <artifactId>quickstart_dnd_junit_bdd-fixture</artifactId>
- <name>Quickstart Fixtures</name>
-
- <dependencies>
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_dnd_junit_bdd-dom</artifactId>
- </dependency>
- </dependencies>
-
-</project>
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/LogonAsSvenFixture.java
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/LogonAsSvenFixture.java b/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/LogonAsSvenFixture.java
deleted file mode 100644
index 5bdc6fe..0000000
--- a/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/LogonAsSvenFixture.java
+++ /dev/null
@@ -1,30 +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 fixture;
-
-import org.apache.isis.applib.fixtures.LogonFixture;
-
-public class LogonAsSvenFixture extends LogonFixture {
-
- public LogonAsSvenFixture() {
- super("sven");
- }
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java b/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java
deleted file mode 100644
index b0c7b61..0000000
--- a/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixture.java
+++ /dev/null
@@ -1,74 +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 fixture.todo;
-
-import dom.todo.ToDoItem;
-import dom.todo.ToDoItem.Category;
-import dom.todo.ToDoItems;
-
-import org.apache.isis.applib.fixtures.AbstractFixture;
-
-public class ToDoItemsFixture extends AbstractFixture {
-
- @Override
- public void install() {
- createFiveFor("sven");
- createThreeFor("dick");
- createTwoFor("bob");
- createOneFor("joe");
-
- // for exploration user
- createFiveFor("exploration");
- }
-
- private void createFiveFor(String ownedBy) {
- createToDoItem("Buy milk", Category.Domestic, ownedBy);
- createToDoItem("Pick up laundry", Category.Domestic, ownedBy);
- createToDoItem("Buy stamps", Category.Domestic, ownedBy);
- createToDoItem("Write blog post", Category.Professional, ownedBy);
- createToDoItem("Organize brown bag", Category.Professional, ownedBy);
- }
-
- private void createThreeFor(String ownedBy) {
- createToDoItem("Book car in for service", Category.Domestic, ownedBy);
- createToDoItem("Buy birthday present for sven", Category.Domestic, ownedBy);
- createToDoItem("Write presentation for conference", Category.Professional, ownedBy);
- }
-
- private void createTwoFor(String ownedBy) {
- createToDoItem("Write thank you notes", Category.Domestic, ownedBy);
- createToDoItem("Look into solar panels", Category.Domestic, ownedBy);
- }
-
- private void createOneFor(String ownedBy) {
- createToDoItem("Pitch book idea to publisher", Category.Professional, ownedBy);
- }
-
- private ToDoItem createToDoItem(final String description, Category category, String ownedBy) {
- return toDoItems.newToDo(description, category, ownedBy);
- }
-
- private ToDoItems toDoItems;
-
- public void setToDoItems(final ToDoItems toDoItems) {
- this.toDoItems = toDoItems;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixturesService.java
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixturesService.java b/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixturesService.java
deleted file mode 100644
index ddb1203..0000000
--- a/examples/quickstart_dnd_junit_bdd/fixture/src/main/java/fixture/todo/ToDoItemsFixturesService.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 fixture.todo;
-
-import dom.todo.ToDoItems;
-
-import org.apache.isis.applib.AbstractService;
-import org.apache.isis.applib.annotation.Named;
-
-/**
- * Enables fixtures to be installed from the application.
- */
-@Named("Fixtures")
-public class ToDoItemsFixturesService extends AbstractService {
-
- public void install() {
- final ToDoItemsFixture fixture = new ToDoItemsFixture();
- fixture.setContainer(getContainer());
- fixture.setToDoItems(toDoItems);
- fixture.install();
- }
-
- private ToDoItems toDoItems;
-
- public void setToDoItems(final ToDoItems toDoItems) {
- this.toDoItems = toDoItems;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/isis/blob/0861ed93/examples/quickstart_dnd_junit_bdd/pom.xml
----------------------------------------------------------------------
diff --git a/examples/quickstart_dnd_junit_bdd/pom.xml b/examples/quickstart_dnd_junit_bdd/pom.xml
deleted file mode 100644
index dda0f9d..0000000
--- a/examples/quickstart_dnd_junit_bdd/pom.xml
+++ /dev/null
@@ -1,479 +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>
-
- <groupId>org.apache.isis.examples</groupId>
- <artifactId>quickstart_dnd_junit_bdd</artifactId>
- <version>0.3.1-SNAPSHOT</version>
-
- <name>Quickstart (JUnit/BDD) App</name>
-
- <packaging>pom</packaging>
-
- <properties>
- <isis.version>0.3.1-SNAPSHOT</isis.version>
- </properties>
-
- <repositories>
- <repository>
- <id>apache.snapshots</id>
- <name>Apache Snapshots</name>
- <url>https://repository.apache.org/content/repositories/snapshots/</url>
- <releases>
- <enabled>false</enabled>
- </releases>
- <snapshots>
- <enabled>true</enabled>
- </snapshots>
- </repository>
- </repositories>
-
- <build>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.3.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- <executions>
- <execution>
- <id>source</id>
- <phase>compile</phase>
- </execution>
- <execution>
- <id>test</id>
- <phase>test-compile</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <excludes>
- <exclude>**/Test*.java</exclude>
- </excludes>
- <useFile>true</useFile>
- <printSummary>false</printSummary>
- <outputDirectory>${project.build.directory}/surefire-reports</outputDirectory>
- </configuration>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- <version>2.5</version>
- <configuration>
- <excludes>
- <exclude>**/Test*.java</exclude>
- </excludes>
- <showSuccess>false</showSuccess>
- </configuration>
- <executions>
- <execution>
- <phase>test</phase>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
- <version>6.1.25</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-shade-plugin</artifactId>
- <version>1.4</version>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>1.6</version>
- <executions>
- <execution>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <!-- http://simplericity.com/2009/11/10/1257880778509.html -->
- <plugin>
- <groupId>org.simplericity.jettyconsole</groupId>
- <artifactId>jetty-console-maven-plugin</artifactId>
- <version>1.43</version>
- </plugin>
- </plugins>
- </pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-report-plugin</artifactId>
- </plugin>
- </plugins>
- </build>
-
- <modules>
- <module>dom</module>
- <module>fixture</module>
- <module>viewer-dnd</module>
- <module>tests-junit</module>
- <module>tests-bdd</module>
- </modules>
-
- <dependencyManagement>
- <dependencies>
-
- <!-- this project's own modules -->
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_dnd_junit_bdd-dom</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_dnd_junit_bdd-fixture</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_dnd_junit_bdd-viewer-dnd</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_dnd_junit_bdd-tests-bdd</artifactId>
- <version>${project.version}</version>
- </dependency>
-
- <dependency>
- <groupId>${project.groupId}</groupId>
- <artifactId>quickstart_dnd_junit_bdd-tests-junit</artifactId>
- <version>${project.version}</version>
- </dependency>
-
-
- <!-- isis: applib -->
- <dependency>
- <groupId>org.apache.isis</groupId>
- <artifactId>applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis</groupId>
- <artifactId>applib</artifactId>
- <classifier>javadoc</classifier>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: core -->
- <dependency>
- <groupId>org.apache.isis.core</groupId>
- <artifactId>isis-metamodel</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: progmodel: wrapper -->
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>wrapper</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>wrapper-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>wrapper-metamodel</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: progmodel: groovy -->
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>groovy</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>groovy-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.progmodels</groupId>
- <artifactId>groovy-metamodel</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: security: dflt -->
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: security: ldap -->
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>ldap</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: security: file -->
- <dependency>
- <groupId>org.apache.isis.security</groupId>
- <artifactId>file</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes: dflt -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt</groupId>
- <artifactId>runtime</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt</groupId>
- <artifactId>isis-webserver</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.bytecode</groupId>
- <artifactId>javassist</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
-
- <!-- isis: runtimes-dflt: objectstores: dflt -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: objectstores: jdo -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>jdo</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>jdo-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>jdo-datanucleus</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: objectstores: mongodb and fileserver -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>nosql</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: objectstore: sql -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>sql-impl</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: objectstores: xml -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.objectstores</groupId>
- <artifactId>xml</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
-
- <!-- isis: runtimes-dflt: profilestores: dflt -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
- <artifactId>dflt</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: runtimes-dflt: profilestores: xml -->
- <dependency>
- <groupId>org.apache.isis.runtimes.dflt.profilestores</groupId>
- <artifactId>xml</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
-
- <!-- isis: viewer: dnd -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>dnd</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: viewer: html -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>html</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: viewer: restfulobjects -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>restfulobjects</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>restfulobjects-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>restfulobjects-viewer</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: viewer: junit -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>junit</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <!-- isis: viewer: bdd -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>bdd</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>bdd-common</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>bdd-concordion</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- </dependency>
-
-
- <!-- isis: viewer: scimpi -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>scimpi</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>scimpi-dispatcher</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>scimpi-servlet</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
-
- <!-- isis: viewer: wicket -->
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>wicket</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>wicket-applib</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>wicket-facets</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>wicket-model</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>wicket-ui</artifactId>
- <version>${isis.version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.isis.viewer</groupId>
- <artifactId>wicket-viewer</artifactId>
- <version>${isis.version}</version>
- </dependency>
-
- </dependencies>
- </dependencyManagement>
-
- <profiles>
- <profile>
- <id>m2e</id>
- <activation>
- <property>
- <name>m2e.version</name>
- </property>
- </activation>
- <build>
- <directory>target-ide</directory>
- </build>
- </profile>
- </profiles>
-
-</project>