diff --git a/COMMITTERS b/COMMITTERS
new file mode 100644
index 00000000..cad7a5a1
--- /dev/null
+++ b/COMMITTERS
@@ -0,0 +1,31 @@
+The following people have commit access to the Sakai Project fork
+of the Sparse Map Content System sources originally authored
+by Ian Boston (ian@tfd.co.uk). Note that this is not a
+full list of the authors; for that, you will need to look
+over the log messages to see all the patch contributors.
+
+Committers:
+
+ carl@hallwaytech.com Carl Hall
+ zach@aeroplanesoftware.com Zach Thomas
+ chris@media.berkeley.edu Chris Tweney
+ arwhyte@umich.edu Anthony Whyte
+
+Contributors:
+
+For a complete list of contributions please see the commit log.
+Contributors include:
+
+ ian@tfd.co.uk Ian Boston (original author)
+ ray@media.berkeley.edu Ray Davis
+ cdunstall@csu.edu.au Chris Dunstall
+ erik.froese@gmail.com Erik Froese
+ duffy@rsmart.com Duffy Gillman
+ johnk@media.berkeley.edu John King
+ kotwal.aadish@gmail.com Aadish Kotwal
+ droma@csu.edu.au Dave Roma
+ mark@dishevelled.net Mark Triggs
+ mawalsh@csu.edu.au Mark Walsh
+ roberttdev@gmail.com Rob Williams
+
+
diff --git a/CONTRIBUTING b/CONTRIBUTING
new file mode 100644
index 00000000..dcc9a57d
--- /dev/null
+++ b/CONTRIBUTING
@@ -0,0 +1,9 @@
+Please read the README and NOTICE files before contributing.
+Contributions are very welcome under those terms, but its your responsibility
+to ensure that the contributions meet those requirements.
+
+All patches prior to this file appearing in the code base were contributed under no
+explicit policy on accepting patches and Timefields Ltd holds no copyright to those
+contributons and makes no assertions as to the IPR status or patent status of those
+contributions.
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 00000000..75b52484
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed 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.
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 00000000..9ccf1b96
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,18 @@
+Sparse Content Bundle
+Copyright 2011 Timefields Ltd
+
+The Copyright of patches appearing in the code base prior to the appearance of this NOTICE and CONTRIBUTING file
+were accepted under the assumption that re-licensing of those patches, under the Apache 2 Software License to the
+Sakai Foundation was acceptable to the contributors, and that there was nothing in the patches that would prevent
+that from happening, infringe on any patents or IPR. If you are concerned about this, you can find authors using
+the version control system.
+
+-----------------------------------------------------------
+
+This product includes software from the The Apache Software Foundation (http://www.apache.org/).
+
+Patches and contributions made to this code base are made under the terms of the Apache 2 Software License (see para 5).
+
+Binary distributions of this product contain jars developed and licensed by other third parties, identified by the
+LICENSE and NOTICE files included within each jar under the META-INF directory.
+
diff --git a/README.textile b/README.textile
index 087225d1..31ea7e74 100644
--- a/README.textile
+++ b/README.textile
@@ -1,35 +1,18 @@
h1. Map Content System.
-h2. Rational
+h2. Rationale
- In the Q1 release of Nakamura we had major scalability and concurrency problems caused mainly by our use cases for a content
-store not being closely aligned with those of Jackrabbit. We were not able to work around those problems and although we did manage
-to release the code, its quite clear that in certain areas Jackrabbit wont work for us. This should not reflect badly on Jackrabbit,
-but it is a realization that our use cases are not compatible with Jackrabbit when exposed to scale.
+In the Q1 release of Nakamura we had major scalability and concurrency problems caused mainly by our use cases for a content store not being closely aligned with those of Jackrabbit. We were not able to work around those problems and although we did manage to release the code, its quite clear that in certain areas Jackrabbit won't work for us. This should not reflect badly on Jackrabbit, but it is a realization that our use cases are not compatible with Jackrabbit when exposed to scale.
- This code base is a reaction to that. It aims to be really simple, completely concurrent with no synchronization and designed to scale
-linearly with the number of cores and number of servers in a cluster. To do this it borrows some of the concepts from JCR at a very
-abstract level, but is making a positive effort and selfish effort to only provide those things that we absolutely need to have.
+This code base is a reaction to that. It aims to be really simple, completely concurrent with no synchronization and designed to scale linearly with the number of cores and number of servers in a cluster. To do this it borrows some of the concepts from JCR at a very abstract level, but is making a positive effort and selfish effort to only provide those things that we absolutely need to have.
- This code provides User, Group, Access Control and Content functionality using a sparse Map as a storage abstraction.
+This code provides User, Group, Access Control and Content functionality using a sparse Map as a storage abstraction. The implementation works on manipulating sparse objects in the Map with operations like get, insert and delete, but has no understanding of the underlying implementation of the storage mechanism.
- The Implementation works on manipulating sparse objects in the Map with operations like get, insert and delete, but
-has no understanding of the underlying implementation of the storage mechanism.
+At the moment we have 3 storage mechanisms implemented, In Memory using a HashMap, Cassandra and JDBC capable of doing sharded storage, The approach should work on any Column Store (Dynamo, BigTable, Riak, Voldomort, Hbase etc). The JDBC Driver has configuration files for Derby, MySQL, Oracle, PostgreSQL.
- At the moment we have 2 storage mechanisms implemented, In Memory using a HashMap, and Cassandra. The approach should
-work on any Column Store (Dynamo, BigTable, Riak, Voldomort, Hbase etc) and can also work on RDBMS's including sharded storage.
-
- At the moment there is no query support, expecting all access to be via column IDs, and multiple views to be written to the
-underlying store.
-
- The intention is to provide write through caches based on EhCache or Infinispan.
-
- Transactions are supported, if supported by the underlying implementation of the storage, otherwise all operations are BASIC, non Atomic and immediate in nature.
-We will add search indexes at some point using Lucene, perhaps in the form of Zoie
-
-
- At this stage its pre-alpha, untested for performance and scalability and incomplete.
+Query support is provided by finder messages that use index table written on update. Caching support is via an interface allowing external providers. In Nakamura there is an EhCache implementation and it would be a relatively simple task to write an Infinispan version. Transactions are supported, if supported by the underlying implementation of the storage, otherwise all operations are BASIC, non Atomic and immediate in nature.
+Search is provided in the form of a companion project that uses SolrJ 4.
h2. Backlog
@@ -48,17 +31,13 @@ h2. Completed Backlog
# Implement SparseMapUserManager and related classes in th server bundle in Sling. (done 28/11/2010)
-
-
-
h2. Tests
h3. Memory
All performed on a MackBook Pro which is believed to have 4 cores.
-Add a user, 1 - 10 threads. Storage is a Concurrent Hash Map. Assuming the Concurrent Hash Map is 100% concurrent, this test
-tests the code base for concurrent efficiency.
+Add a user, 1 - 10 threads. Storage is a Concurrent Hash Map. Assuming the Concurrent Hash Map is 100% concurrent, this test tests the code base for concurrent efficiency.
|Threads|Time(s)|Throughput|Throughput per thread|Speedup|Concurrent Efficiency|
| 1| 0.46| 2188| 2188| 1| 100%|
@@ -74,7 +53,6 @@ tests the code base for concurrent efficiency.
Throughput is users added per second.
-
h3. JDBC
Same as above, using a local MySQL Instance.
@@ -93,9 +71,7 @@ Same as above, using a local MySQL Instance.
h3. Cassandra
-Using an untuned OOTB Cassandra instance running on the same box as the test, fighting for processor Cores.
-
-
+Using an untuned OOTB Cassandra instance running on the same box as the test, fighting for processor Cores.
|Threads|Time(s)|Throughput|Throughput per thread|Speedup|Concurrent Efficiency|
| 1| 1.14| 873| 873| 1| 100%|
@@ -112,7 +88,11 @@ Using an untuned OOTB Cassandra instance running on the same box as the test, fi
Throughput is users added per second.
+So far it looks like the code is concurrent, but MySQL is considerably slower than Cassandra or Memory. Below the Fighting for cores the box doesn't have enough CPUs to support the DB if present and the code.
+
+
+h2. Contributions, Patches, and License.
-So far it looks like the code is concurrent, but MySQL is considerably slower than Cassandra or Memory. Below the Fighting for cores
-the box doesn't have enough CPUs to support the DB if present and the code.
+The code in this code base is (c) Timefields Ltd and licensed to the Sakai Foundation under a Apache 2 Software License. Before making a contribution by means of a patch or otherwise please ensure that you read and understand the terms under which a patch or contribution will be accepted, outlined in the NOTICES file. All patches and contributions are made under those terms with no exceptions.
+I am sorry if this sounds a bit legal, but I want to be able to always license this software to the Sakai Foundation under an Apache 2 license and so I have to insist that no contributions are made that would prevent that from happening. I can't ask everyone who submits a patch to sign a legal document, so this is the next best thing. If you have a problem with this approach, please email me and we can try and work it out.
\ No newline at end of file
diff --git a/drivers/README.textile b/drivers/README.textile
new file mode 100644
index 00000000..df9fd687
--- /dev/null
+++ b/drivers/README.textile
@@ -0,0 +1,16 @@
+h1. Map Content System Drivers.
+
+This subtree contains external drivers that may be needed to run other storage back ends. These drviers should be loaded seperately into the OSGi container, or used seperately in the JVM.
+
+Cassandra
+ Contains a combined Thrift + Cassandra Bundle
+
+Postgres
+ Contains a repackaged Postgres 9 driver
+
+
+MySQL
+ MySQL comes with the OSGi manifest already in the jar from the central maven repos
+
+Oracle
+ ?
diff --git a/drivers/cassandra/pom.xml b/drivers/cassandra/pom.xml
new file mode 100644
index 00000000..1760726b
--- /dev/null
+++ b/drivers/cassandra/pom.xml
@@ -0,0 +1,100 @@
+
+
+
+ 4.0.0
+
+ org.sakaiproject.nakamura
+ core-base
+ 2
+
+
+ org.sakaiproject.nakamura
+ org.apache.cassandra
+ bundle
+ 0.6.5-0.5.0-1.0-SNAPSHOT
+ Sakai Nakamura :: Cassandra Thrift Bundle
+ Provides Thrift and Cassandra for Sparse, optional bundle
+
+ UTF-8
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 2.0.1
+ true
+
+
+ 1.0.SNAPSHOT
+ ${project.artifactId}
+ sakai-nakamura,driver
+
+ org.apache.cassandra.thrift;version=0.6.5,
+ org.apache.thrift;version=0.5.0,
+ org.apache.thrift.protocol;version=0.5.0,
+ org.apache.thrift.transport;version=0.5.0
+
+ org.apache.cassandra.*,org.apache.thrift.*
+
+ !com.reardencommerce.*,
+ !com.sun.jna.*,
+ !jline,
+ !org.antlr.runtime.*,
+ !org.apache.commons.cli.*,
+ !org.apache.hadoop.*,
+ !org.cliffc.high_scale_lib.*,
+ !org.json.simple.*,
+ *
+
+
+ target/unpacked-resources
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ embed-dependencies
+
+ unpack-dependencies
+
+
+ libthrift,apache-cassandra
+ target/unpacked-resources
+ META-INF/**
+ META-INF/MANIFEST.MF
+
+
+
+
+
+
+
+
+
+
+ org.apache.cassandra.deps
+ libthrift
+ 0.5.0
+
+
+ org.apache.cassandra.thrift
+ apache-cassandra
+ 0.6.5
+
+
+
diff --git a/drivers/postgres/pom.xml b/drivers/postgres/pom.xml
new file mode 100644
index 00000000..aea94e97
--- /dev/null
+++ b/drivers/postgres/pom.xml
@@ -0,0 +1,80 @@
+
+
+
+ 4.0.0
+
+ org.sakaiproject.nakamura
+ core-base
+ 2
+
+
+ org.sakaiproject.nakamura
+ org.postgres
+ bundle
+ 9.0-801.jdbc4-1.0-SNAPSHOT
+ Sakai Nakamura :: PostgreSQL JDBC Bundle
+ Provides PostgreSQL driver for Sparse, optional bundle
+
+ UTF-8
+
+
+
+
+ org.apache.felix
+ maven-bundle-plugin
+ 2.0.1
+ true
+
+
+ sakai-nakamura,driver
+ org.postgresql;version=9.0
+ org.postgresql.*
+
+ org.ietf.jgssi;resolution:=optional,
+ *
+
+
+ target/unpacked-resources
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-dependency-plugin
+
+
+ embed-dependencies
+
+ unpack-dependencies
+
+
+ postgresql
+ target/unpacked-resources
+ META-INF/**
+ META-INF/MANIFEST.MF
+
+
+
+
+
+
+
+
+
+ postgresql
+ postgresql
+ 9.0-801.jdbc4
+
+
+
diff --git a/extensions/app/assembly.xml b/extensions/app/assembly.xml
new file mode 100644
index 00000000..38fb348f
--- /dev/null
+++ b/extensions/app/assembly.xml
@@ -0,0 +1,66 @@
+
+
+ assembly
+
+ zip
+ tar.gz
+ tar.bz2
+
+ true
+ sling-${version}
+
+
+
+ src/main/dist/unix
+ /
+ unix
+ 0744
+
+ serverctl
+
+
+
+ src/main/dist/bin
+ /
+
+
+ target
+ bin
+
+ *-standalone.jar
+
+
+
+
+
+ src/main/dist/unix/serverctl
+ /
+ unix
+ 0744
+ true
+
+
+ src/main/dist/dos/server.bat
+ /
+ dos
+ true
+
+
+
diff --git a/extensions/app/pom.xml b/extensions/app/pom.xml
new file mode 100644
index 00000000..2424820b
--- /dev/null
+++ b/extensions/app/pom.xml
@@ -0,0 +1,185 @@
+
+
+
+ 4.0.0
+
+ org.sakaiproject.nakamura
+ core-base
+ 2
+
+
+
+ uk.co.tfd.sm.app
+ jar
+ 1.0-SNAPSHOT
+
+ Sparse Map :: Standalone App
+ Standalone Launchpad Java Application. Everything needed to run the Launchpad is
+ included in a single JAR file.
+
+
+
+
+ org.apache.sling
+ maven-launchpad-plugin
+ 2.1.0
+
+
+ prepare-package-jar
+
+ prepare-package
+
+
+ jar
+ false
+
+
+ org.sakaiproject.nakamura
+ uk.co.tfd.sm.jetty
+ 0.1-SNAPSHOT
+ 30
+
+
+
+
+
+ attach-bundle-list
+
+ attach-bundle-list
+
+
+ false
+
+
+
+ create-karaf-descriptor
+
+ create-karaf-descriptor
+
+
+ false
+
+ org.apache.felix:org.apache.felix.configadmin
+ org.apache.felix:org.apache.felix.webconsole
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-resources-plugin
+ 2.5
+
+
+ include-resource-modifications
+ process-resources
+
+ resources
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-jar-plugin
+ 2.3.2
+
+
+
+
+ true
+
+
+
+ Sparse Server
+ ${project.version}
+ Ian Boston
+ Sparse Server
+ ${project.version}
+ ${project.groupId}
+ Ian Boston
+ org.sakaiproject.nakamura.app.NakamuraMain
+
+
+
+
+
+ maven-assembly-plugin
+
+
+ src/main/assembly/bin.xml
+
+
+
+
+
+
+
+
+ org.apache.maven.plugins
+ maven-javadoc-plugin
+ 2.8
+
+
+
+ org.apache.sling
+
+
+
+
+
+
+
+
+ org.apache.sling
+ org.apache.sling.launchpad.base
+ 2.3.0
+ webapp
+ war
+ runtime
+
+
+ org.apache.sling
+ org.apache.sling.launchpad.base
+ 2.3.0
+ app
+ provided
+
+
+
+
+
+ dist
+
+
+
+ maven-assembly-plugin
+
+
+ assemble-distribution
+
+
+
+ assembly.xml
+
+
+
+ false
+
+
+ package
+
+ attached
+
+
+
+
+
+
+
+
+
+
diff --git a/extensions/app/proxy/config/vivo/cornell b/extensions/app/proxy/config/vivo/cornell
new file mode 100644
index 00000000..24da709d
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/cornell
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/cornell.raw.json?vid=individual5320
+request-proxy-endpoint = http://vivo.cornell.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.cornell.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/cornell.html b/extensions/app/proxy/config/vivo/cornell.html
new file mode 100644
index 00000000..12ce3687
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/cornell.html
@@ -0,0 +1,25 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/cornell.raw.json?vid=individual5320
+request-proxy-endpoint = http://vivo.cornell.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.cornell.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = cornell.html.vm
+finaltemplatepattern = cornell{0}.html.vm
+finaltemplateselectorproperty = rdf_type
+templatepriorities = foaf_Organization:1,Organization:10,ResearchUnit:20
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/cornell.json b/extensions/app/proxy/config/vivo/cornell.json
new file mode 100644
index 00000000..9339406c
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/cornell.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/cornell.raw.json?vid=individual5320
+request-proxy-endpoint = http://vivo.cornell.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.cornell.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/cornell.raw.json b/extensions/app/proxy/config/vivo/cornell.raw.json
new file mode 100644
index 00000000..d05d14a8
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/cornell.raw.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/cornell.raw.json?vid=individual5320
+request-proxy-endpoint = http://vivo.cornell.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.cornell.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+#result-key = vid
diff --git a/extensions/app/proxy/config/vivo/iu b/extensions/app/proxy/config/vivo/iu
new file mode 100644
index 00000000..ec972c23
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/iu
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/iu.raw.json?vid=person15641
+request-proxy-endpoint = http://vivo.iu.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.iu.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/iu.raw.json b/extensions/app/proxy/config/vivo/iu.raw.json
new file mode 100644
index 00000000..1b76b872
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/iu.raw.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/iu.raw.json?vid=person15641
+request-proxy-endpoint = http://vivo.iu.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.iu.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/localhost b/extensions/app/proxy/config/vivo/localhost
new file mode 100644
index 00000000..bc1817ef
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/localhost
@@ -0,0 +1,21 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+request-proxy-endpoint = http://localhost:9090/vivo/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.tfd.co.uk/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/localhost.raw.json b/extensions/app/proxy/config/vivo/localhost.raw.json
new file mode 100644
index 00000000..4c959941
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/localhost.raw.json
@@ -0,0 +1,21 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+request-proxy-endpoint = http://localhost:9090/vivo/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.tfd.co.uk/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/med.cornell b/extensions/app/proxy/config/vivo/med.cornell
new file mode 100644
index 00000000..e470f0cd
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/med.cornell
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/med.cornell.raw.json?vid=cwid-geb2003
+request-proxy-endpoint = http://vivo.med.cornell.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.med.cornell.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/med.cornell.raw.json b/extensions/app/proxy/config/vivo/med.cornell.raw.json
new file mode 100644
index 00000000..9c08ed82
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/med.cornell.raw.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/med.cornell.raw.json?vid=cwid-geb2003
+request-proxy-endpoint = http://vivo.med.cornell.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.med.cornell.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/psm b/extensions/app/proxy/config/vivo/psm
new file mode 100644
index 00000000..dc3b63eb
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/psm
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/iu.raw.json?vid=individual9
+request-proxy-endpoint = http://vivo.psm.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.psm.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/psm.raw.json b/extensions/app/proxy/config/vivo/psm.raw.json
new file mode 100644
index 00000000..ea56654a
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/psm.raw.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/iu.raw.json?vid=individual9
+request-proxy-endpoint = http://vivo.psm.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.psm.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/scripps b/extensions/app/proxy/config/vivo/scripps
new file mode 100644
index 00000000..2e86869c
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/scripps
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/iu.raw.json?vid=JandaKim
+request-proxy-endpoint = http://vivo.scripps.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.scripps.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/scripps.raw.json b/extensions/app/proxy/config/vivo/scripps.raw.json
new file mode 100644
index 00000000..3221d3b2
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/scripps.raw.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/iu.raw.json?vid=JandaKim
+request-proxy-endpoint = http://vivo.scripps.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.scripps.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/ufl b/extensions/app/proxy/config/vivo/ufl
new file mode 100644
index 00000000..a74a2943
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/ufl
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/ufl.raw.json?vid=n128483
+request-proxy-endpoint = http://vivo.ufl.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.ufl.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/ufl.raw.json b/extensions/app/proxy/config/vivo/ufl.raw.json
new file mode 100644
index 00000000..ebdef60a
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/ufl.raw.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/ufl.raw.json?vid=n128483
+request-proxy-endpoint = http://vivo.ufl.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.ufl.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/wustl b/extensions/app/proxy/config/vivo/wustl
new file mode 100644
index 00000000..93a7dc52
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/wustl
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/wustl.raw.json?vid=hrfact335386082
+request-proxy-endpoint = http://vivo.wustl.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.wustl.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+finaltemplate = vivoprofile.vm
+content-type = text/html
+content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/proxy/config/vivo/wustl.raw.json b/extensions/app/proxy/config/vivo/wustl.raw.json
new file mode 100644
index 00000000..addf4b46
--- /dev/null
+++ b/extensions/app/proxy/config/vivo/wustl.raw.json
@@ -0,0 +1,22 @@
+# Proxy Setup
+# Get operation to the Cornell RDF end point.
+# test with http://localhost:8080/proxy/vivo/wustl.raw.json?vid=hrfact335386082
+request-proxy-endpoint = http://vivo.wustl.edu/individual/${vid}/${vid}.rdf
+request-proxy-method = GET
+# Pre processor setup
+preprocessor = None
+# Post processor setup
+# The vivo URL for the instance must be listed as a defaul name space
+# in this instance thats http://vivo.tfd.co.uk/individual/
+postprocessor = RDFToHTMLResolvedJsonProxyPostProcessor
+namespacemap = rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#; \
+ vivocore=http://vivoweb.org/ontology/core#; \
+ http://vivo.wustl.edu/individual/; \
+ rdfs=http://www.w3.org/2000/01/rdf-schema#; \
+ vitro=http://vitro.mannlib.cornell.edu/ns/vitro/0.7#; \
+ foaf=http://xmlns.com/foaf/0.1/; \
+ owl=http://www.w3.org/2002/07/owl#
+#finaltemplate = vivoprofile.vm
+#content-type = text/html
+#content-encoding = UTF-8
+result-key = vid
diff --git a/extensions/app/src/main/assembly/bin.xml b/extensions/app/src/main/assembly/bin.xml
new file mode 100644
index 00000000..73e0cb53
--- /dev/null
+++ b/extensions/app/src/main/assembly/bin.xml
@@ -0,0 +1,50 @@
+
+
+
+ bin
+
+ tar.gz
+ zip
+
+
+
+
+ README*
+
+
+
+ src/main/resources/META-INF
+
+
+ LICENSE*
+ NOTICE*
+ DISCLAIMER
+
+
+
+ target
+
+
+ *.jar
+ *.war
+
+
+
+
\ No newline at end of file
diff --git a/extensions/app/src/main/bundles/list.xml b/extensions/app/src/main/bundles/list.xml
new file mode 100644
index 00000000..5270b7c4
--- /dev/null
+++ b/extensions/app/src/main/bundles/list.xml
@@ -0,0 +1,174 @@
+
+
+
+
+ commons-io
+ commons-io
+ 1.4
+
+
+ commons-fileupload
+ commons-fileupload
+ 1.2.2
+
+
+ commons-collections
+ commons-collections
+ 3.2.1
+
+
+ commons-lang
+ commons-lang
+ 2.5
+
+
+ commons-pool
+ commons-pool
+ 1.5.5
+
+
+ commons-codec
+ commons-codec
+ 1.4
+
+
+
+ org.apache.felix
+ org.apache.felix.http.whiteboard
+ 2.0.4
+
+
+ org.apache.aries.jmx
+ org.apache.aries.jmx.api
+ 0.1-incubating
+
+
+ org.apache.aries.jmx
+ org.apache.aries.jmx.core
+ 0.1-incubating
+
+
+ org.apache.geronimo.specs
+ geronimo-jta_1.1_spec
+ 1.1.1
+
+
+ org.sakaiproject.nakamura
+ org.sakaiproject.nakamura.milton
+ 1.6.4-SNAPSHOT
+
+
+ com.google.code.gson
+ gson
+ 1.7.1
+
+
+
+
+ org.apache.sling
+ org.apache.sling.commons.log
+ 2.0.7-20100823
+
+
+
+
+ org.apache.felix
+ org.apache.felix.webconsole
+ 3.1.2
+
+
+ org.apache.felix
+ org.apache.felix.webconsole.plugins.event
+ 1.0.2
+
+
+ org.apache.felix
+ org.apache.felix.webconsole.plugins.memoryusage
+ 1.0.2
+
+
+
+
+
+ org.apache.felix
+ org.apache.felix.eventadmin
+ 1.2.2
+
+
+ org.apache.felix
+ org.apache.felix.scr
+ 1.6.0
+
+
+ org.apache.felix
+ org.apache.felix.configadmin
+ 1.2.4
+
+
+ org.apache.felix
+ org.apache.felix.metatype
+ 1.0.4
+
+
+
+
+
+
+
+
+
+ com.googlecode.guava-osgi
+ guava-osgi
+ 9.0.0
+
+
+
+
+ org.sakaiproject.nakamura
+ uk.co.tfd.sm.memory
+ 0.1-SNAPSHOT
+
+
+ org.sakaiproject.nakamura
+ org.sakaiproject.nakamura.core
+ 1.3-SNAPSHOT
+
+
+ org.sakaiproject.nakamura
+ org.sakaiproject.nakamura.solr
+ 1.2-SNAPSHOT
+
+
+
+
+ org.sakaiproject.nakamura
+ org.sakaiproject.nakamura.webdav
+ 0.1-SNAPSHOT
+
+
+ org.sakaiproject.nakamura
+ uk.co.tfd.sm.template
+ 0.1-SNAPSHOT
+
+
+ org.sakaiproject.nakamura
+ uk.co.tfd.sm.http
+ 0.1-SNAPSHOT
+
+
+ org.sakaiproject.nakamura
+ uk.co.tfd.sm.proxy
+ 0.1-SNAPSHOT
+
+
+ org.sakaiproject.nakamura
+ uk.co.tfd.sm.jaxrs
+ 0.1-SNAPSHOT
+
+
+ org.sakaiproject.nakamura
+ uk.co.tfd.sm.resource
+ 0.1-SNAPSHOT
+
+
+
diff --git a/extensions/app/src/main/dist/dos/server.bat b/extensions/app/src/main/dist/dos/server.bat
new file mode 100644
index 00000000..9b0e37a8
--- /dev/null
+++ b/extensions/app/src/main/dist/dos/server.bat
@@ -0,0 +1,196 @@
+::
+:: 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.
+
+@echo off
+setlocal
+
+::-----------------------------------------------------------------------------
+:: HTTP Service Arguments
+::-----------------------------------------------------------------------------
+
+::* Default Port
+::
+ set SLING_PORT=8080
+
+::* Default Bind Address
+::
+ set SLING_ADDR=0.0.0.0
+
+::-----------------------------------------------------------------------------
+:: General JVM Arguments
+::-----------------------------------------------------------------------------
+
+::* Uncomment one of the JVM_TYPE if you wish a different than '-hotspot'
+::
+:: set JVM_TYPE=-classic
+:: set JVM_TYPE=-server
+
+::* Memory settings
+::
+ set JVM_MINHEAP=-Xms64m
+ set JVM_MAXHEAP=-Xmx256m
+
+::* Uncomment, or redefine one of the follwoing JAVA_HOME if you wish a
+:: different than your default one
+::
+:: set JAVA_HOME=c:\java\jdk1.4.2_08
+
+::* 'Exectuable'
+::
+ set JVM_START=-jar bin/${project.build.finalName}-standalone.jar
+
+::* Additional JVM Options
+::
+:: set JVM_OPTS=-Djava.security.auth.login.config=etc/jaas.config
+
+::* Debug Port (only if started with -debug socket)
+::
+ set JVM_DEBUG_PORT=30303
+
+::* Default Debug Options
+::
+ set JVM_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE
+
+
+::-----------------------------------------------------------------------------
+:: should not change below here
+::-----------------------------------------------------------------------------
+
+:: change drive and directory
+%~d0
+cd %~p0
+
+:: set window title
+set PROGRAM_TITLE=Apache Sling
+
+:: parse arguments
+:while1
+ if "%1"=="-debug" (
+ set JVM_DEBUG=%JVM_DEBUG_OPTS%
+ set JVM_DEBUG_TRANSPORT=dt_socket
+ set JVM_DEBUG_SUSPENDED=n
+ set JVM_DEBUG_ADR=%JVM_DEBUG_PORT%
+ goto next1
+ )
+
+ if "%1"=="-suspended" (
+ set JVM_DEBUG_SUSPENDED=y
+ goto next1
+ )
+
+ if "%1"=="-quiet" (
+ set NO_INFOMSG=y
+ goto next1
+ )
+
+ if "%1"=="-jconsole" (
+ set JVM_JCONSOLE=-Dcom.sun.management.jmxremote
+ set NO_INFOMSG=y
+ goto next1
+ )
+
+ if "%1"=="-level" (
+ set SLING_LEVEL=%2
+ shift /1
+ goto next1
+ )
+
+ if "%1"=="-help" (
+ goto usage
+ )
+
+ if "%1" NEQ "" (
+ echo invalid argument %1
+ goto usage
+ )
+
+:next1
+ shift /1
+ if "%1" NEQ "" goto while1
+
+
+:: assemble jvm options
+set JVM_ADDOPTS=%JVM_OPTS%
+set JVM_OPTS=%JVM_MINHEAP% %JVM_MAXHEAP%
+if defined JVM_JCONSOLE set JVM_OPTS=%JVM_JCONSOLE% %JVM_OPTS%
+if defined JVM_TYPE set JVM_OPTS=%JVM_TYPE% %JVM_OPTS%
+if defined JVM_ADDOPTS set JVM_OPTS=%JVM_OPTS% %JVM_ADDOPTS%
+
+:: check for JVM
+set JAVA="%JAVA_HOME%\bin\java.exe"
+if not exist %JAVA% (
+ echo No JVM found at %JAVA%
+ goto exit
+)
+
+:: check for debug
+if defined JVM_DEBUG (
+ set JVM_OPTS=%JVM_OPTS% %JVM_DEBUG% -Xrunjdwp:transport=%JVM_DEBUG_TRANSPORT%,server=y,suspend=%JVM_DEBUG_SUSPENDED%,address=%JVM_DEBUG_ADR%
+)
+
+:: assemble program arguments
+if defined SLING_PORT set SLING_ARGS=%SLING_ARGS% -p %SLING_PORT%
+if defined SLING_ADDR set SLING_ARGS=%SLING_ARGS% -a %SLING_ADDR%
+if defined SLING_LEVEL set SLING_ARGS=%SLING_ARGS% -l %SLING_LEVEL%
+
+:: ensure logging to stdout
+set SLING_ARGS=%SLING_ARGS% -f -
+
+:: print info message
+if defined NO_INFOMSG goto startcq
+
+echo -------------------------------------------------------------------------------
+echo Starting %PROGRAM_TITLE%
+echo -------------------------------------------------------------------------------
+call %JAVA% %JVM_TYPE% -version
+echo -------------------------------------------------------------------------------
+if "%JVM_DEBUG_TRANSPORT%"=="dt_socket" (
+ echo debugging: Socket (%JVM_DEBUG_PORT%^)
+ if "%JVM_DEBUG_SUSPENDED%"=="y" echo starting jvm suspended^!
+ echo -------------------------------------------------------------------------------
+)
+echo %JAVA% %JAVA_VM_TYPE% %JVM_OPTS% %JVM_START% %SLING_ARGS%
+echo -------------------------------------------------------------------------------
+
+
+:startcq
+
+title %PROGRAM_TITLE%
+%JAVA% %JAVA_VM_TYPE% %JVM_OPTS% %JVM_START% %SLING_ARGS%
+goto exit
+
+
+::-----------------------------------------------------------------------------
+:usage
+
+echo %PROGRAM_TITLE%
+echo usage: %0 [options]
+echo.
+echo where options include:
+echo -debug enable debug
+echo -suspended start suspended (only if debug)
+echo -quiet don't show info message
+echo -jconsole start with -Dcom.sun.management.jmxremote
+echo -level [ level ] set initial log level (DEBUG, INFO, ...)
+echo -help this usage
+echo.
+echo for additional tuning, edit the first section of the %0 file
+
+::-----------------------------------------------------------------------------
+:exit
+endlocal
diff --git a/extensions/app/src/main/dist/unix/serverctl b/extensions/app/src/main/dist/unix/serverctl
new file mode 100755
index 00000000..a15f6d98
--- /dev/null
+++ b/extensions/app/src/main/dist/unix/serverctl
@@ -0,0 +1,574 @@
+#!/bin/sh
+#
+# 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.
+#
+
+# define a special java home
+#JAVA_HOME=/opt/java/jdk1.6.0
+
+# enable this as default command if no command argument is given
+#SLING_COMMAND=start
+
+# define the port sling listens to.
+#SLING_PORT=8080
+
+# define the interface sling binds to.
+#SLING_INTERFACE=0.0.0.0
+
+# enable if jvm-debugging should be enabled
+#SLING_JVM_DEBUG=socket
+
+# set the max amount of java heap space
+#SLING_JVM_HEAP_MAX=512
+
+# add additional options to the jvm
+#SLING_JVM_OPTS=-enableassertions
+
+# enable starting the engine in foreground
+#SLING_FOREGROUND=y
+
+#---------------------------------------------------------------------
+# Don't edit below here
+#---------------------------------------------------------------------
+
+#---------------------------------------------------------------------
+# functions
+#---------------------------------------------------------------------
+
+# print the usage info
+usage() {
+cat <<-@@
+$SLING_TITLE Control, version 2.0.0 ($SLING_SVN_ID)
+ usage: `basename $0` [options] {start|stop|restart|status}
+
+Engine Options:
+ --context the sling context directory, defaults to `dirname $0`
+ --port, -p the default port to listen to
+ --loglevel, -l the initial loglevel.
+ --logdir the log directory for startup.log. defaults to `dirname $0`/logs
+ --log the startup log file. defaults to `dirname $0`/logs/startup.log
+ --interface, -a the interfact to bind to (use 0.0.0.0 for any).
+
+Java Options:
+ --javahome the java home directory. overrides JAVA_HOME env var.
+ --heap-min the minimum heap in megabytes. defaults to 128
+ --heap-max the maximum heap in megabytes. defaults to 256
+ --debug, -d [socket|shmem]
+ starts jvm in debug mode. default 'socket'
+ --debug-suspended [socket|shmem]
+ starts jvm in suspended debug mode. default 'socket'
+ --debug-port port for debug address. default "30303"
+ --profile [yjp] start jvm with YourKit Java Profiler
+ --javaopts additional java options
+ --jaas use jaas.config. default is disabled
+ --jaas-config config for jaas. default is etc/jaas.config
+ --verbose-gc turn on vebose gc
+
+Other options
+ --fg, -D starts Sling in foreground
+ --bg starts Sling in background. this is the default.
+ --verbose, -v be more verbose
+ --dry prepare but do not start
+ --help, -h show this help
+ --max-files sets the ulimit for max open files before executing the jvm.
+ default is 1024
+@@
+}
+
+# init the defaults
+initDefaults() {
+ BASEDIR=`fullpath -d $0`
+ SLING_TITLE="Sling"
+ export SLING_TITLE
+ SLING_SVN_ID='$Rev: 25335 $'
+ export SLING_SVN_ID
+ SLING_CONTEXT="${SLING_CONTEXT:-$BASEDIR}"
+ export SLING_CONTEXT
+ export SLING_PORT
+ export SLING_LOGLEVEL
+ SLING_LOGDIR="${SLING_LOGDIR:-"$BASEDIR/logs"}"
+ export SLING_LOGDIR
+ SLING_LOG="${SLING_LOG:-"$SLING_LOGDIR/startup.log"}"
+ export SLING_LOG
+ SLING_INTERFACE="${SLING_INTERFACE:-$SLING_ADDRESS}"
+ export SLING_INTERFACE
+ SLING_JVM_HEAP_MIN="${SLING_HEAP_MIN:-"128"}"
+ export SLING_JVM_HEAP_MIN
+ SLING_JVM_HEAP_MAX="${SLING_HEAP_MAX:-"256"}"
+ export SLING_JVM_HEAP_MAX
+ export SLING_JVM_JAAS
+ SLING_JVM_JAAS_CONFIG=etc/jaas.config
+ export SLING_JVM_JAAS_CONFIG
+ export SLING_JVM_OPTS
+ export SLING_JVM_VERBOSE_GC
+ export SLING_JVM_DEBUG
+ SLING_JVM_DEBUG_PORT=30303
+ export SLING_JVM_DEBUG_PORT
+ SLING_JVM_DEBUG_SUSPENDED=n
+ export SLING_JVM_DEBUG_SUSPENDED
+ export SLING_JVM_PROFILE
+ export SLING_FOREGROUND
+ export SLING_DRY
+ SLING_COMMAND=${SLING_COMMAND}
+ export SLING_COMMAND
+ export SLING_VERBOSE
+ SLING_MAX_OPEN_FILES="${SLING_MAX_OPEN_FILES:-"1024"}"
+ export SLING_MAX_OPEN_FILES
+}
+
+# echo to stderr and to the log file
+_log() {
+ _level=$1; shift
+ if [ "$use_stderr" = "YES" ] ; then
+ echo "`date '+%d.%m.%Y %H:%M:%S'` *$_level* $*" >&2
+ fi
+ if [ -w "$SLING_LOG" ]; then
+ echo "`date '+%d.%m.%Y %H:%M:%S'` *$_level* $*" >> "$SLING_LOG"
+ fi
+}
+
+# log an error message
+err() {
+ _log "ERROR" $*
+}
+
+# log an warning message
+warn() {
+ _log "WARN " $*
+}
+
+# log an info message
+info() {
+ _log "INFO " $*
+}
+
+# print all relevant variables
+dump() {
+ set | grep SLING
+}
+
+# calculate the fullpath
+fullpath() {
+ OPWD="$PWD"
+ if [ "$1" = "-d" ]; then
+ cd `dirname $2`
+ echo `pwd -L`
+ else
+ cd `dirname $1`
+ echo `pwd -L`/`basename $1`
+ fi
+ cd $OPWD
+}
+
+# check if verbose level
+verbose() {
+ test -n "$SLING_VERBOSE"
+}
+
+# print the java version of the $SLING_JVM vm
+javaVersion() {
+ jvm_version=`$SLING_JVM -version 2>&1 | grep "java version"`
+ case "$jvm_version" in
+ "java version \"1.2"*) echo 1.2;;
+ "java version \"1.3"*) echo 1.3;;
+ "java version \"1.4"*) echo 1.4;;
+ "java version \"1.5"*) echo 1.5;;
+ "java version \"1.6"*) echo 1.6;;
+ *) echo ;;
+ esac
+}
+
+# print the debug info
+printDebug() {
+ if [ "$SLING_JVM_DEBUG" = "socket" ]; then
+ info "attaching debugger on port ${SLING_JVM_DEBUG_PORT}"
+ if [ "${SLING_JVM_DEBUG_SUSPENDED}" = y ]; then
+ info "jvm is suspended! attach debugger to continue."
+ fi
+ fi
+ if [ "$SLING_JVM_DEBUG" = "shmem" ]; then
+ info "attaching debugger using shared memory"
+ if [ "${SLING_JVM_DEBUG_SUSPENDED}" = y ]; then
+ info "jvm is suspended! attach debugger to continue."
+ fi
+ fi
+}
+
+#---------------------------------------------------------------------
+# main program begins here
+#---------------------------------------------------------------------
+
+# parse the arguments
+initDefaults
+while [ -n "$1" ]; do
+ case "$1" in
+ '--context')
+ SLING_CONTEXT=$2
+ shift;;
+ '--port' | '-p')
+ SLING_PORT=$2
+ shift;;
+ '--loglevel' | '-l')
+ SLING_LOGLEVEL=$2
+ shift;;
+ '--logdir')
+ SLING_LOGDIR=$2
+ shift;;
+ '--log')
+ SLING_LOG=$2
+ shift;;
+ '--interface' | '-a')
+ SLING_INTERFACE=$2
+ shift;;
+ '--javahome')
+ JAVA_HOME=$2
+ shift;;
+ '--javaopts')
+ SLING_JVM_OPTS=$2
+ shift;;
+ '--heap-min')
+ SLING_JVM_HEAP_MIN=$2
+ shift;;
+ '--heap-max')
+ SLING_JVM_HEAP_MAX=$2
+ shift;;
+ '--debug' | '-d' | '--debug-suspended')
+ SLING_JVM_DEBUG=socket
+ if [ "$1" == "--debug-suspended" ]; then
+ SLING_JVM_DEBUG_SUSPENDED=y
+ fi
+ if [ "$2" == "socket" -o "$2" == "shmem" ]; then
+ SLING_JVM_DEBUG=$2
+ shift
+ fi;;
+ '--profile')
+ SLING_JVM_PROFILE=yjp
+ if [ "$2" = "yjp" ]; then
+ SLING_JVM_PROFILE=$2
+ shift
+ fi;;
+ '--debug-port')
+ SLING_JVM_DEBUG_PORT=$2
+ shift;;
+ '--debug-suspended')
+ SLING_JVM_DEBUG_SUSPENDED=y
+ ;;
+ '--jaas')
+ SLING_JVM_JAAS=y
+ ;;
+ '--jaas-config')
+ SLING_JVM_JAAS_CONFIG=$2
+ shift;;
+ '--verbose-gc')
+ SLING_JVM_VERBOSE_GC=y
+ ;;
+ '--fg' | '-D')
+ SLING_FOREGROUND=y
+ ;;
+ '--bg')
+ SLING_FOREGROUND=n
+ ;;
+ '--verbose' | '-v')
+ SLING_VERBOSE=y
+ ;;
+ '--max-files')
+ SLING_MAX_OPEN_FILES=$2
+ shift;;
+ '--dry')
+ SLING_DRY=y
+ ;;
+ '--help' | '-h')
+ usage
+ exit ;;
+ 'status'|'start'|'psmon'|'terminator'|'bgstart'|'stop'|'restart')
+ SLING_COMMAND=$1
+ ;;
+ *)
+ echo "Invalid option: $1"
+ usage
+ exit;;
+ esac
+ shift
+done
+
+#--------------------------------------------------------------------------------
+if [ ! -d "$SLING_CONTEXT" ] ; then
+ mkdir -p "$SLING_CONTEXT"
+fi
+if [ ! -f "$SLING_CONTEXT/bin/${project.build.finalName}-standalone.jar" ] ; then
+ echo "Bad SLING_CONTEXT: $SLING_CONTEXT (bin/${project.build.finalName}-standalone.jar not found)" >&2
+ exit 4
+fi
+cd "$SLING_CONTEXT"
+
+case "$SLING_COMMAND" in
+ 'start') # test to be sure we can run, then bg
+ # the startup
+ use_stderr="YES"
+
+
+ if [ ! -d "$SLING_LOGDIR" ] ; then
+ mkdir -p "$SLING_LOGDIR" 2>/dev/null || \
+ ( echo "mkdir failed for $SLING_LOGDIR" >&2 ; exit 2 )
+ fi
+ for file in "$SLING_LOG" "$SLING_LOGDIR/sling.pid" "$SLING_LOGDIR/monitor.pid" ; do
+ if [ ! -w "$file" ] ; then
+ touch "$file" 2>/dev/null || \
+ ( "Couldn't create file $file" >&2 ; exit 2 )
+ fi
+ done
+
+ if [ -n "$JAVA_HOME" -a -x "$JAVA_HOME/bin/java" ] ; then
+ SLING_JVM=$JAVA_HOME/bin/java
+ else
+ JAVA_HOME=
+ SLING_JVM="`which java 2>/dev/null`"
+ if [ -z "$SLING_JVM" ] ; then
+ for pfix in "/usr/local" "/opt" "/usr" ; do
+ for jvers in "java" "j2sdk" "j2sdk1.4" "java1.4" \
+ "j2sdk1.3.1" "java1.3.1" "j2sdk1.3" "java1.3" ; do
+ if [ -x "$pfix/$jvers/bin/java" ] ; then
+ SLING_JVM="$pfix/$jvers/bin/java"
+ break 2
+ fi
+ done
+ done
+ if [ -z "$SLING_JVM" ] ; then
+ err "Unable to locate java, please make sure java is installed and JAVA_HOME set"
+ exit 3
+ fi
+ fi
+ fi
+
+ # check if already running
+ SLING_PID=`cat "$SLING_LOGDIR/sling.pid" 2> /dev/null`
+ if [ -n "$SLING_PID" ]; then
+ if ps -p $SLING_PID > /dev/null; then
+ err "process $SLING_PID already running. please stop and try again."
+ exit 4
+ else
+ warn "pid file $SLING_LOGDIR/sling.pid present, but process not running. "\
+ "maybe unclean shutdown ?"
+ rm -f "$SLING_LOGDIR/sling.pid"
+ SLING_PID=
+ fi
+ fi
+
+ # assemble the startup param
+ SLING_JAVA_VERSION=`javaVersion`
+ if [ -n "$SLING_JVM_JAAS" ]; then
+ jvmOpts="$jvmOpts -Djava.security.auth.login.config=$SLING_JVM_JAAS_CONFIG"
+ fi
+ if [ -n "$SLING_JVM_VERBOSE_GC" ]; then
+ jvmOpts="$jvmOpts -verbose:gc"
+ fi
+ jvmOpts="$jvmOpts -Xms${SLING_JVM_HEAP_MIN}m"
+ jvmOpts="$jvmOpts -Xmx${SLING_JVM_HEAP_MAX}m"
+ jvmOpts="$jvmOpts -Djava.awt.headless=true"
+
+ if [ -n "$SLING_JVM_DEBUG" ]; then
+ jvmOpts="$jvmOpts -Xdebug -Xnoagent -Djava.compiler=NONE \
+-Xrunjdwp:transport=dt_$SLING_JVM_DEBUG,address=$SLING_JVM_DEBUG_PORT,\
+server=y,suspend=${SLING_JVM_DEBUG_SUSPENDED}"
+ fi
+ if [ "$SLING_JVM_PROFILE" = yjp ]; then
+ if [ $SLING_JAVA_VERSION = "1.4" ]; then
+ jvmOpts="$jvmOpts -Xrunyjpagent"
+ else
+ jvmOpts="$jvmOpts -agentlib:yjpagent"
+ fi
+ fi
+ jvmOpts="$jvmOpts $SLING_JVM_OPTS"
+
+ # assemble program arguments
+ if [ -n "$SLING_PORT" ]; then
+ slingOpts="$slingOpts -p $SLING_PORT"
+ fi
+ if [ -n "$SLING_INTERFACE" ]; then
+ slingOpts="$slingOpts -a $SLING_INTERFACE"
+ fi
+ if [ -n "$SLING_LOGLEVEL" ]; then
+ slingOpts="$slingOpts -l $SLING_LOGLEVEL"
+ fi
+ if [ -w "$SLING_LOG" ]; then
+ slingOpts="$slingOpts -f -"
+ fi
+
+ # executable string
+ jvmExe="$SLING_JVM $jvmOpts -jar $SLING_CONTEXT/bin/${project.build.finalName}.jar $slingOpts"
+ export jvmExe
+
+ if verbose; then
+ dump
+ echo ""
+ echo "Execute: $jvmExe"
+ echo ""
+ fi
+ if [ -n "$SLING_DRY" ]; then
+ echo ""
+ echo "--dry specified. not starting engine."
+ exit 0
+ fi
+
+ info "Using JVM found at $SLING_JVM"
+
+ if [ -n "$SLING_FOREGROUND" ]; then
+ ulimit -n $SLING_MAX_OPEN_FILES
+ info "Starting $SLING_TITLE in foreground"
+ info "hit Ctrl-C to stop $SLING_TITLE"
+ printDebug
+ info "-----------------------------------------------------------"
+ $jvmExe | tee -a "$SLING_LOG" 2>&1
+ exit 0 # in case of failure
+ else
+ info "Starting $SLING_TITLE in background..."
+ printDebug
+ $0 psmon &
+ SLING_PID=`cat "$SLING_LOGDIR/sling.pid"`
+ while [ -z "`cat "$SLING_LOGDIR/sling.pid" 2> /dev/null`" ]; do
+ sleep 1
+ done
+ info "Started."
+ fi
+ exit 0
+ ;;
+#---------------------------------------------------------------------
+ 'psmon') # sets up the process monitor
+ use_stderr="NO"
+ if [ -z "jvmExe" ] ; then
+ usage
+ exit 0
+ fi
+ trap '' 1 # block HUP
+
+ # exit when TERM signal is received
+ trap 'info "$SLING_TITLE shutdown on TERM signal"; rm -f "$SLING_LOGDIR/monitor.pid" "$SLING_LOGDIR/sling.pid";exit 0' 15
+
+ echo $$ > "$SLING_LOGDIR/monitor.pid"
+
+ SHORT_RESTARTS=0
+ SLING_BGSTART=1
+ export SLING_BGSTART
+
+ while [ 0 ] ; do # forever
+ BEFORE=`date '+%Y%m%d%H%M%S'`
+ $0 terminator | $0 bgstart
+ AFTER=`date '+%Y%m%d%H%M%S'`
+
+ # Check for too many restarts < 10 seconds
+ # Okay that this will not work across the 59-to-0 second boundary
+ # because we are just trying to avoid a fast infinite loop caused
+ # by something like another process already listening on the port
+ #
+ RUNTIME=`expr $AFTER - $BEFORE`
+ if [ $RUNTIME -lt 10 ] ; then
+ SHORT_RESTARTS=`expr $SHORT_RESTARTS + 1`
+ else
+ SHORT_RESTARTS=0
+ fi
+ if [ $SHORT_RESTARTS -eq 3 ] ; then
+ err "Too many restarts - exiting!"
+ exit 1
+ fi
+ done
+ ;;
+#---------------------------------------------------------------------
+ 'terminator')
+ use_stderr="NO"
+ if [ -z "$SLING_BGSTART" ] ; then
+ usage
+ exit
+ fi
+ # send QUIT to sling upon signal
+ trap 'slingpid=`/bin/cat "$SLING_LOGDIR/sling.pid" 2>/dev/null` ; if [ -n "$slingpid" ] ; then /bin/kill $slingpid > /dev/null 2>&1 ; fi; rm -f "$SLING_LOGDIR/terminator.pid"; exit 0' 3 6 15
+
+ echo $$ > "$SLING_LOGDIR/terminator.pid"
+ while [ 0 ] ; do # forever
+ sleep 5
+ done
+ ;;
+#---------------------------------------------------------------------
+ 'bgstart')
+ use_stderr="NO"
+ if [ -z "$SLING_BGSTART" ] ; then
+ usage
+ exit
+ fi
+ ulimit -n $SLING_MAX_OPEN_FILES
+ echo $$ > "$SLING_LOGDIR/sling.pid"
+ exec $jvmExe >> "$SLING_LOG" 2>&1
+ rm -f "$SLING_LOGDIR/sling.pid"
+ ;;
+#---------------------------------------------------------------------
+ 'stop')
+ use_stderr="YES"
+ termpid=`/bin/cat "$SLING_LOGDIR/terminator.pid" 2>/dev/null`
+ monitorpid=`/bin/cat "$SLING_LOGDIR/monitor.pid" 2>/dev/null`
+ slingpid=`/bin/cat "$SLING_LOGDIR/sling.pid" 2>/dev/null`
+ if [ -z "$termpid$monitorpid$slingpid" ]; then
+ echo "$SLING_TITLE not running."
+ exit 0;
+ fi
+
+ printf "stopping $SLING_TITLE..."
+ if [ -n "$monitorpid" ] ; then
+ /bin/kill $monitorpid > /dev/null 2>&1
+ fi
+ if [ -n "$termpid" ] ; then
+ /bin/kill $termpid > /dev/null 2>&1
+ fi
+
+ COUNTER=0
+ while [ -f "$SLING_LOGDIR/sling.pid" ] && [ $COUNTER -lt 20 ]; do
+ printf "."
+ COUNTER=`expr $COUNTER + 1`
+ sleep 1
+ done
+ # this last one is just in case the terminator already failed
+ slingpid=`/bin/cat "$SLING_LOGDIR/sling.pid" 2>/dev/null`
+ if ps -p $slingpid > /dev/null 2>&1 ; then
+ echo "still running. sending TERM signal to PID $slingpid"
+ /bin/kill $slingpid > /dev/null 2>&1
+ else
+ echo "stopped."
+ fi
+
+ rm -f "$SLING_LOGDIR/monitor.pid" "$SLING_LOGDIR/terminator.pid" \
+ "$SLING_LOGDIR/sling.pid"
+ ;;
+#---------------------------------------------------------------------
+ 'restart')
+ "$0" stop
+ "$0" start
+ ;;
+#---------------------------------------------------------------------
+ 'status')
+ slingpid=`/bin/cat "$SLING_LOGDIR/sling.pid" 2>/dev/null`
+ if ps -p $slingpid > /dev/null 2>&1 ; then
+ echo "$SLING_TITLE is running."
+ else
+ echo "$SLING_TITLE is stopped."
+ fi
+ ;;
+#---------------------------------------------------------------------
+ *)
+ usage
+ exit
+ ;;
+esac
+
diff --git a/extensions/app/src/main/dist/unix/start b/extensions/app/src/main/dist/unix/start
new file mode 100755
index 00000000..97a495a2
--- /dev/null
+++ b/extensions/app/src/main/dist/unix/start
@@ -0,0 +1,68 @@
+#!/bin/sh
+#
+# 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.
+#
+#
+# This script configures the start information for Sling
+#
+# The following environment variables may be used to override the default
+# defined in the HTTP Service implementation:
+#
+# % SLING_PORT=56000 ./start
+#
+# this script is a quick wrapper for the main 'serverctl' script which
+# has a lot more options. see
+#
+# serverctl --help
+#
+# for details.
+#
+
+# override the java home for use by Apache Sling
+# JAVA_HOME="/usr/java/j2sdk1.4.2_14"
+
+# override the port which Sling should bind to
+SLING_PORT='8080'
+
+# override the interface which communique should listen to
+# this setting is not currently supported
+# SLING_INTERFACE='0.0.0.0'
+
+# override the initial log-level prior to reading the configuration
+# this overwrites the setting in the sling.properties file and is overwritten
+# by the LogService configuration. Use any string of DEBUG, INFO, WARN,
+# ERROR and FATAL. Default is INFO.
+#SLING_LOGLEVEL='INFO'
+
+# override the initial heap size in mb for use by Sling
+#SLING_HEAP_MIN='128'
+
+# override the maximum heap size in mb for use by Sling
+#SLING_HEAP_MAX='256'
+
+# ------------------------------------------------------------------------------
+# do not configure below this point
+# ------------------------------------------------------------------------------
+export JAVA_HOME
+export SLING_PORT
+export SLING_INTERFACE
+export SLING_LOGLEVEL
+export SLING_HEAP_MIN
+export SLING_HEAP_MAX
+
+exec "`dirname $0`/serverctl" start $*
diff --git a/extensions/app/src/main/dist/unix/stop b/extensions/app/src/main/dist/unix/stop
new file mode 100755
index 00000000..e8ebf9f8
--- /dev/null
+++ b/extensions/app/src/main/dist/unix/stop
@@ -0,0 +1,23 @@
+#!/bin/sh
+#
+# 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.
+#
+#
+# this script stops a running instance of Sling
+#
+exec "`dirname $0`/serverctl" stop
diff --git a/extensions/app/src/main/java/org/sakaiproject/nakamura/app/LaunchNakamura.java b/extensions/app/src/main/java/org/sakaiproject/nakamura/app/LaunchNakamura.java
new file mode 100644
index 00000000..57df6b48
--- /dev/null
+++ b/extensions/app/src/main/java/org/sakaiproject/nakamura/app/LaunchNakamura.java
@@ -0,0 +1,392 @@
+/*
+ * 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.sakaiproject.nakamura.app;
+
+import java.awt.Color;
+import java.awt.Desktop;
+import java.awt.Dimension;
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.InputStreamReader;
+import java.io.Reader;
+import java.io.StringWriter;
+import java.io.Writer;
+import java.net.HttpURLConnection;
+import java.net.URISyntaxException;
+import java.net.URL;
+
+import javax.swing.ImageIcon;
+import javax.swing.JOptionPane;
+
+/**
+ * This is a simple Swing GUI to launch Nakamura (primarily for the benefit of Windows
+ * users) from a Java Web Start link.
+ *
+ * I actually developed this in Netbeans, due to it's support of Swing (and Eclipse's lack
+ * of) and copied the code into the app package.
+ *
+ * @author Chris Dunstall (cdunstall@csu.edu.au)
+ * @version 1.0 January 6 2011.
+ */
+public class LaunchNakamura extends javax.swing.JFrame {
+
+ private static final long serialVersionUID = 8161160666368638463L;
+ public static final int APP_RUNNING = 1;
+ public static final int APP_NOT_RUNNING = 0;
+ private static String[] savedArgs;
+ private int runStatus = APP_NOT_RUNNING; // 0 for off, 1 for on.
+ private static final String localhostURL = "http://localhost:8080/dev/";
+
+ /** Creates new form LaunchNakamura */
+ public LaunchNakamura() {
+ initComponents();
+
+ ImageIcon icon = createImageIcon("/sakaioae-icon.png", "SakaiOAE Logo");
+ headingLabel.setIcon(icon);
+
+ String disclaimer = "";
+ try {
+ disclaimer = getLabelText("/readme.txt");
+ } catch (IOException e) {
+ disclaimer = "Use at own risk.";
+ }
+
+ disclaimerLabel.setText(disclaimer);
+ disclaimerLabel.setPreferredSize(new Dimension(1, 1));
+
+ browserButton.setEnabled(false);
+ }
+
+ /**
+ * This method is called from within the constructor to initialize the form.
+ *
+ * Note: This code was generated by Netbeans.
+ */
+ private void initComponents() {
+
+ launchButton = new javax.swing.JButton();
+ statusLabel = new javax.swing.JLabel();
+ exitButton = new javax.swing.JButton();
+ headingLabel = new javax.swing.JLabel();
+ disclaimerLabel = new javax.swing.JLabel();
+ browserButton = new javax.swing.JButton();
+
+ setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
+ setTitle("Launch Nakamura");
+ setName("mainFrame"); // NOI18N
+ setResizable(false);
+
+ launchButton.setFont(new java.awt.Font("Arial", 0, 13)); // NOI18N
+ launchButton.setText("Launch");
+ launchButton.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ launchButtonActionPerformed(evt);
+ }
+ });
+
+ statusLabel.setFont(new java.awt.Font("Arial", 0, 12)); // NOI18N
+ statusLabel.setText("Nakamura is not running.");
+
+ exitButton.setFont(new java.awt.Font("Arial", 0, 13)); // NOI18N
+ exitButton.setText("Exit");
+ exitButton.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ exitButtonActionPerformed(evt);
+ }
+ });
+
+ headingLabel.setText("SakaiOAE icon");
+ headingLabel.setBorder(javax.swing.BorderFactory.createEtchedBorder());
+
+ disclaimerLabel.setFont(new java.awt.Font("Arial", 0, 13)); // NOI18N
+ disclaimerLabel.setText("jLabel1");
+ disclaimerLabel.setVerticalAlignment(javax.swing.SwingConstants.TOP);
+ disclaimerLabel.setAutoscrolls(true);
+ disclaimerLabel.setBorder(javax.swing.BorderFactory.createTitledBorder("Disclaimer"));
+
+ browserButton.setText("Open Sakai OAE");
+ browserButton.addActionListener(new java.awt.event.ActionListener() {
+ public void actionPerformed(java.awt.event.ActionEvent evt) {
+ browserButtonActionPerformed(evt);
+ }
+ });
+
+ javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
+ getContentPane().setLayout(layout);
+ layout.setHorizontalGroup(layout.createParallelGroup(
+ javax.swing.GroupLayout.Alignment.LEADING).addGroup(
+ layout
+ .createSequentialGroup()
+ .addGroup(
+ layout
+ .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(
+ layout
+ .createSequentialGroup()
+ .addGap(27, 27, 27)
+ .addComponent(launchButton)
+ .addGap(18, 18, 18)
+ .addComponent(statusLabel)
+ .addPreferredGap(
+ javax.swing.LayoutStyle.ComponentPlacement.RELATED, 162,
+ Short.MAX_VALUE)
+ .addComponent(browserButton)
+ .addPreferredGap(
+ javax.swing.LayoutStyle.ComponentPlacement.RELATED)
+ .addComponent(exitButton))
+ .addGroup(
+ javax.swing.GroupLayout.Alignment.CENTER,
+ layout
+ .createSequentialGroup()
+ .addContainerGap()
+ .addComponent(headingLabel,
+ javax.swing.GroupLayout.PREFERRED_SIZE, 149,
+ javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addGap(18, 18, 18)
+ .addComponent(disclaimerLabel,
+ javax.swing.GroupLayout.PREFERRED_SIZE, 493,
+ javax.swing.GroupLayout.PREFERRED_SIZE)))
+ .addContainerGap()));
+
+ layout.linkSize(javax.swing.SwingConstants.HORIZONTAL, new java.awt.Component[] {
+ exitButton, launchButton });
+
+ layout.setVerticalGroup(layout
+ .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addGroup(
+ javax.swing.GroupLayout.Alignment.TRAILING,
+ layout
+ .createSequentialGroup()
+ .addContainerGap()
+ .addGroup(
+ layout
+ .createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
+ .addComponent(disclaimerLabel,
+ javax.swing.GroupLayout.PREFERRED_SIZE, 215,
+ javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(headingLabel,
+ javax.swing.GroupLayout.PREFERRED_SIZE, 116,
+ javax.swing.GroupLayout.PREFERRED_SIZE))
+ .addGap(58, 58, 58)
+ .addGroup(
+ layout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
+ .addComponent(browserButton).addComponent(exitButton))
+ .addContainerGap())
+ .addGroup(
+ layout
+ .createSequentialGroup()
+ .addGap(259, 259, 259)
+ .addGroup(
+ layout
+ .createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
+ .addComponent(launchButton,
+ javax.swing.GroupLayout.PREFERRED_SIZE, 50,
+ javax.swing.GroupLayout.PREFERRED_SIZE)
+ .addComponent(statusLabel))
+ .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)));
+
+ pack();
+ }
+
+ /**
+ * This is the launch button action method. This method launches the Apache Sling
+ * bootloader and informs the user to wait before accessing it in a browser.
+ *
+ * @param evt
+ * The details of the Action event.
+ * @throws IOException
+ */
+ private void launchButtonActionPerformed(java.awt.event.ActionEvent evt) {
+ // Launch Nakamura
+ if (runStatus == APP_NOT_RUNNING) {
+ System.setSecurityManager(null);
+ try {
+ NakamuraMain.main(savedArgs);
+
+ // Update label
+ statusLabel.setText("Nakamura is starting...");
+
+ // Notify the user
+ JOptionPane.showMessageDialog(this,
+ "Nakamura has been started.\nPlease allow 30-60 seconds for it to be ready.",
+ "Information", JOptionPane.INFORMATION_MESSAGE);
+
+ runStatus = APP_RUNNING;
+ isStartupFinished();
+ } catch (IOException e) {
+ statusLabel.setText("Nakamura is startup failed " + e.getMessage());
+ }
+ } else {
+ // Can't start it again...
+ // custom title, warning icon
+ JOptionPane.showMessageDialog(this, "Nakamura is already running.", "Warning",
+ JOptionPane.WARNING_MESSAGE);
+ }
+ }
+
+ /**
+ * Pings the Apache Sling server URL every 5 seconds to see if it has finished booting.
+ * Once it receives an OK status, it enables the button to launch the browser and
+ * disables the launch Nakamura button.
+ */
+ private void isStartupFinished() {
+ boolean started = false;
+ try {
+ while (!started) {
+ if (exists(localhostURL))
+ started = true;
+ Thread.sleep(5 * 1000);
+ }
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
+
+ if (started) {
+ statusLabel.setText("Nakamura is running.");
+ statusLabel.setForeground(Color.green);
+ launchButton.setEnabled(false);
+ browserButton.setEnabled(true);
+ }
+ }
+
+ /**
+ * Pings the Apache Sling server URL, looking for an OK status. Returns true once that
+ * OK status is received.
+ *
+ * @param URLName
+ * The URL to ping.
+ * @return true if OK status is received back. False if not OK.
+ */
+ public static boolean exists(String URLName) {
+ try {
+ HttpURLConnection.setFollowRedirects(false);
+ // note : you may also need
+ // HttpURLConnection.setInstanceFollowRedirects(false)
+ HttpURLConnection con = (HttpURLConnection) new URL(URLName).openConnection();
+ con.setRequestMethod("HEAD");
+ return (con.getResponseCode() == HttpURLConnection.HTTP_OK);
+ } catch (Exception e) {
+ e.printStackTrace();
+ return false;
+ }
+ }
+
+ /**
+ * Performs the action when the exit button is pressed, which is exit the program.
+ *
+ * @param evt
+ * The details of the event.
+ */
+ private void exitButtonActionPerformed(java.awt.event.ActionEvent evt) {
+ // Kill Nakamura and the GUI app.
+ System.exit(0);
+ }
+
+ /**
+ * Performs the action when the browser button is pressed, which is launch a web browser
+ * and browse to the server URL.
+ *
+ * @param evt
+ * The details of the event.
+ */
+ private void browserButtonActionPerformed(java.awt.event.ActionEvent evt) {
+ try {
+ Desktop.getDesktop().browse(new URL(localhostURL).toURI());
+ } catch (IOException e) {
+ System.err.println("IO Exception: " + e.getMessage());
+ } catch (URISyntaxException e) {
+ System.err.println("URISyntaxException: " + e.getMessage());
+ }
+ }
+
+ /**
+ * Returns an ImageIcon, or null if the path was invalid.
+ *
+ * @param path
+ * The path to the icon.
+ * @param description
+ * The description of the icon.
+ * @return the newly created ImageIcon or null.
+ */
+ protected ImageIcon createImageIcon(String path, String description) {
+ java.net.URL imgURL = getClass().getResource(path);
+ if (imgURL != null) {
+ return new ImageIcon(imgURL, description);
+ } else {
+ System.err.println("Couldn't find file: " + path);
+ return null;
+ }
+ }
+
+ /**
+ * Returns the full contents of a (assumed) text file for use in a label.
+ *
+ * @param path
+ * The path to the text file.
+ * @return The contents of the file as a String.
+ * @throws IOException
+ * thrown if the file is unable to be read.
+ */
+ protected String getLabelText(String path) throws IOException {
+ InputStream is = this.getClass().getResourceAsStream(path);
+ if (is != null) {
+ Writer writer = new StringWriter();
+
+ char[] buffer = new char[1024];
+ try {
+ Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"));
+ int n;
+ while ((n = reader.read(buffer)) != -1) {
+ writer.write(buffer, 0, n);
+ }
+ } finally {
+ is.close();
+ }
+ return writer.toString();
+ } else {
+ System.err.println("Couldn't find file: " + path);
+ return null;
+ }
+ }
+
+ /**
+ * The Main method which executes the program.
+ *
+ * @param args
+ * the command line arguments
+ */
+ public static void main(String args[]) {
+ savedArgs = args;
+ java.awt.EventQueue.invokeLater(new Runnable() {
+
+ public void run() {
+ new LaunchNakamura().setVisible(true);
+ }
+ });
+ }
+
+ // Variables declaration - do not modify
+ private javax.swing.JButton browserButton;
+ private javax.swing.JLabel disclaimerLabel;
+ private javax.swing.JButton exitButton;
+ private javax.swing.JLabel headingLabel;
+ private javax.swing.JButton launchButton;
+ private javax.swing.JLabel statusLabel;
+ // End of variables declaration
+
+}
diff --git a/extensions/app/src/main/java/org/sakaiproject/nakamura/app/NakamuraMain.java b/extensions/app/src/main/java/org/sakaiproject/nakamura/app/NakamuraMain.java
new file mode 100644
index 00000000..b444b6f7
--- /dev/null
+++ b/extensions/app/src/main/java/org/sakaiproject/nakamura/app/NakamuraMain.java
@@ -0,0 +1,263 @@
+package org.sakaiproject.nakamura.app;
+
+import org.apache.sling.launchpad.app.Main;
+import org.apache.sling.launchpad.base.shared.SharedConstants;
+
+import java.io.BufferedReader;
+import java.io.File;
+import java.io.FileReader;
+import java.io.FileWriter;
+import java.io.IOException;
+import java.io.PrintStream;
+import java.net.MalformedURLException;
+import java.net.URL;
+import java.text.DateFormat;
+import java.text.SimpleDateFormat;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Map;
+
+public class NakamuraMain {
+
+ // The name of the environment variable to consult to find out
+ // about sling.home
+ private static final String ENV_SLING_HOME = "SLING_HOME";
+
+ public static void main(String[] args) throws IOException {
+ checkLaunchDate(args);
+ System.setSecurityManager(null);
+ Main.main(args);
+ }
+
+ private static void checkLaunchDate(String[] args) throws IOException {
+ // Find the last modified of this jar
+ try {
+ String resource = NakamuraMain.class.getName().replace('.','/')+".class";
+ URL u = NakamuraMain.class.getClassLoader().getResource(resource);
+ String jarFilePath = u.getFile();
+ jarFilePath = jarFilePath.substring(0,jarFilePath.length()-resource.length()-2);
+ u = new URL(jarFilePath);
+ jarFilePath = u.getFile();
+ File jarFile = new File(jarFilePath);
+ info("Loading from "+jarFile,null);
+ long lastModified = jarFile.lastModified();
+
+ Map parsedArgs = parseCommandLine(args);
+ // Find the last modified when the jar was loaded.
+ String slingHome = getSlingHome(parsedArgs);
+ File slingHomeFile = new File(slingHome);
+ File loaderTimestamp = new File(slingHome, ".lauchpadLastModified");
+ long launchpadLastModified = 0L;
+ if (loaderTimestamp.exists()) {
+ BufferedReader fr = null;
+ try {
+ fr = new BufferedReader(new FileReader(loaderTimestamp));
+ launchpadLastModified = Long.parseLong(fr.readLine());
+ } catch (NumberFormatException e) {
+ e.printStackTrace();
+ } catch (IOException e) {
+ e.printStackTrace();
+ } finally {
+ if (fr != null) {
+ try {
+ fr.close();
+ } catch (IOException e) {
+ e.printStackTrace();
+ }
+ }
+ }
+ } else {
+ info("No loader timestamp ",null);
+ }
+
+ // if the jar is newer, then delete the bootstrap servialization file that will
+ // cause the contents of the jar to replace the contents on disk.
+
+ if (launchpadLastModified < lastModified) {
+ File bundleSer = new File(slingHomeFile, "felix/bundle0/bootstrapinstaller.ser");
+ if (bundleSer.exists()) {
+ info("Launcer Jar is newer than runtime image, removing bundle state, jar will reload ",null);
+ bundleSer.delete();
+ } else {
+ info("No runtime, will use contents of launcher jar",null);
+ }
+ slingHomeFile.mkdirs();
+ FileWriter fw = new FileWriter(loaderTimestamp);
+ fw.write(String.valueOf(lastModified));
+ fw.close();
+ fw = null;
+ } else {
+ info("Runtime image, newer than launcher, using runtime image ",null);
+ }
+ } catch (MalformedURLException e) {
+ info("Not launching from a jar ",null);
+ }
+
+ }
+
+ /**
+ * Define the sling.home parameter implementing the algorithme defined on the wiki page
+ * to find the setting according to this algorithm:
+ *
+ *
Command line option -c
+ *
System property sling.home
+ *
Environment variable SLING_HOME
+ *
Default value sling
+ *
+ *
+ * @param args
+ * The command line arguments
+ * @return The value to use for sling.home
+ */
+ private static String getSlingHome(Map commandLine) {
+ String source = null;
+
+ String slingHome = commandLine.get("c");
+ if (slingHome != null) {
+
+ source = "command line";
+
+ } else {
+
+ slingHome = System.getProperty(SharedConstants.SLING_HOME);
+ if (slingHome != null) {
+
+ source = "system property sling.home";
+
+ } else {
+
+ slingHome = System.getenv(ENV_SLING_HOME);
+ if (slingHome != null) {
+
+ source = "environment variable SLING_HOME";
+
+ } else {
+
+ source = "default";
+ slingHome = SharedConstants.SLING_HOME_DEFAULT;
+
+ }
+ }
+ }
+
+ info("Setting sling.home=" + slingHome + " (" + source + ")", null);
+ return slingHome;
+ }
+
+ /**
+ * Parses the command line arguments into a map of strings indexed by strings. This
+ * method suppports single character option names only at the moment. Each pair of an
+ * option name and its value is stored into the map. If a single dash '-' character is
+ * encountered the rest of the command line are interpreted as option names and are
+ * stored in the map unmodified as entries with the same key and value.
+ *
+ *
+ *
Command Line
+ *
Mapping
+ *
+ *
+ *
x
+ *
x -> x
+ *
+ *
+ *
-y z
+ *
y -> z
+ *
+ *
+ *
-yz
+ *
y -> z
+ *
+ *
+ *
-y -z
+ *
y -> y, z -> z
+ *
+ *
+ *
-y x - -z a
+ *
y -> x, -z -> -z, a -> a
+ *
+ *
+ *
+ * @param args
+ * The command line to parse
+ *
+ * @return The map of command line options and their values
+ */
+ static Map parseCommandLine(String[] args) {
+ Map commandLine = new HashMap();
+ boolean readUnparsed = false;
+ for (int argc = 0; args != null && argc < args.length; argc++) {
+ String arg = args[argc];
+
+ if (readUnparsed) {
+ commandLine.put(arg, arg);
+ } else if (arg.startsWith("-")) {
+ if (arg.length() == 1) {
+ readUnparsed = true;
+ } else {
+ String key = String.valueOf(arg.charAt(1));
+ if (arg.length() > 2) {
+ commandLine.put(key, arg.substring(2));
+ } else {
+ argc++;
+ if (argc < args.length
+ && (args[argc].equals("-") || !args[argc].startsWith("-"))) {
+ commandLine.put(key, args[argc]);
+ } else {
+ commandLine.put(key, key);
+ argc--;
+ }
+ }
+ }
+ } else {
+ commandLine.put(arg, arg);
+ }
+ }
+ return commandLine;
+ }
+
+ // ---------- logging
+
+ // emit an informational message to standard out
+ static void info(String message, Throwable t) {
+ log(System.out, "*INFO*", message, t);
+ }
+
+ // emit an error message to standard err
+ static void error(String message, Throwable t) {
+ log(System.err, "*ERROR*", message, t);
+ }
+
+ private static final DateFormat fmt = new SimpleDateFormat("dd.MM.yyyy HH:mm:ss.SSS ");
+
+ // helper method to format the message on the correct output channel
+ // the throwable if not-null is also prefixed line by line with the prefix
+ private static void log(PrintStream out, String prefix, String message,
+ Throwable t) {
+
+ final StringBuilder linePrefixBuilder = new StringBuilder();
+ synchronized (fmt) {
+ linePrefixBuilder.append(fmt.format(new Date()));
+ }
+ linePrefixBuilder.append(prefix);
+ linePrefixBuilder.append(" [");
+ linePrefixBuilder.append(Thread.currentThread().getName());
+ linePrefixBuilder.append("] ");
+ final String linePrefix = linePrefixBuilder.toString();
+
+ out.print(linePrefix);
+ out.println(message);
+ if (t != null) {
+ t.printStackTrace(new PrintStream(out) {
+ @Override
+ public void println(String x) {
+ synchronized (this) {
+ print(linePrefix);
+ super.println(x);
+ flush();
+ }
+ }
+ });
+ }
+ }
+
+}
diff --git a/extensions/app/src/main/resources/jre-1.5.properties b/extensions/app/src/main/resources/jre-1.5.properties
new file mode 100644
index 00000000..fc9e1254
--- /dev/null
+++ b/extensions/app/src/main/resources/jre-1.5.properties
@@ -0,0 +1,143 @@
+#
+# 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.
+#
+
+# The file contains the Java 1.5 platform packages used as system packages
+# for the current platform.
+jre.mods.doc = The JRE Settings have javax.trasacton removed for Sakai to use JTA 1.1
+jre-1.5= \
+ javax.accessibility,\
+ javax.activity,\
+ javax.crypto,\
+ javax.crypto.interfaces,\
+ javax.crypto.spec,\
+ javax.imageio,\
+ javax.imageio.event,\
+ javax.imageio.metadata,\
+ javax.imageio.plugins.bmp,\
+ javax.imageio.plugins.jpeg,\
+ javax.imageio.spi,\
+ javax.imageio.stream,\
+ javax.management,\
+ javax.management.loading,\
+ javax.management.modelmbean,\
+ javax.management.monitor,\
+ javax.management.openmbean,\
+ javax.management.relation,\
+ javax.management.remote,\
+ javax.management.remote.rmi,\
+ javax.management.timer,\
+ javax.naming,\
+ javax.naming.directory,\
+ javax.naming.event,\
+ javax.naming.ldap,\
+ javax.naming.spi,\
+ javax.net,\
+ javax.net.ssl,\
+ javax.print,\
+ javax.print.attribute,\
+ javax.print.attribute.standard,\
+ javax.print.event,\
+ javax.rmi,\
+ javax.rmi.CORBA,\
+ javax.rmi.ssl,\
+ javax.security.auth,\
+ javax.security.auth.callback,\
+ javax.security.auth.kerberos,\
+ javax.security.auth.login,\
+ javax.security.auth.spi,\
+ javax.security.auth.x500,\
+ javax.security.cert,\
+ javax.security.sasl,\
+ javax.sound.midi,\
+ javax.sound.midi.spi,\
+ javax.sound.sampled,\
+ javax.sound.sampled.spi,\
+ javax.sql,\
+ javax.sql.rowset,\
+ javax.sql.rowset.serial,\
+ javax.sql.rowset.spi,\
+ javax.swing,\
+ javax.swing.border,\
+ javax.swing.colorchooser,\
+ javax.swing.event,\
+ javax.swing.filechooser,\
+ javax.swing.plaf,\
+ javax.swing.plaf.basic,\
+ javax.swing.plaf.metal,\
+ javax.swing.plaf.multi,\
+ javax.swing.plaf.synth,\
+ javax.swing.table,\
+ javax.swing.text,\
+ javax.swing.text.html,\
+ javax.swing.text.html.parser,\
+ javax.swing.text.rtf,\
+ javax.swing.tree,\
+ javax.swing.undo,\
+ javax.xml,\
+ javax.xml.datatype,\
+ javax.xml.namespace,\
+ javax.xml.parsers,\
+ javax.xml.transform,\
+ javax.xml.transform.dom,\
+ javax.xml.transform.sax,\
+ javax.xml.transform.stream,\
+ javax.xml.validation,\
+ javax.xml.xpath,\
+ org.ietf.jgss,\
+ org.omg.CORBA,\
+ org.omg.CORBA_2_3,\
+ org.omg.CORBA_2_3.portable,\
+ org.omg.CORBA.DynAnyPackage,\
+ org.omg.CORBA.ORBPackage,\
+ org.omg.CORBA.portable,\
+ org.omg.CORBA.TypeCodePackage,\
+ org.omg.CosNaming,\
+ org.omg.CosNaming.NamingContextExtPackage,\
+ org.omg.CosNaming.NamingContextPackage,\
+ org.omg.Dynamic,\
+ org.omg.DynamicAny,\
+ org.omg.DynamicAny.DynAnyFactoryPackage,\
+ org.omg.DynamicAny.DynAnyPackage,\
+ org.omg.IOP,\
+ org.omg.IOP.CodecFactoryPackage,\
+ org.omg.IOP.CodecPackage,\
+ org.omg.Messaging,\
+ org.omg.PortableInterceptor,\
+ org.omg.PortableInterceptor.ORBInitInfoPackage,\
+ org.omg.PortableServer,\
+ org.omg.PortableServer.CurrentPackage,\
+ org.omg.PortableServer.POAManagerPackage,\
+ org.omg.PortableServer.POAPackage,\
+ org.omg.PortableServer.portable,\
+ org.omg.PortableServer.ServantLocatorPackage,\
+ org.omg.SendingContext,\
+ org.omg.stub.java.rmi,\
+ org.w3c.dom,\
+ org.w3c.dom.bootstrap,\
+ org.w3c.dom.css,\
+ org.w3c.dom.events,\
+ org.w3c.dom.html,\
+ org.w3c.dom.ls,\
+ org.w3c.dom.ranges,\
+ org.w3c.dom.stylesheets,\
+ org.w3c.dom.traversal,\
+ org.w3c.dom.views,\
+ org.xml.sax,\
+ org.xml.sax.ext,\
+ org.xml.sax.helpers
diff --git a/extensions/app/src/main/resources/jre-1.6.properties b/extensions/app/src/main/resources/jre-1.6.properties
new file mode 100644
index 00000000..550d02c1
--- /dev/null
+++ b/extensions/app/src/main/resources/jre-1.6.properties
@@ -0,0 +1,180 @@
+#
+# 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.
+#
+
+# The file contains the Java 1.6 platform packages used as system packages
+# for the current platform.
+jre.mods.doc = The JRE Settings have javax.trasacton removed for Sakai to use JTA 1.1
+jre-1.6= \
+ javax.accessibility,\
+ javax.activation,\
+ javax.activity,\
+ javax.annotation,\
+ javax.annotation.processing,\
+ javax.crypto,\
+ javax.crypto.interfaces,\
+ javax.crypto.spec,\
+ javax.imageio,\
+ javax.imageio.event,\
+ javax.imageio.metadata,\
+ javax.imageio.plugins.bmp,\
+ javax.imageio.plugins.jpeg,\
+ javax.imageio.spi,\
+ javax.imageio.stream,\
+ javax.jws,\
+ javax.jws.soap,\
+ javax.lang.model,\
+ javax.lang.model.element,\
+ javax.lang.model.type,\
+ javax.lang.model.util,\
+ javax.management,\
+ javax.management.loading,\
+ javax.management.modelmbean,\
+ javax.management.monitor,\
+ javax.management.openmbean,\
+ javax.management.relation,\
+ javax.management.remote,\
+ javax.management.remote.rmi,\
+ javax.management.timer,\
+ javax.naming,\
+ javax.naming.directory,\
+ javax.naming.event,\
+ javax.naming.ldap,\
+ javax.naming.spi,\
+ javax.net,\
+ javax.net.ssl,\
+ javax.print,\
+ javax.print.attribute,\
+ javax.print.attribute.standard,\
+ javax.print.event,\
+ javax.rmi,\
+ javax.rmi.CORBA,\
+ javax.rmi.ssl,\
+ javax.script,\
+ javax.security.auth,\
+ javax.security.auth.callback,\
+ javax.security.auth.kerberos,\
+ javax.security.auth.login,\
+ javax.security.auth.spi,\
+ javax.security.auth.x500,\
+ javax.security.cert,\
+ javax.security.sasl,\
+ javax.smartcardio,\
+ javax.sound.midi,\
+ javax.sound.midi.spi,\
+ javax.sound.sampled,\
+ javax.sound.sampled.spi,\
+ javax.sql,\
+ javax.sql.rowset,\
+ javax.sql.rowset.serial,\
+ javax.sql.rowset.spi,\
+ javax.swing,\
+ javax.swing.border,\
+ javax.swing.colorchooser,\
+ javax.swing.event,\
+ javax.swing.filechooser,\
+ javax.swing.plaf,\
+ javax.swing.plaf.basic,\
+ javax.swing.plaf.metal,\
+ javax.swing.plaf.multi,\
+ javax.swing.plaf.synth,\
+ javax.swing.table,\
+ javax.swing.text,\
+ javax.swing.text.html,\
+ javax.swing.text.html.parser,\
+ javax.swing.text.rtf,\
+ javax.swing.tree,\
+ javax.swing.undo,\
+ javax.tools,\
+ javax.xml,\
+ javax.xml.bind,\
+ javax.xml.bind.annotation,\
+ javax.xml.bind.annotation.adapters,\
+ javax.xml.bind.attachment,\
+ javax.xml.bind.helpers,\
+ javax.xml.bind.util,\
+ javax.xml.crypto,\
+ javax.xml.crypto.dom,\
+ javax.xml.crypto.dsig,\
+ javax.xml.crypto.dsig.dom,\
+ javax.xml.crypto.dsig.keyinfo,\
+ javax.xml.crypto.dsig.spec,\
+ javax.xml.datatype,\
+ javax.xml.namespace,\
+ javax.xml.parsers,\
+ javax.xml.soap,\
+ javax.xml.stream,\
+ javax.xml.stream.events,\
+ javax.xml.stream.util,\
+ javax.xml.transform,\
+ javax.xml.transform.dom,\
+ javax.xml.transform.sax,\
+ javax.xml.transform.stax,\
+ javax.xml.transform.stream,\
+ javax.xml.validation,\
+ javax.xml.ws,\
+ javax.xml.ws.handler,\
+ javax.xml.ws.handler.soap,\
+ javax.xml.ws.http,\
+ javax.xml.ws.soap,\
+ javax.xml.ws.spi,\
+ javax.xml.xpath,\
+ org.ietf.jgss,\
+ org.omg.CORBA,\
+ org.omg.CORBA_2_3,\
+ org.omg.CORBA_2_3.portable,\
+ org.omg.CORBA.DynAnyPackage,\
+ org.omg.CORBA.ORBPackage,\
+ org.omg.CORBA.portable,\
+ org.omg.CORBA.TypeCodePackage,\
+ org.omg.CosNaming,\
+ org.omg.CosNaming.NamingContextExtPackage,\
+ org.omg.CosNaming.NamingContextPackage,\
+ org.omg.Dynamic,\
+ org.omg.DynamicAny,\
+ org.omg.DynamicAny.DynAnyFactoryPackage,\
+ org.omg.DynamicAny.DynAnyPackage,\
+ org.omg.IOP,\
+ org.omg.IOP.CodecFactoryPackage,\
+ org.omg.IOP.CodecPackage,\
+ org.omg.Messaging,\
+ org.omg.PortableInterceptor,\
+ org.omg.PortableInterceptor.ORBInitInfoPackage,\
+ org.omg.PortableServer,\
+ org.omg.PortableServer.CurrentPackage,\
+ org.omg.PortableServer.POAManagerPackage,\
+ org.omg.PortableServer.POAPackage,\
+ org.omg.PortableServer.portable,\
+ org.omg.PortableServer.ServantLocatorPackage,\
+ org.omg.SendingContext,\
+ org.omg.stub.java.rmi,\
+ org.omg.stub.javax.management.remote.rmi,\
+ org.w3c.dom,\
+ org.w3c.dom.bootstrap,\
+ org.w3c.dom.css,\
+ org.w3c.dom.events,\
+ org.w3c.dom.html,\
+ org.w3c.dom.ls,\
+ org.w3c.dom.ranges,\
+ org.w3c.dom.stylesheets,\
+ org.w3c.dom.traversal,\
+ org.w3c.dom.views,\
+ org.w3c.dom.xpath,\
+ org.xml.sax,\
+ org.xml.sax.ext,\
+ org.xml.sax.helpers
diff --git a/extensions/app/src/main/resources/readme.txt b/extensions/app/src/main/resources/readme.txt
new file mode 100644
index 00000000..5c1792ca
--- /dev/null
+++ b/extensions/app/src/main/resources/readme.txt
@@ -0,0 +1,3 @@
+
+This pre-release is intended for review and to support the development goals of the project; it is not intended for use in production. It is NOT a scalable platform for course management in most colleges or universities.
+
diff --git a/extensions/app/src/main/resources/sakaioae-icon.png b/extensions/app/src/main/resources/sakaioae-icon.png
new file mode 100644
index 00000000..791905b1
Binary files /dev/null and b/extensions/app/src/main/resources/sakaioae-icon.png differ
diff --git a/extensions/app/src/main/resources/sling_install.properties b/extensions/app/src/main/resources/sling_install.properties
new file mode 100644
index 00000000..315719bf
--- /dev/null
+++ b/extensions/app/src/main/resources/sling_install.properties
@@ -0,0 +1,10 @@
+# This is set here so that it can be overridden on the command line.
+# By default it wont be loaded since on first startup nakamura.properties wont exist in ${sling.home}
+# The way to load a custom set of properties is to use -Dsling.include.nakamura=/absolute/path/to/nakamura.properties
+# Which will override this location.
+# NB, that if the properties are required on evey startup they must be either provided on the command line every time
+# or added to ${sling.home}/nakamura.properties after the system has started.
+sling.include.nakamura = nakamura.properties
+org.apache.felix.eventadmin.Timeout=0
+sling.bootdelegation.profiling.eclipse=org.eclipse.tptp.martini, org.eclipse.tptp.martini.*
+sling.bootdelegation.profiling.netbeans=org.netbeans.lib.profiler.server, org.netbeans.lib.profiler.server.*
diff --git a/extensions/app/static/me.json b/extensions/app/static/me.json
new file mode 100644
index 00000000..0e59f036
--- /dev/null
+++ b/extensions/app/static/me.json
@@ -0,0 +1 @@
+{"user":{"anon":true,"subjects":[],"superUser":false},"profile":{"basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"anon@sakai.invalid"},"firstName":{"value":"Anonymous"}}},"rep:userId":"anonymous"},"messages":{"unread":0},"contacts":{},"groups":[]}
\ No newline at end of file
diff --git a/extensions/app/static/tags/directory.tagged.json b/extensions/app/static/tags/directory.tagged.json
new file mode 100644
index 00000000..685cc09e
--- /dev/null
+++ b/extensions/app/static/tags/directory.tagged.json
@@ -0,0 +1 @@
+{"biologicalsciences":{"jcr:path":"/tags/directory/biologicalsciences","jcr:name":"biologicalsciences","sling:resourceType":"sakai/tag","jcr:createdBy":"johnfking2","sakai:tag-name":"directory/biologicalsciences","jcr:created":"2011-10-07T17:04:41+00:00","jcr:primaryType":"sling:Folder","content":{}},"mathematicalandcomputersciences":{"jcr:path":"/tags/directory/mathematicalandcomputersciences","jcr:name":"mathematicalandcomputersciences","sling:resourceType":"sakai/tag","jcr:createdBy":"johnfking2","sakai:tag-name":"directory/mathematicalandcomputersciences","jcr:created":"2011-10-07T17:04:41+00:00","jcr:primaryType":"sling:Folder","content":{}},"linguisticsclassicsandrelatedsubjects":{"jcr:path":"/tags/directory/linguisticsclassicsandrelatedsubjects","jcr:name":"linguisticsclassicsandrelatedsubjects","jcr:createdBy":"johnfking2","jcr:created":"2011-10-07T17:04:41+00:00","jcr:primaryType":"sling:Folder","content":{}},"historicalandphilosophicalstudies":{"jcr:path":"/tags/directory/historicalandphilosophicalstudies","jcr:name":"historicalandphilosophicalstudies","jcr:createdBy":"johnfking2","jcr:created":"2011-10-07T17:04:41+00:00","jcr:primaryType":"sling:Folder","content":{}},"creativeartsanddesign":{"jcr:path":"/tags/directory/creativeartsanddesign","jcr:name":"creativeartsanddesign","sling:resourceType":"sakai/tag","sakai:tag-name":"directory/creativeartsanddesign","jcr:createdBy":"johnfking2","sakai:tag-count":1,"jcr:created":"2011-10-07T17:04:41+00:00","jcr:primaryType":"sling:Folder","content":{"_lastModifiedBy":"john1","sakai:preview-type":"video","sakai:permissions":"public","_mimeType":"x-sakai/link","_createdBy":"admin","sakai:preview-avatar":"http://img.youtube.com/vi/YnSBWvXxtwQ/0.jpg","sakai:preview-url":"http://www.youtube.com/watch?v=YnSBWvXxtwQ","sakai:tag-uuid":["7a14bcca-bd45-4c61-ac93-9645abb04949"],"_path":"ij3cAiUGq","sakai:description":"","sakai:tags":["directory/creativeartsanddesign"],"sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["john1"],"_created":1318007437505,"sakai:pooled-content-viewer":["anonymous","bugbashtest","everyone"],"sakai:pool-content-created-for":"john1","_id":"Rr4zEPEHEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"Online eBooks","_lastModified":1318008041011,"sakai:pooled-content-url":"http://www.youtube.com/watch?v=YnSBWvXxtwQ","sakai:copyright":"creativecommons","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-07T17:20:41+00:00","jcr:mimeType":"x-sakai/link","jcr:data":0}}}
\ No newline at end of file
diff --git a/extensions/app/static/test.html b/extensions/app/static/test.html
new file mode 100644
index 00000000..0f060282
--- /dev/null
+++ b/extensions/app/static/test.html
@@ -0,0 +1 @@
+testing.
diff --git a/extensions/app/static/ui b/extensions/app/static/ui
new file mode 120000
index 00000000..9a557023
--- /dev/null
+++ b/extensions/app/static/ui
@@ -0,0 +1 @@
+/Users/ieb/timefields/iebux
\ No newline at end of file
diff --git a/extensions/app/static/var/search/activity/all.json b/extensions/app/static/var/search/activity/all.json
new file mode 100644
index 00000000..f6ff5c4c
--- /dev/null
+++ b/extensions/app/static/var/search/activity/all.json
@@ -0,0 +1 @@
+{"items":12,"results":[{"_lastModifiedBy":"jsmith","sakai:permissions":"public","_mimeType":"x-sakai/document","_createdBy":"admin","_path":"iOzTWedOwb","sakai:description":"Nerts r us","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-viewer":["anonymous","everyone"],"sakai:pooled-content-manager":["jsmith"],"_created":1318873024310,"sakai:pool-content-created-for":"jsmith","_id":"oK7tYPjmEeCa7Flirf_xsA+","structure0":"{\"page1\":{\"_ref\":\"id4599079\",\"_order\":0,\"_title\":\"Page Title 1\",\"main\":{\"_ref\":\"id4599079\",\"_order\":0,\"_title\":\"Page Title 1\",\"_poolpath\":\"/p/iOzTWedOwb\",\"_childCount\":0,\"_id\":\"main\",\"_elements\":[]},\"_canEdit\":true,\"_canSubedit\":true,\"_poolpath\":\"/p/iOzTWedOwb\",\"_childCount\":1,\"_id\":\"page1\",\"_elements\":[{\"_ref\":\"id4599079\",\"_order\":0,\"_title\":\"Page Title 1\",\"_poolpath\":\"/p/iOzTWedOwb\",\"_childCount\":0,\"_id\":\"main\",\"_elements\":[]}]},\"_childCount\":1,\"id9027443\":{\"_ref\":\"id9027443\",\"_title\":\"Untitled Page\",\"_order\":1,\"_canSubedit\":true,\"_canEdit\":true,\"_poolpath\":\"/p/iOzTWedOwb\",\"main\":{\"_ref\":\"id9027443\",\"_order\":0,\"_title\":\"Untitled Page\",\"_childCount\":0,\"_canSubedit\":true,\"_canEdit\":true,\"_poolpath\":\"/p/iOzTWedOwb\",\"_id\":\"main\",\"_elements\":[]},\"_childCount\":1,\"_id\":\"id9027443\",\"_elements\":[{\"_ref\":\"id9027443\",\"_order\":0,\"_title\":\"Untitled Page\",\"_childCount\":0,\"_canSubedit\":true,\"_canEdit\":true,\"_poolpath\":\"/p/iOzTWedOwb\",\"_id\":\"main\",\"_elements\":[]}]}}","sakai:pooled-content-file-name":"Nerts","_lastModified":1318873038334,"sakai:copyright":"creativecommons","sakai:activity-source":"iOzTWedOwb","sakai:activity-type":"pooled content","sakai:activity-appid":"default","sakai:activity-actor":"jsmith","sakai:activityMessage":"UPDATED_CONTENT","who":{"hash":"jsmith","basic":{"access":"everybody","elements":{"lastName":{"value":"Smith"},"email":{"value":"jsmith@example.com"},"firstName":{"value":"John"}}},"rep:userId":"jsmith","userid":"jsmith","counts":{"contactsCount":0,"membershipsCount":0,"contentCount":1,"countLastUpdate":1318904551549},"sakai:excludeSearch":false}},{"sling:resourceType":"sakai/user-home","_created":1318872946275,"_id":"ciu7MPjmEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_lastModified":1318872946275,"_createdBy":"admin","_path":"a:jsmith","sakai:activity-source":"a:jsmith","sakai:activity-type":"user","sakai:activity-appid":"default","sakai:activity-actor":"admin","sakai:activityMessage":"USER_CREATED","who":{"hash":"admin","basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"admin@sakai.invalid"},"firstName":{"value":"Admin"}}},"rep:userId":"admin","userid":"admin","counts":{},"sakai:excludeSearch":false}},{"_lastModifiedBy":"username01","sakai:permissions":"public","_mimeType":"x-sakai/document","_createdBy":"admin","_path":"iOTGP34WGq","sakai:description":"","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-viewer":["anonymous","public-group-member","everyone"],"sakai:pooled-content-manager":["username01","public-group-manager"],"_created":1318866739627,"sakai:pool-content-created-for":"username01","_id":"_rhnsPjXEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"Participants","structure0":"{\"participants\":{\"_ref\":\"id49119302\",\"_order\":0,\"_title\":\"Participants\",\"_nonEditable\":true,\"main\":{\"_ref\":\"id49119302\",\"_order\":0,\"_nonEditable\":true,\"_title\":\"Participants\"}}}","_lastModified":1318866740189,"sakai:copyright":"creativecommons","sakai:activity-source":"iOTGP34WGq","sakai:activity-type":"pooled content","sakai:activity-appid":"default","sakai:activity-actor":"username01","sakai:activityMessage":"UPDATED_CONTENT","who":{"hash":"username01","basic":{"access":"everybody","elements":{"lastName":{"value":"Lastname01"},"email":{"value":"asd38@caret.cam.ac.uk"},"firstName":{"value":"firstname01"}}},"rep:userId":"username01","userid":"username01","counts":{"contactsCount":1,"membershipsCount":3,"contentCount":8,"countLastUpdate":1318904551544},"sakai:excludeSearch":false}},{"_lastModifiedBy":"username01","sakai:permissions":"public","_mimeType":"x-sakai/document","_createdBy":"admin","_path":"iOTGdynYaa","sakai:description":"","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-viewer":["anonymous","public-group-member","everyone"],"sakai:pooled-content-manager":["username01","public-group-manager"],"_created":1318866739619,"sakai:pool-content-created-for":"username01","_id":"_rcvMPjXEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"Library","structure0":"{\"library\":{\"_ref\":\"id49119300\",\"_order\":0,\"_nonEditable\":true,\"_title\":\"Library\",\"main\":{\"_ref\":\"id49119300\",\"_order\":0,\"_nonEditable\":true,\"_title\":\"Library\"}}}","_lastModified":1318866740172,"sakai:copyright":"creativecommons","sakai:activity-source":"iOTGdynYaa","sakai:activity-type":"pooled content","sakai:activity-appid":"default","sakai:activity-actor":"username01","sakai:activityMessage":"UPDATED_CONTENT","who":{"hash":"username01","basic":{"access":"everybody","elements":{"lastName":{"value":"Lastname01"},"email":{"value":"asd38@caret.cam.ac.uk"},"firstName":{"value":"firstname01"}}},"rep:userId":"username01","userid":"username01","counts":{"contactsCount":1,"membershipsCount":3,"contentCount":8,"countLastUpdate":1318904551544},"sakai:excludeSearch":false}},{"sling:resourceType":"sakai/group-home","_created":1318866738748,"_id":"_jJHwPjXEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_lastModified":1318866738748,"_createdBy":"admin","_path":"a:public-group","sakai:activity-source":"a:public-group","sakai:activity-type":"group","sakai:activity-appid":"default","sakai:activity-actor":"admin","sakai:activityMessage":"GROUP_CREATED","who":{"hash":"admin","basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"admin@sakai.invalid"},"firstName":{"value":"Admin"}}},"rep:userId":"admin","userid":"admin","counts":{},"sakai:excludeSearch":false},"profile":{"sakai:category":"group","sakai:group-description":null,"sakai:group-id":"public-group","createdBy":"admin","lastModified":1318904551532,"sakai:group-title":"public group","created":1318866738738,"basic":{"access":"everybody","elements":{"lastName":{"value":"unknown"},"email":{"value":"unknown"},"firstName":{"value":"unknown"}}},"lastModifiedBy":"admin","groupid":"public-group","counts":{"membershipsCount":0,"contentCount":0,"membersCount":1,"countLastUpdate":1318904551532},"sakai:excludeSearch":false}},{"sling:resourceType":"sakai/group-home","_created":1318866738484,"_id":"_gn_QPjXEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_lastModified":1318866738484,"_createdBy":"admin","_path":"a:public-group-member","sakai:activity-source":"a:public-group-member","sakai:activity-type":"group","sakai:activity-appid":"default","sakai:activity-actor":"admin","sakai:activityMessage":"GROUP_CREATED","who":{"hash":"admin","basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"admin@sakai.invalid"},"firstName":{"value":"Admin"}}},"rep:userId":"admin","userid":"admin","counts":{},"sakai:excludeSearch":false},"profile":{"sakai:category":null,"sakai:group-description":null,"sakai:group-id":"public-group-member","createdBy":"admin","lastModified":1318866740557,"sakai:group-title":"public group (Members)","created":1318866738472,"basic":{"access":"everybody","elements":{"lastName":{"value":"unknown"},"email":{"value":"unknown"},"firstName":{"value":"unknown"}}},"lastModifiedBy":"username01","groupid":"public-group-member","counts":{"membershipsCount":1,"contentCount":2},"sakai:excludeSearch":"true"}},{"sling:resourceType":"sakai/group-home","_created":1318866738204,"_id":"_d9FwPjXEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_lastModified":1318866738204,"_createdBy":"admin","_path":"a:public-group-manager","sakai:activity-source":"a:public-group-manager","sakai:activity-type":"group","sakai:activity-appid":"default","sakai:activity-actor":"admin","sakai:activityMessage":"GROUP_CREATED","who":{"hash":"admin","basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"admin@sakai.invalid"},"firstName":{"value":"Admin"}}},"rep:userId":"admin","userid":"admin","counts":{},"sakai:excludeSearch":false},"profile":{"sakai:category":null,"sakai:group-description":null,"sakai:group-id":"public-group-manager","createdBy":"admin","lastModified":1318866740568,"sakai:group-title":"public group (Managers)","created":1318866738191,"basic":{"access":"everybody","elements":{"lastName":{"value":"unknown"},"email":{"value":"unknown"},"firstName":{"value":"unknown"}}},"lastModifiedBy":"username01","groupid":"public-group-manager","counts":{"membershipsCount":1,"contentCount":4},"sakai:excludeSearch":"true"}},{"_previousBlockId":"uu8KwPjXEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"uu2rMPjXEeCa7Flirf_xsA+","_path":"iOOmojoOaa","sakai:fileextension":".jpg","_blockId":"uu8KwPjXEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"uzALYfjXEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"username01","sakai:pooled-content-file-name":"scottishwildcat.jpg","_bodyCreated":1318866625901,"sakai:copyright":"creativecommons","_length":105823,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/jpeg","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"uzALYPjXEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["username01"],"_created":1318866625891,"_bodyLastModified":1318866625901,"_lastModified":1318866645556,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/BG/y2/qf/BGy2qfXufsH7KLWNfavIc_c-1HI","sakai:activity-source":"iOOmojoOaa","sakai:activity-type":"pooled content","sakai:activity-appid":"default","sakai:activity-actor":"admin","sakai:activityMessage":"UPDATED_FILE","who":{"hash":"admin","basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"admin@sakai.invalid"},"firstName":{"value":"Admin"}}},"rep:userId":"admin","userid":"admin","counts":{},"sakai:excludeSearch":false}},{"_previousBlockId":"uu8KwPjXEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"uu2rMPjXEeCa7Flirf_xsA+","_path":"iOOmojoOaa","sakai:fileextension":".jpg","_blockId":"uu8KwPjXEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"uzALYfjXEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"username01","sakai:pooled-content-file-name":"scottishwildcat.jpg","_bodyCreated":1318866625901,"sakai:copyright":"creativecommons","_length":105823,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/jpeg","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"uzALYPjXEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["username01"],"_created":1318866625891,"_bodyLastModified":1318866625901,"_lastModified":1318866645556,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/BG/y2/qf/BGy2qfXufsH7KLWNfavIc_c-1HI","sakai:activity-source":"iOOmojoOaa","sakai:activity-type":"pooled content","sakai:activity-appid":"default","sakai:activity-actor":"admin","sakai:activityMessage":"UPDATED_FILE","who":{"hash":"admin","basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"admin@sakai.invalid"},"firstName":{"value":"Admin"}}},"rep:userId":"admin","userid":"admin","counts":{},"sakai:excludeSearch":false}},{"_previousBlockId":"uu8KwPjXEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"uu2rMPjXEeCa7Flirf_xsA+","_path":"iOOmojoOaa","sakai:fileextension":".jpg","_blockId":"uu8KwPjXEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"uzALYfjXEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"username01","sakai:pooled-content-file-name":"scottishwildcat.jpg","_bodyCreated":1318866625901,"sakai:copyright":"creativecommons","_length":105823,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/jpeg","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"uzALYPjXEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["username01"],"_created":1318866625891,"_bodyLastModified":1318866625901,"_lastModified":1318866645556,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/BG/y2/qf/BGy2qfXufsH7KLWNfavIc_c-1HI","sakai:activity-source":"iOOmojoOaa","sakai:activity-type":"pooled content","sakai:activity-appid":"default","sakai:activity-actor":"username01","sakai:activityMessage":"CREATED_FILE","who":{"hash":"username01","basic":{"access":"everybody","elements":{"lastName":{"value":"Lastname01"},"email":{"value":"asd38@caret.cam.ac.uk"},"firstName":{"value":"firstname01"}}},"rep:userId":"username01","userid":"username01","counts":{"contactsCount":1,"membershipsCount":3,"contentCount":8,"countLastUpdate":1318904551544},"sakai:excludeSearch":false}},{"sling:resourceType":"sakai/user-home","_created":1318866565670,"_id":"lwisYPjXEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_lastModified":1318866565670,"_createdBy":"admin","_path":"a:username01","sakai:activity-source":"a:username01","sakai:activity-type":"user","sakai:activity-appid":"default","sakai:activity-actor":"admin","sakai:activityMessage":"USER_CREATED","who":{"hash":"admin","basic":{"access":"everybody","elements":{"lastName":{"value":"User"},"email":{"value":"admin@sakai.invalid"},"firstName":{"value":"Admin"}}},"rep:userId":"admin","userid":"admin","counts":{},"sakai:excludeSearch":false}}],"total":198}
\ No newline at end of file
diff --git a/extensions/app/static/var/search/public/random-content.json b/extensions/app/static/var/search/public/random-content.json
new file mode 100644
index 00000000..f5e20e00
--- /dev/null
+++ b/extensions/app/static/var/search/public/random-content.json
@@ -0,0 +1 @@
+{"items":10,"results":[{"_previousBlockId":"Bun6MPWeEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"Buc7EPWeEeCa7Flirf_xsA+","_path":"ibtAKSqCmg","sakai:fileextension":".jpg","_blockId":"Bun6MPWeEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"Bw388fWeEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"jrf","sakai:pooled-content-file-name":"AAR Logo.jpg","_bodyCreated":1318511989076,"sakai:copyright":"creativecommons","_length":11444,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/jpeg","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"Bw388PWeEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["jrf"],"_created":1318511989057,"_bodyLastModified":1318511989076,"_lastModified":1318515175689,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/vH/4H/7H/vH4H7H4xXl0Gk0x4TOCEBH27RiU","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-13T14:12:55+00:00","jcr:mimeType":"image/jpeg","jcr:data":11444},{"_previousBlockId":"cNoLAPUOEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"cNj5kPUOEeCa7Flirf_xsA+","sakai:fileextension":".jpg","_path":"i6asiWyeie","_blockId":"cNoLAPUOEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone","Jack-Fitzmier-s-Biospace"],"sakai:pool-content-created-for":"jrf","_bodyCreatedBy":"admin","_id":"cQ4TUfUOEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"FItzmier Photo.jpg","_bodyCreated":1318450319292,"sakai:copyright":"creativecommons","_length":73667,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/jpeg","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"cQ4TUPUOEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["jrf"],"_created":1318450319273,"_bodyLastModified":1318450319292,"_lastModified":1318515175433,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/FH/ie/jr/FHiejr-KUGHl0RwbQCjGgYGt1rU","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-13T14:12:55+00:00","jcr:mimeType":"image/jpeg","jcr:data":73667},{"_previousBlockId":"bkcdMPJzEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"bkWWkPJzEeCa7Flirf_xsA+","_path":"iBgksMNoaa","sakai:fileextension":".pdf","_blockId":"bkcdMPJzEeCa7Flirf_xsA+","sakai:description":"New York Central, Michigan Division Map (1943)","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"cItn4fJzEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"arwhyte","sakai:pooled-content-file-name":"nyc-division-map-michigan-1943.pdf","_bodyCreated":1318163840649,"sakai:copyright":"nocopyright","_length":1464769,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"application/pdf","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"cItn4PJzEeCa7Flirf_xsA+","sling:resourceType":"sakai/pooled-content","sakai:showcomments":"true","sakai:pooled-content-manager":["arwhyte"],"_created":1318163840633,"_bodyLastModified":1318163840649,"_lastModified":1318342585749,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/Zt/RY/yl/ZtRYylTYtKXmJiPTRrhwd39q6H4","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-11T14:16:25+00:00","jcr:mimeType":"application/pdf","jcr:data":1464769},{"_previousBlockId":"077goPEEEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"073PMPEEEeCa7Flirf_xsA+","_path":"ijomhKc9ie","sakai:fileextension":".docx","_blockId":"077goPEEEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"0-d3QfEEEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"wc877","sakai:pooled-content-file-name":"2_Stix_main_menu.docx","_bodyCreated":1318006385579,"sakai:copyright":"creativecommons","_length":57391,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"0-d3QPEEEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["wc877"],"_created":1318006385571,"_bodyLastModified":1318006385579,"_lastModified":1318006402834,"sakai:pagecount":"4","sakai:hasPreview":"true","_bodyLocation":"2011/9/iw/bW/-L/iwbW-LfctuVXrWmyVoC8XHYi2Nk","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-07T16:53:22+00:00","jcr:mimeType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","jcr:data":57391},{"_previousBlockId":"wL9xkPEEEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"wL5gIPEEEeCa7Flirf_xsA+","_path":"ijowQ1Aaa","sakai:fileextension":".doc","_blockId":"wL9xkPEEEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"wOKxAfEEEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"wc877","sakai:pooled-content-file-name":"10_things_to_do_with_chicken_breasts_4.26.doc","_bodyCreated":1318006353706,"sakai:copyright":"creativecommons","_length":54272,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"application/msword","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"wOKxAPEEEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["wc877"],"_created":1318006353698,"_bodyLastModified":1318006353706,"_lastModified":1318006376288,"sakai:pagecount":"2","sakai:hasPreview":"true","_bodyLocation":"2011/9/oP/D7/Fa/oPD7FaJaecpdOwZjyasbJMMHClY","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-07T16:52:56+00:00","jcr:mimeType":"application/msword","jcr:data":54272},{"_previousBlockId":"BDl2APEFEeCa7Flirf_xsA+","_lastModifiedBy":"admin","_previousVersion":"BDg9gPEFEeCa7Flirf_xsA+","_path":"ijs3SFyaa","sakai:fileextension":".jpg","_blockId":"BDl2APEFEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"_id":"BH7jcfEFEeCa7Flirf_xsA+","_bodyCreatedBy":"admin","sakai:pool-content-created-for":"wc877","sakai:pooled-content-file-name":"2.jpg","_bodyCreated":1318006466913,"sakai:copyright":"creativecommons","_length":54947,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/jpeg","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"BH7jcPEFEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["wc877"],"_created":1318006466904,"_bodyLastModified":1318006466913,"_lastModified":1318006483807,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/Xi/YO/3Z/XiYO3Z3XOpwga8kiGuLlzexLITo","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-07T16:54:43+00:00","jcr:mimeType":"image/jpeg","jcr:data":54947},{"_lastModifiedBy":"admin","_previousBlockId":"bk5wMPJzEeCa7Flirf_xsA+","_previousVersion":"bkoqcPJzEeCa7Flirf_xsA+","sakai:fileextension":".pdf","_path":"iBgkeB8DKs","sakai:description":"Michigan Department of Transportation, \"Michigan's Railroad System\" (2009)","_blockId":"bk5wMPJzEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"sakai:pool-content-created-for":"arwhyte","_bodyCreatedBy":"admin","_id":"cI51IfJzEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"MDOT_Official_Rail_130897_7.pdf","_bodyCreated":1318163840701,"sakai:copyright":"copyrighted","_length":1098063,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"application/pdf","_bodyLastModifiedBy":"admin","_createdBy":"admin","sakai:tag-uuid":["88b780ad-c22e-4a62-971e-57769442c949"],"_versionHistoryId":"cI51IPJzEeCa7Flirf_xsA+","sakai:tags":["railroads michigan maps"],"sling:resourceType":"sakai/pooled-content","sakai:showcomments":"true","_created":1318163840663,"sakai:pooled-content-manager":["arwhyte"],"_bodyLastModified":1318163840701,"_lastModified":1318342593231,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/Dg/MR/hS/DgMRhScSPjJs7J5xJfn8xW_P_pU","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-11T14:16:33+00:00","jcr:mimeType":"application/pdf","jcr:data":1098063},{"_lastModifiedBy":"admin","_previousBlockId":"Qfsv8PELEeCa7Flirf_xsA+","_previousVersion":"QfiX4PELEeCa7Flirf_xsA+","sakai:fileextension":".jpg","_path":"ij5P1g7aa","sakai:description":"funky chicken","_blockId":"Qfsv8PELEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone"],"sakai:pool-content-created-for":"johnfking2","_bodyCreatedBy":"admin","_id":"Qr2VkfELEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"7-imp-chicken2.jpg","_bodyCreated":1318009147504,"sakai:copyright":"creativecommons","_length":63138,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/jpeg","_bodyLastModifiedBy":"admin","_createdBy":"admin","sakai:tag-uuid":["3114ef47-c90e-498e-97e0-d003c2f51ce9"],"_versionHistoryId":"Qr2VkPELEeCa7Flirf_xsA+","sakai:tags":["chicken"],"sling:resourceType":"sakai/pooled-content","sakai:showcomments":"true","_created":1318009147486,"sakai:pooled-content-manager":["johnfking2"],"_bodyLastModified":1318009147504,"_lastModified":1318009155628,"sakai:pagecount":"1","sakai:hasPreview":"true","_bodyLocation":"2011/9/e2/1Z/2p/e21Z2pbrNL-HpPRWZGhPJCwQPhU","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-07T17:39:15+00:00","jcr:mimeType":"image/jpeg","jcr:data":63138},{"_lastModifiedBy":"admin","_previousBlockId":"BgXRkPEFEeCa7Flirf_xsA+","_previousVersion":"BgRyAPEFEeCa7Flirf_xsA+","sakai:fileextension":".png","_path":"ijsuxuLaa","sakai:description":"it's a nice old airmail stamp","_blockId":"BgXRkPEFEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone","chris"],"sakai:pool-content-created-for":"zach","_bodyCreatedBy":"admin","_id":"BiZ48fEFEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"airplane-stamp.png","_bodyCreated":1318006469959,"sakai:copyright":"creativecommons","_length":521504,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"image/png","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"BiZ48PEFEeCa7Flirf_xsA+","sling:resourceType":"sakai/pooled-content","sakai:showcomments":"true","_created":1318006469920,"sakai:pooled-content-manager":["zach"],"_bodyLastModified":1318006469959,"_lastModified":1318006545009,"sakai:pagecount":"1","_bodyLocation":"2011/9/fw/dj/P2/fwdjP2391y6xnDgRy7iQ73q0w18","sakai:hasPreview":"true","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-07T16:55:45+00:00","jcr:mimeType":"image/png","jcr:data":521504},{"_lastModifiedBy":"admin","_previousBlockId":"4_bLQPEEEeCa7Flirf_xsA+","_previousVersion":"4_WSwPEEEeCa7Flirf_xsA+","sakai:fileextension":".docx","_path":"ijsqqIGaa","_blockId":"4_bLQPEEEeCa7Flirf_xsA+","sakai:allowcomments":"true","sakai:pooled-content-viewer":["anonymous","everyone","jrf"],"sakai:pool-content-created-for":"wc877","_bodyCreatedBy":"admin","_id":"5BdLkvEEEeCa7Flirf_xsA+","sakai:pooled-content-file-name":"2010-April-front.docx","_bodyCreated":1318006412789,"sakai:copyright":"creativecommons","_length":66863,"sakai:needsprocessing":"false","sakai:permissions":"public","_mimeType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","_bodyLastModifiedBy":"admin","_createdBy":"admin","_versionHistoryId":"5BdLkfEEEeCa7Flirf_xsA+","sakai:showcomments":"true","sling:resourceType":"sakai/pooled-content","sakai:pooled-content-manager":["wc877"],"_created":1318006412780,"_bodyLastModified":1318006412789,"_lastModified":1318259052608,"sakai:pagecount":"2","_bodyLocation":"2011/9/b9/zQ/JC/b9zQJCYC87bgHSrWZy1iBs5xwik","sakai:hasPreview":"true","permissions":{"set_property":false,"read":true,"remove":false},"jcr:lastModified":"2011-10-10T15:04:12+00:00","jcr:mimeType":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","jcr:data":66863}],"total":10}
\ No newline at end of file
diff --git a/extensions/app/static/var/widgets.json b/extensions/app/static/var/widgets.json
new file mode 100644
index 00000000..af378f3f
--- /dev/null
+++ b/extensions/app/static/var/widgets.json
@@ -0,0 +1 @@
+define({"discussion":{"enabled":true,"groupdashboard":true,"img":"/devwidgets/discussion/images/discussion.png","type":"sakai","url":"/devwidgets/discussion/discussion.html","grouppages":true,"id":"discussion","showinsakaigoodies":true,"description":"Discussion widget","hasSettings":true,"name":"Discussion","userpages":true,"i18n":{"default":"/devwidgets/discussion/bundles/default.properties","en_US":"/devwidgets/discussion/bundles/en_US.properties","zh_CN":"/devwidgets/discussion/bundles/zh_CN.properties"},"userdashboard":true,"sakaidocs":true},"savecontent":{"id":"savecontent","enabled":true,"hasSettings":false,"description":"Saves content into the users library","name":"Savecontent","i18n":{"default":"/devwidgets/savecontent/bundles/default.properties"},"type":"sakai","url":"/devwidgets/savecontent/savecontent.html"},"remotecontent":{"enabled":true,"groupdashboard":true,"img":"/devwidgets/remotecontent/images/remotecontent.png","defaultConfiguration":{"remotecontent":{"border_color":"cccccc","border_size":0,"height":"800","url":"http://sakaiproject.org","width":"100","width_unit":"%"}},"type":"sakai","url":"/devwidgets/remotecontent/remotecontent.html","grouppages":true,"id":"remotecontent","showinsakaigoodies":true,"description":"Remote Content","hasSettings":true,"name":"Remote Content","userpages":true,"i18n":{"default":"/devwidgets/remotecontent/bundles/default.properties","en_US":"/devwidgets/remotecontent/bundles/en_US.properties"},"userdashboard":true,"sakaidocs":true},"mylibrary":{"enabled":true,"groupdashboard":false,"type":"sakai","url":"/devwidgets/mylibrary/mylibrary.html","grouppages":true,"id":"mylibrary","showinsakaigoodies":true,"description":"View and manage a user's library items","hasSettings":false,"name":"My Library","userpages":false,"i18n":{"default":"/devwidgets/mylibrary/bundles/default.properties"},"personalportal":false,"userdashboard":false},"participants":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/participants/participants.html","grouppages":true,"id":"participants","showinsakaigoodies":true,"description":"List Participants of a Group","hasSettings":false,"name":"Participants","userpages":false,"i18n":{"default":"/devwidgets/participants/bundles/default.properties"},"personalportal":false,"userdashboard":false},"worldsettings":{"enabled":true,"ca":false,"groupdashboard":false,"type":"core","url":"/devwidgets/worldsettings/worldsettings.html","grouppages":false,"id":"worldsettings","showinsakaigoodies":false,"description":"Edit World Settings","hasSettings":false,"name":"World Settings","userpages":false,"i18n":{"default":"/devwidgets/worldsettings/bundles/default.properties"},"userdashboard":false,"personalportal":false,"sakaidocs":false},"help":{"id":"help","enabled":true,"hasSettings":false,"description":"Help","name":"Help","i18n":{"default":"/devwidgets/help/bundles/default.properties"},"type":"sakai","url":"/devwidgets/help/help.html"},"listpeople":{"id":"listpeople","enabled":true,"hasSettings":false,"description":"General people lister widget","name":"People Lister","i18n":{"default":"/devwidgets/listpeople/bundles/default.properties"},"type":"core","subNameInfoContent":"mimeTypeDescripton","url":"/devwidgets/listpeople/listpeople.html"},"searchsakai2":{"id":"searchsakai2","showinsakaigoodies":false,"enabled":false,"hasSettings":false,"description":"Search Sakai 2","name":"Search Sakai 2","i18n":{"default":"/devwidgets/searchsakai2/bundles/default.properties"},"personalportal":false,"sakaidocs":false,"type":"core","url":"/devwidgets/searchsakai2/searchsakai2.html"},"recentmemberships":{"id":"recentmemberships","enabled":true,"hasSettings":false,"description":"My recent memberships","name":"My recent memberships","deletable":true,"i18n":{"default":"/devwidgets/recentmemberships/bundles/default.properties"},"personalportal":true,"type":"sakai","url":"/devwidgets/recentmemberships/recentmemberships.html"},"userpermissions":{"enabled":true,"groupdashboard":false,"type":"core","url":"/devwidgets/userpermissions/userpermissions.html","grouppages":false,"id":"userpermissions","showinsakaigoodies":false,"description":"User Permissions","hasSettings":false,"name":"User Permissions","userpages":false,"i18n":{"default":"/devwidgets/userpermissions/bundles/default.properties"},"personalportal":false,"userdashboard":false},"video":{"enabled":true,"groupdashboard":true,"showinmedia":true,"img":"/devwidgets/video/images/video.png","type":"sakai","url":"/devwidgets/video/video.html","grouppages":true,"id":"video","indexFields":["source","title","url"],"description":"Video","hasSettings":true,"name":"Video","i18n":{"default":"/devwidgets/video/bundles/default.properties"},"userpages":true,"userdashboard":true},"contentpreview":{"id":"contentpreview","enabled":true,"hasSettings":false,"description":"Content Preview","name":"Content Preview","i18n":{"default":"/devwidgets/contentpreview/bundles/default.properties"},"type":"core","url":"/devwidgets/contentpreview/contentpreview.html"},"mycontent":{"id":"mycontent","enabled":true,"hasSettings":false,"description":"My content","name":"My content","deletable":true,"i18n":{"default":"/devwidgets/mycontent/bundles/default.properties"},"personalportal":true,"type":"sakai","url":"/devwidgets/mycontent/mycontent.html"},"allcategories":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/allcategories/allcategories.html","grouppages":false,"id":"allcategories","showinsakaigoodies":false,"description":"All Categories Widget","hasSettings":true,"name":"All Categories Widget","userpages":false,"i18n":{"default":"/devwidgets/allcategories/bundles/default.properties"},"personalportal":false,"userdashboard":false},"activegroups":{"enabled":true,"groupdashboard":false,"type":"sakai","url":"/devwidgets/activegroups/activegroups.html","grouppages":false,"id":"activegroups","description":"Most active groups","hasSettings":false,"name":"Most active groups","userpages":false,"i18n":{"default":"/devwidgets/activegroups/bundles/default.properties"},"personalportal":true,"userdashboard":false},"profilesection":{"id":"profilesection","enabled":true,"description":"Show a profile section","name":"Profile Section","i18n":{"default":"/devwidgets/profilesection/bundles/default.properties"},"type":"core","url":"/devwidgets/profilesection/profilesection.html"},"popularcontent":{"enabled":true,"groupdashboard":false,"type":"sakai","url":"/devwidgets/popularcontent/popularcontent.html","grouppages":false,"id":"popularcontent","description":"Most active content","hasSettings":false,"name":"Most active content","userpages":false,"i18n":{"default":"/devwidgets/popularcontent/bundles/default.properties"},"personalportal":true,"userdashboard":false},"relatedcontent":{"id":"relatedcontent","enabled":true,"hasSettings":false,"description":"Related Content","name":"Related Content","i18n":{"default":"/devwidgets/relatedcontent/bundles/default.properties"},"type":"core","url":"/devwidgets/relatedcontent/relatedcontent.html"},"dashboard":{"id":"dashboard","enabled":true,"showinsakaigoodies":false,"ca":true,"hasSettings":true,"description":"Dashboard","name":"Dashboard","img":"/devwidgets/comments/images/comments.png","siteportal":false,"i18n":{"default":"/devwidgets/dashboard/bundles/default.properties"},"type":"core","url":"/devwidgets/dashboard/dashboard.html"},"userprofile":{"id":"userprofile","enabled":true,"showinsakaigoodies":false,"ca":false,"hasSettings":false,"description":"User Profile","name":"User Profile","siteportal":false,"type":"core","url":"/devwidgets/userprofile/userprofile.html"},"pickeradvanced":{"id":"pickeradvanced","enabled":true,"hasSettings":false,"description":"Advanced Search Picker Widget","name":"Advanced Search Picker","i18n":{"default":"/devwidgets/pickeradvanced/bundles/default.properties"},"type":"core","url":"/devwidgets/pickeradvanced/pickeradvanced.html"},"sakai2favourites":{"id":"sakai2favourites","enabled":true,"i18n":{"default":"/devwidgets/sakai2favourites/bundles/default.properties"},"type":"core","url":"/devwidgets/sakai2favourites/sakai2favourites.html"},"faceted":{"id":"faceted","enabled":true,"name":"Faceted","i18n":{"default":"/devwidgets/faceted/bundles/default.properties"},"type":"core","url":"/devwidgets/faceted/faceted.html"},"sharecontent":{"id":"sharecontent","enabled":true,"hasSettings":false,"description":"Share content widget","name":"Share Content","i18n":{"default":"/devwidgets/sharecontent/bundles/default.properties"},"type":"core","url":"/devwidgets/sharecontent/sharecontent.html"},"inbox":{"id":"inbox","enabled":true,"hashParams":["message","newmessage","reply","iq"],"description":"Inbox","name":"inbox","i18n":{"default":"/devwidgets/inbox/bundles/default.properties"},"personalportal":false,"type":"sakai","url":"/devwidgets/inbox/inbox.html"},"listgeneral":{"id":"listgeneral","enabled":true,"hasSettings":false,"description":"General space, site and content lister widget","name":"General Lister","i18n":{"default":"/devwidgets/listgeneral/bundles/default.properties"},"type":"core","url":"/devwidgets/listgeneral/listgeneral.html"},"filerevisions":{"id":"filerevisions","enabled":true,"description":"View file revisions","i18n":{"default":"/devwidgets/filerevisions/bundles/default.properties","en_GB":"/devwidgets/filerevisions/bundles/en_GB.properties","nl_NL":"/devwidgets/filerevisions/bundles/nl_NL.properties"},"type":"core","url":"/devwidgets/filerevisions/filerevisions.html"},"mysakai2":{"id":"mysakai2","enabled":true,"hasSettings":false,"description":"My Sakai 2 favourites","name":"My Sakai 2 favourites","i18n":{"default":"/devwidgets/mysakai2/bundles/default.properties"},"personalportal":true,"type":"sakai","url":"/devwidgets/mysakai2/mysakai2.html"},"fileupload":{"id":"fileupload","enabled":true,"description":"Add Files","name":"fileupload","i18n":{"default":"/devwidgets/fileupload/bundles/default.properties","en_US":"/devwidgets/fileupload/bundles/en_US.properties","nl_NL":"/devwidgets/fileupload/bundles/nl_NL.properties"},"type":"core","url":"/devwidgets/fileupload/fileupload.html"},"carousel":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/carousel/carousel.html","grouppages":false,"id":"carousel","showinsakaigoodies":false,"description":"Carousel widget","hasSettings":true,"name":"Carousel","userpages":false,"i18n":{"default":"/devwidgets/carousel/bundles/default.properties"},"personalportal":false,"userdashboard":false},"googlemaps":{"enabled":true,"groupdashboard":true,"img":"/devwidgets/googlemaps/images/googlemaps.png","type":"sakai","url":"/devwidgets/googlemaps/googlemaps.html","grouppages":true,"id":"googlemaps","indexFields":["mapinput","maphtml"],"defaultLng":0.1312368,"showinsakaigoodies":true,"hasSettings":true,"description":"Google maps","name":"Google maps","userpages":true,"i18n":{"default":"/devwidgets/googlemaps/bundles/default.properties","en_US":"/devwidgets/googlemaps/bundles/en_US.properties","zh_CN":"/devwidgets/googlemaps/bundles/zh_CN.properties"},"userdashboard":true,"sakaidocs":true,"defaultZoom":8,"defaultLat":52.2025441},"helloworld":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/helloworld/helloworld.html","grouppages":false,"id":"helloworld","showinsakaigoodies":false,"description":"Sakai OAE Widget SDK Demonstration Widget","hasSettings":true,"name":"Hello World","userpages":false,"i18n":{"default":"/devwidgets/helloworld/bundles/default.properties"},"personalportal":false,"userdashboard":false},"tags":{"enabled":true,"groupdashboard":false,"type":"sakai","url":"/devwidgets/tags/tags.html","grouppages":false,"id":"tags","description":"Most popular tags","hasSettings":false,"name":"Most popular tags","userpages":false,"i18n":{"default":"/devwidgets/tags/bundles/default.properties"},"personalportal":true,"userdashboard":false},"newsharecontent":{"id":"newsharecontent","enabled":true,"hasSettings":false,"description":"Share content widget","name":"Share Content","i18n":{"default":"/devwidgets/newsharecontent/bundles/default.properties"},"defaultConfiguration":{"newsharecontent":{"addThisAccountId":"xa-4db72a071927628b"}},"type":"core","url":"/devwidgets/newsharecontent/newsharecontent.html"},"newcreategroup":{"id":"newcreategroup","enabled":true,"description":"Create Group","name":"Create Group","i18n":{"default":"/devwidgets/newcreategroup/bundles/default.properties","en_US":"/devwidgets/newcreategroup/bundles/en_US.properties"},"type":"core","url":"/devwidgets/newcreategroup/newcreategroup.html"},"sendmessage":{"id":"sendmessage","enabled":true,"description":"Send a message","name":"Send a message","i18n":{"default":"/devwidgets/sendmessage/bundles/default.properties","zh_CN":"/devwidgets/sendmessage/bundles/zh_CN.properties"},"type":"core","url":"/devwidgets/sendmessage/sendmessage.html"},"systemtour":{"enabled":true,"groupdashboard":false,"siteportal":false,"type":"sakai","url":"/devwidgets/systemtour/systemtour.html","grouppages":false,"id":"systemtour","showinsakaigoodies":false,"description":"Tracks System Tour Progress","hasSettings":false,"name":"System Tour","userpages":false,"i18n":{"default":"/devwidgets/systemtour/bundles/default.properties"},"userdashboard":false},"listpeopleinnode":{"id":"listpeopleinnode","enabled":true,"hasSettings":true,"description":"Browsing people in this node of the directory","name":"listpeopleinnode","i18n":{"default":"/devwidgets/listpeopleinnode/bundles/default.properties"},"type":"core","url":"/devwidgets/listpeopleinnode/listpeopleinnode.html"},"newaddcontent":{"id":"newaddcontent","enabled":true,"showinsakaigoodies":true,"ca":true,"description":"Add Resource to a Site","name":"Add Resource","i18n":{"default":"/devwidgets/newaddcontent/bundles/default.properties"},"type":"core","url":"/devwidgets/newaddcontent/newaddcontent.html"},"footer":{"id":"footer","enabled":true,"description":"Dynamic Footer with Debug Info","name":"Dynamic Footer","i18n":{"default":"/devwidgets/footer/bundles/default.properties","en_US":"/devwidgets/footer/bundles/en_US.properties","zh_CN":"/devwidgets/footer/bundles/zh_CN.properties"},"type":"core","url":"/devwidgets/footer/footer.html"},"embedcontent":{"enabled":true,"img":"/devwidgets/embedcontent/images/content.png","type":"core","url":"/devwidgets/embedcontent/embedcontent.html","grouppages":true,"id":"embedcontent","indexFields":["title","description"],"description":"Embed Content on a Page","hasSettings":true,"name":"Files and documents","userpages":true,"i18n":{"default":"/devwidgets/embedcontent/bundles/default.properties"},"sakaidocs":true,"settingsWidth":785},"assignlocation":{"id":"assignlocation","enabled":true,"hasSettings":false,"description":"Assign a directory location to an entity","name":"Assign Location","i18n":{"default":"/devwidgets/assignlocation/bundles/default.properties"},"type":"core","url":"/devwidgets/assignlocation/assignlocation.html"},"addarea":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/addarea/addarea.html","grouppages":false,"id":"addarea","showinsakaigoodies":false,"description":"Add Area Widget","hasSettings":true,"name":"Add Area Widget","userpages":false,"i18n":{"default":"/devwidgets/addarea/bundles/default.properties"},"personalportal":false,"userdashboard":false},"searchcontent":{"enabled":false,"groupdashboard":false,"type":"core","url":"/devwidgets/searchcontent/searchcontent.html","grouppages":false,"id":"searchcontent","showinsakaigoodies":false,"description":"Search Content","hasSettings":false,"name":"Search Content","userpages":false,"i18n":{"default":"/devwidgets/searchcontent/bundles/default.properties"},"personalportal":false,"userdashboard":false},"captcha":{"id":"captcha","enabled":true,"description":"Display a captcha widget","name":"Captcha Widget","i18n":{"default":"/devwidgets/captcha/bundles/default.properties"},"type":"core","url":"/devwidgets/captcha/captcha.html"},"comments":{"enabled":true,"groupdashboard":true,"img":"/devwidgets/comments/images/comments.png","siteportal":true,"type":"sakai","url":"/devwidgets/comments/comments.html","grouppages":true,"id":"comments","showinsakaigoodies":true,"description":"Comments","hasSettings":true,"name":"Comments","userpages":true,"i18n":{"default":"/devwidgets/comments/bundles/default.properties"},"userdashboard":true,"sakaidocs":true},"deletecontent":{"id":"deletecontent","enabled":true,"description":"Delete content widget","name":"Delete Content","i18n":{"default":"/devwidgets/deletecontent/bundles/default.properties"},"type":"core","url":"/devwidgets/deletecontent/deletecontent.html"},"featuredpeople":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/featuredpeople/featuredpeople.html","grouppages":false,"id":"featuredpeople","showinsakaigoodies":false,"description":"Featured People Widget","hasSettings":true,"name":"Featured People Widget","userpages":false,"i18n":{"default":"/devwidgets/featuredpeople/bundles/default.properties"},"personalportal":false,"userdashboard":false},"featuredcontent":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/featuredcontent/featuredcontent.html","grouppages":false,"id":"featuredcontent","showinsakaigoodies":false,"description":"Featured Content Widget","hasSettings":true,"name":"Featured Content Widget","userpages":false,"i18n":{"default":"/devwidgets/featuredcontent/bundles/default.properties"},"personalportal":false,"userdashboard":false},"contentpermissions":{"id":"contentpermissions","enabled":true,"hasSettings":false,"description":"Content permissions widget","name":"Content Permissions","i18n":{"default":"/devwidgets/contentpermissions/bundles/default.properties"},"type":"core","url":"/devwidgets/contentpermissions/contentpermissions.html"},"joinrequestbuttons":{"id":"joinrequestbuttons","enabled":true,"hasSettings":false,"description":"Display join/leave/pending buttons to match the context","name":"Join Request Buttons","i18n":{"default":"/devwidgets/joinrequestbuttons/bundles/default.properties"},"personalportal":false,"type":"core","url":"/devwidgets/joinrequestbuttons/joinrequestbuttons.html"},"_template":{"id":"WIDGET_ID","showinsakaigoodies":false,"enabled":false,"hasSettings":false,"description":"WIDGET DESCRIPTION","name":"WIDGET NAME","img":"/devwidgets/WIDGET_ID/images/WIDGET_ID.png","i18n":{"default":"/devwidgets/WIDGET_ID/bundles/default.properties"},"personalportal":false,"sakaidocs":false,"type":"contrib","url":"/devwidgets/WIDGET_ID/WIDGET_ID.html"},"jisccontent":{"enabled":true,"groupdashboard":false,"img":"/devwidgets/jisccontent/images/jisccontent.png","type":"contrib","url":"/devwidgets/jisccontent/jisccontent.html","grouppages":false,"id":"jisccontent","showinsakaigoodies":true,"description":"JISC Content","hasSettings":false,"name":"JISC Content","userpages":false,"i18n":{"default":"/devwidgets/jisccontent/bundles/default.properties"},"userdashboard":false,"personalportal":true,"sakaidocs":true,"settingsWidth":256},"entity":{"id":"entity","enabled":true,"i18n":{"default":"/devwidgets/entity/bundles/default.properties"},"type":"core","url":"/devwidgets/entity/entity.html"},"areapermissions":{"enabled":true,"groupdashboard":false,"type":"core","url":"/devwidgets/areapermissions/areapermissions.html","grouppages":false,"id":"areapermissions","showinsakaigoodies":false,"description":"Area Permissions","hasSettings":false,"name":"Area Permissions","userpages":false,"i18n":{"default":"/devwidgets/areapermissions/bundles/default.properties"},"personalportal":false,"userdashboard":false},"contentmetadata":{"id":"contentmetadata","enabled":true,"i18n":{"default":"/devwidgets/contentmetadata/bundles/default.properties"},"type":"core","url":"/devwidgets/contentmetadata/contentmetadata.html"},"contacts":{"id":"contacts","enabled":true,"description":"Contacts","name":"contacts","i18n":{"default":"/devwidgets/contacts/bundles/default.properties"},"personalportal":false,"type":"sakai","url":"/devwidgets/contacts/contacts.html"},"institutionalskinning":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/institutionalskinning/institutionalskinning.html","grouppages":false,"id":"institutionalskinning","showinsakaigoodies":false,"description":"Institutional Skinning Widget","hasSettings":true,"name":"Institutional Skinning","userpages":false,"i18n":{"default":"/devwidgets/institutionalskinning/bundles/default.properties"},"personalportal":false,"userdashboard":false},"poll":{"enabled":true,"groupdashboard":false,"img":"/devwidgets/poll/images/poll.png","type":"sakai","url":"/devwidgets/poll/poll.html","grouppages":false,"id":"poll","showinsakaigoodies":true,"description":"Poll widget","name":"Poll","i18n":{"default":"/devwidgets/poll/bundles/default.properties"},"userpages":false,"userdashboard":false},"joingroup":{"id":"joingroup","enabled":true,"description":"Join Group Overlay","name":"Join Group Overlay","i18n":{"default":"/devwidgets/joingroup/bundles/default.properties"},"personalportal":false,"type":"sakai","url":"/devwidgets/joingroup/joingroup.html"},"mycontacts":{"id":"mycontacts","enabled":true,"description":"My contacts","name":"My contacts","i18n":{"default":"/devwidgets/mycontacts/bundles/default.properties","en_US":"/devwidgets/mycontacts/bundles/en_US.properties","zh_CN":"/devwidgets/mycontacts/bundles/zh_CN.properties"},"personalportal":true,"type":"sakai","multipleinstance":false,"url":"/devwidgets/mycontacts/mycontacts.html"},"rss":{"enabled":true,"groupdashboard":true,"img":"/devwidgets/rss/images/rss.png","defaultConfiguration":{"rss":{"displayHeadlines":false,"displaySource":false,"feeds":[],"numEntries":25,"title":"The Sakai Project","urlFeeds":["http://sakaiproject.org/rss.xml"]}},"type":"sakai","url":"/devwidgets/rss/rss.html","grouppages":true,"id":"rss","indexFields":["title"],"showinsakaigoodies":true,"description":"RSS Feed Reader","hasSettings":true,"name":"RSS Feed Reader","i18n":{"default":"/devwidgets/rss/bundles/default.properties","en_US":"/devwidgets/rss/bundles/en_US.properties","nl_NL":"/devwidgets/rss/bundles/nl_NL.properties"},"userpages":true,"userdashboard":true,"sakaidocs":true},"addpeople":{"id":"addpeople","enabled":true,"description":"Add people","name":"Add people","i18n":{"default":"/devwidgets/addpeople/bundles/default.properties"},"type":"core","url":"/devwidgets/addpeople/addpeople.html"},"contentcomments":{"enabled":true,"groupdashboard":false,"img":"/devwidgets/contentcomments/images/comments.png","siteportal":false,"type":"core","url":"/devwidgets/contentcomments/contentcomments.html","grouppages":false,"id":"contentcomments","showinsakaigoodies":false,"description":"Content Comments","hasSettings":true,"name":"Content Comments","userpages":false,"i18n":{"default":"/devwidgets/contentcomments/bundles/default.properties"},"userdashboard":false},"login":{"id":"login","enabled":true,"hasSettings":true,"description":"Login","name":"Login","type":"core","url":"/devwidgets/login/login.html"},"welcome":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/welcome/welcome.html","grouppages":false,"id":"welcome","showinsakaigoodies":false,"description":"Welcome Widget","hasSettings":true,"name":"Welcome Widget","userpages":false,"i18n":{"default":"/devwidgets/welcome/bundles/default.properties"},"personalportal":false,"userdashboard":false},"sakaidocs":{"enabled":false,"groupdashboard":false,"type":"contrib","url":"/devwidgets/sakaidocs/sakaidocs.html","grouppages":false,"id":"sakaidocs","showinsakaigoodies":false,"description":"Sakai Docs","hasSettings":false,"name":"Sakai Docs","userpages":false,"i18n":{"default":"/devwidgets/sakaidocs/bundles/default.properties"},"personalportal":false,"userdashboard":false},"mymemberships":{"id":"mymemberships","enabled":true,"description":"My Memberships","name":"My Memberships","i18n":{"default":"/devwidgets/mymemberships/bundles/default.properties"},"personalportal":false,"type":"sakai","url":"/devwidgets/mymemberships/mymemberships.html"},"sakai2tools":{"enabled":true,"groupdashboard":true,"ca":true,"img":"/devwidgets/sakai2tools/images/sakai2tools.png","type":"sakai","url":"/devwidgets/sakai2tools/sakai2tools.html","grouppages":true,"id":"sakai2tools","showinsakaigoodies":true,"hasSettings":false,"description":"Sakai 2 Tools","name":"Sakai 2 Tools","i18n":{"default":"/devwidgets/sakai2tools/bundles/default.properties"},"userpages":true,"userdashboard":true,"sakaidocs":true},"searchall":{"enabled":false,"groupdashboard":false,"type":"core","url":"/devwidgets/searchall/searchall.html","grouppages":false,"id":"searchallold","showinsakaigoodies":false,"description":"Search All","hasSettings":false,"name":"Search All","userpages":false,"i18n":{"default":"/devwidgets/searchall/bundles/default.properties"},"personalportal":false,"userdashboard":false},"text":{"enabled":true,"groupdashboard":true,"type":"sakai","url":"/devwidgets/text/text.html","grouppages":false,"id":"text","indexFields":["data/text"],"description":"Text","hasSettings":true,"name":"","userpages":false,"i18n":{"default":"/devwidgets/text/bundles/default.properties"},"userdashboard":true},"joinrequests":{"id":"joinrequests","enabled":true,"hasSettings":false,"description":"Manage join requests for a specific group.","name":"Join Requests","i18n":{"default":"/devwidgets/joinrequests/bundles/default.properties"},"personalportal":false,"type":"core","url":"/devwidgets/joinrequests/joinrequests.html"},"accountpreferences":{"id":"accountpreferences","enabled":true,"description":"Account Preferences","name":"Account Preferences","i18n":{"default":"/devwidgets/accountpreferences/bundles/default.properties"},"type":"core","url":"/devwidgets/accountpreferences/accountpreferences.html"},"contentpicker":{"id":"contentpicker","enabled":true,"description":"Pick Content","name":"Content Picker","i18n":{"default":"/devwidgets/contentpicker/bundles/default.properties"},"type":"core","url":"/devwidgets/contentpicker/contentpicker.html"},"recentmessages":{"id":"recentmessages","enabled":true,"description":"My recent messages","name":"My recent messages","i18n":{"default":"/devwidgets/recentmessages/bundles/default.properties","en_US":"/devwidgets/recentmessages/bundles/en_US.properties"},"personalportal":true,"type":"sakai","url":"/devwidgets/recentmessages/recentmessages.html"},"navigation":{"id":"navigation","enabled":true,"showinsakaigoodies":true,"showinsidebar":true,"hasSettings":true,"description":"Navigate all the pages contained within this group or site","name":"Pages","img":"/devwidgets/navigation/images/icon.png","i18n":{"default":"/devwidgets/navigation/bundles/default.properties"},"type":"core","url":"/devwidgets/navigation/navigation.html"},"recentcontactsnew":{"id":"recentcontactsnew","enabled":true,"hasSettings":false,"description":"My recent contacts","name":"My recent contacts","deletable":true,"i18n":{"default":"/devwidgets/recentcontactsnew/bundles/default.properties"},"personalportal":true,"type":"sakai","url":"/devwidgets/recentcontactsnew/recentcontactsnew.html"},"basiclti":{"enabled":true,"groupdashboard":true,"ca":true,"img":"/devwidgets/basiclti/images/basiclti.png","type":"sakai","url":"/devwidgets/basiclti/basiclti.html","grouppages":true,"id":"basiclti","showinsakaigoodies":true,"hasSettings":false,"description":"Basic LTI Widget","name":"Basic LTI","i18n":{"default":"/devwidgets/basiclti/bundles/default.properties"},"userpages":true,"userdashboard":true,"sakaidocs":true},"lhnavigation":{"enabled":true,"hashParams":["newPageMode","l"],"groupdashboard":false,"type":"core","url":"/devwidgets/lhnavigation/lhnavigation.html","grouppages":false,"id":"lhnavigation","showinsakaigoodies":false,"description":"Left Hand Navigation Widget","hasSettings":true,"name":"Left Hand Navigation","userpages":false,"i18n":{"default":"/devwidgets/lhnavigation/bundles/default.properties"},"personalportal":false,"userdashboard":false},"addtocontacts":{"id":"addtocontacts","enabled":true,"description":"Add a contact","name":"Add a contact","i18n":{"default":"/devwidgets/addtocontacts/bundles/default.properties","zh_CN":"/devwidgets/addtocontacts/bundles/zh_CN.properties"},"type":"core","url":"/devwidgets/addtocontacts/addtocontacts.html"},"searchpeople":{"enabled":false,"groupdashboard":false,"type":"core","url":"/devwidgets/searchpeople/searchpeople.html","grouppages":false,"id":"searchpeople","showinsakaigoodies":false,"description":"Search People","hasSettings":false,"name":"Search People","userpages":false,"i18n":{"default":"/devwidgets/searchpeople/bundles/default.properties"},"personalportal":false,"userdashboard":false},"pickeruser":{"id":"pickeruser","enabled":true,"hasSettings":false,"description":"General people picker widget","name":"People Picker","i18n":{"default":"/devwidgets/pickeruser/bundles/default.properties"},"type":"core","url":"/devwidgets/pickeruser/pickeruser.html"},"personinfo":{"id":"personinfo","enabled":true,"hasSettings":false,"description":"Overlay that displays person info","name":"Personinfo","i18n":{"default":"/devwidgets/personinfo/bundles/default.properties"},"type":"sakai","url":"/devwidgets/personinfo/personinfo.html"},"siterecentactivity":{"id":"siterecentactivity","enabled":true,"showinsidebar":true,"hasSettings":false,"description":"Site Recent Activity","name":"Recent Activity","img":"/devwidgets/siterecentactivity/images/icon.png","type":"core","url":"/devwidgets/siterecentactivity/siterecentactivity.html","grouppages":true},"ggadget":{"enabled":true,"groupdashboard":true,"img":"/devwidgets/ggadget/images/ggadget.png","defaultConfiguration":{"ggadget":{"border_color":"cccccc","border_size":0,"height":350,"url":"http://www.gmodules.com/ig/ifr?url=http://static.die.net/moon/gadget.xml&up_size=medium&up_info=1&up_date=0&synd=open&w=320&h=170&title=Moon+Phase&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=html","width":600,"width_unit":"px"}},"type":"sakai","url":"/devwidgets/ggadget/ggadget.html","grouppages":true,"id":"ggadget","showinsakaigoodies":true,"description":"Embed Google Gadgets in your page or dashboard","hasSettings":true,"name":"Google Gadget","userpages":true,"i18n":{"default":"/devwidgets/ggadget/bundles/default.properties"},"userdashboard":true,"sakaidocs":true},"createpage":{"id":"createpage","enabled":true,"description":"Create Page Widget","name":"Create Page","i18n":{"default":"/devwidgets/createpage/bundles/default.properties"},"type":"core","url":"/devwidgets/createpage/createpage.html"},"mygroups":{"id":"mygroups","enabled":true,"description":"My memberships","name":"My memberships","deletable":true,"i18n":{"default":"/devwidgets/mygroups/bundles/default.properties","en_US":"/devwidgets/mygroups/bundles/en_US.properties","zh_CN":"/devwidgets/mygroups/bundles/zh_CN.properties"},"personalportal":true,"type":"sakai","url":"/devwidgets/mygroups/mygroups.html"},"uploadnewversion":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/uploadnewversion/uploadnewversion.html","grouppages":false,"id":"uploadnewversion","showinsakaigoodies":false,"description":"Upload New Version Widget","hasSettings":true,"name":"Upload New Version Widget","userpages":false,"i18n":{"default":"/devwidgets/uploadnewversion/bundles/default.properties"},"personalportal":false,"userdashboard":false},"changepic":{"id":"changepic","enabled":true,"name":"changepic","i18n":{"default":"/devwidgets/changepic/bundles/default.properties","en_US":"/devwidgets/changepic/bundles/en_US.properties","zh_CN":"/devwidgets/changepic/bundles/zh_CN.properties"},"type":"core","url":"/devwidgets/changepic/changepic.html"},"recentactivity":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/recentactivity/recentactivity.html","grouppages":false,"id":"recentactivity","showinsakaigoodies":false,"description":"Recent Activity Widget","hasSettings":true,"name":"Recent Activity Widget","userpages":false,"i18n":{"default":"/devwidgets/recentactivity/bundles/default.properties"},"personalportal":false,"userdashboard":false},"selecttemplate":{"id":"selecttemplate","enabled":true,"description":"Select Template","name":"Select Template","i18n":{"default":"/devwidgets/selecttemplate/bundles/default.properties","en_US":"/devwidgets/selecttemplate/bundles/en_US.properties"},"type":"core","url":"/devwidgets/selecttemplate/selecttemplate.html"},"featuredworlds":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/featuredworlds/featuredworlds.html","grouppages":false,"id":"featuredworlds","showinsakaigoodies":false,"description":"Featured Worlds Widget","hasSettings":true,"name":"Featured Worlds Widget","userpages":false,"i18n":{"default":"/devwidgets/featuredworlds/bundles/default.properties"},"personalportal":false,"userdashboard":false},"listpeoplewrappergroup":{"id":"listpeoplewrappergroup","enabled":true,"showinsakaigoodies":true,"groupdashboard":true,"hasSettings":true,"description":"Group lister","name":"Member/content list","img":"/devwidgets/listpeoplewrappergroup/images/icon.png","type":"core","url":"/devwidgets/listpeoplewrappergroup/listpeoplewrappergroup.html","grouppages":true},"uploadcontent":{"id":"uploadcontent","enabled":true,"description":"Upload content to Sakai3","name":"Upload Content","i18n":{"default":"/devwidgets/uploadcontent/bundles/default.properties"},"type":"core","url":"/devwidgets/uploadcontent/uploadcontent.html"},"searchgroups":{"enabled":false,"groupdashboard":false,"type":"core","url":"/devwidgets/searchgroups/searchgroups.html","grouppages":false,"id":"searchgroups","showinsakaigoodies":false,"description":"Search Groups","hasSettings":false,"name":"Search Groups","userpages":false,"i18n":{"default":"/devwidgets/searchgroups/bundles/default.properties"},"personalportal":false,"userdashboard":false},"displayprofilesection":{"enabled":true,"groupdashboard":false,"img":"/devwidgets/displayprofilesection/images/displayprofilesection.png","type":"sakai","url":"/devwidgets/displayprofilesection/displayprofilesection.html","grouppages":false,"id":"displayprofilesection","showinsakaigoodies":true,"hasSettings":true,"description":"Profile Section","name":"Profile Section","userpages":true,"i18n":{"default":"/devwidgets/displayprofilesection/bundles/default.properties"},"userdashboard":true},"documentviewer":{"id":"documentviewer","enabled":true,"hasSettings":false,"description":"Document Viewer","name":"Document Viewer","i18n":{"default":"/devwidgets/documentviewer/bundles/default.properties"},"type":"core","url":"/devwidgets/documentviewer/documentviewer.html"},"recentchangedcontent":{"id":"recentchangedcontent","enabled":true,"hasSettings":false,"description":"My recent content","name":"My recent content","deletable":true,"i18n":{"default":"/devwidgets/recentchangedcontent/bundles/default.properties"},"personalportal":true,"type":"sakai","url":"/devwidgets/recentchangedcontent/recentchangedcontent.html"},"versions":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/versions/versions.html","grouppages":false,"id":"versions","showinsakaigoodies":false,"description":"Version Widget","hasSettings":true,"name":"Version Widget","userpages":false,"i18n":{"default":"/devwidgets/versions/bundles/default.properties"},"personalportal":false,"userdashboard":false},"creategroup":{"id":"creategroup","enabled":true,"description":"Create Group","name":"Create Group","i18n":{"default":"/devwidgets/creategroup/bundles/default.properties","en_US":"/devwidgets/creategroup/bundles/en_US.properties"},"type":"core","url":"/devwidgets/creategroup/creategroup.html"},"categories":{"enabled":false,"groupdashboard":false,"type":"sakai","url":"/devwidgets/categories/categories.html","grouppages":false,"id":"categories","showinsakaigoodies":false,"description":"Categories Widget","hasSettings":true,"name":"Categories Widget","userpages":false,"i18n":{"default":"/devwidgets/categories/bundles/default.properties"},"personalportal":false,"userdashboard":false},"topnavigation":{"id":"topnavigation","enabled":true,"description":"topnavigation","name":"topnavigation","i18n":{"default":"/devwidgets/topnavigation/bundles/default.properties","en_US":"/devwidgets/topnavigation/bundles/en_US.properties","nl_NL":"/devwidgets/topnavigation/bundles/nl_NL.properties","zh_CN":"/devwidgets/topnavigation/bundles/zh_CN.properties"},"type":"core","url":"/devwidgets/topnavigation/topnavigation.html"},"tooltip":{"id":"tooltip","enabled":true,"hasSettings":false,"description":"Displays tooltip help dialog boxes","name":"Tooltip","i18n":{"default":"/devwidgets/tooltip/bundles/default.properties"},"type":"sakai","url":"/devwidgets/tooltip/tooltip.html"}});
\ No newline at end of file
diff --git a/extensions/app/templates/cornell.html.footer.vm b/extensions/app/templates/cornell.html.footer.vm
new file mode 100644
index 00000000..16bd8fe2
--- /dev/null
+++ b/extensions/app/templates/cornell.html.footer.vm
@@ -0,0 +1,15 @@
+