Permalink
Browse files

Removed the demos (more are available in the examples repository) and…

… logos and presentations (which are available in ModeShape's Asset repository on GitHub).
  • Loading branch information...
1 parent d0b3e9f commit ed2d57cd9d72c911bea60a9761e07ac448a74f2d @rhauch rhauch committed Oct 4, 2012
Showing with 0 additions and 935 deletions.
  1. +0 −58 demos/embedded-repo/pom.xml
  2. +0 −1 demos/embedded-repo/src/main/config/run.cmd
  3. +0 −3 demos/embedded-repo/src/main/config/run.sh
  4. +0 −74 demos/embedded-repo/src/main/java/org/modeshape/demo/embedded/repo/EmbeddedRepositoryDemo.java
  5. +0 −11 demos/embedded-repo/src/main/resources/log4j.properties
  6. +0 −14 demos/embedded-repo/src/main/resources/my-repository-config.json
  7. +0 −37 demos/embedded-repo/src/test/java/org/modeshape/demo/embedded/repo/EmbeddedRepositoryDemoTest.java
  8. +0 −21 demos/pom.xml
  9. +0 −101 demos/sequencers/pom.xml
  10. +0 −1 demos/sequencers/src/main/config/run.cmd
  11. +0 −3 demos/sequencers/src/main/config/run.sh
  12. +0 −142 demos/sequencers/src/main/java/org/modeshape/demo/sequencer/SequencerDemo.java
  13. BIN demos/sequencers/src/main/resources/JcrRepository.clazz
  14. BIN demos/sequencers/src/main/resources/caution.gif
  15. BIN demos/sequencers/src/main/resources/caution.jpg
  16. BIN demos/sequencers/src/main/resources/caution.pict
  17. BIN demos/sequencers/src/main/resources/caution.png
  18. +0 −2 demos/sequencers/src/main/resources/fixedWidthFile.txt
  19. +0 −17 demos/sequencers/src/main/resources/logback.xml
  20. +0 −40 demos/sequencers/src/main/resources/my-repository.json
  21. BIN demos/sequencers/src/main/resources/sample1.mp3
  22. +0 −24 demos/sequencers/src/main/resources/security/jaas.conf.xml
  23. +0 −2 demos/sequencers/src/main/resources/security/roles.properties
  24. +0 −2 demos/sequencers/src/main/resources/security/users.properties
  25. +0 −342 demos/sequencers/src/main/resources/sequencing.cnd
  26. +0 −2 demos/sequencers/src/main/resources/test.csv
  27. BIN demos/sequencers/src/main/resources/test.jar
  28. +0 −37 demos/sequencers/src/test/java/org/modeshape/demo/sequencer/SequencerDemoTest.java
  29. BIN docs/logo/modeshape_icon_16px.ico
  30. BIN docs/logo/modeshape_icon_16px.png
  31. BIN docs/logo/modeshape_icon_32px.png
  32. BIN docs/logo/modeshape_icon_64px.png
  33. BIN docs/logo/modeshape_logo_100px.png
  34. BIN docs/logo/modeshape_logo_200px.png
  35. BIN docs/logo/modeshape_logo_450px.png
  36. BIN docs/logo/modeshape_logo_600px.png
  37. BIN docs/presentations/2010-09-21 Overview of ModeShape.pdf
  38. BIN docs/presentations/JBUGM_JBoss_DNA_02_05_2009.pdf
  39. BIN docs/presentations/JBoss DNA 2008-10.keynote.zip
  40. BIN docs/presentations/JBoss DNA 2008-10.pdf
  41. +0 −1 pom.xml
@@ -1,58 +0,0 @@
-<?xml version="1.0"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-parent</artifactId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../../modeshape-parent</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.modeshape.demo</groupId>
- <artifactId>modeshape-embedded-repo-demo</artifactId>
- <packaging>jar</packaging>
- <name>ModeShape Demo of Embedding Repository</name>
- <description>A simple demo application that creates an embedded ModeShape engine.</description>
-
- <dependencies>
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- </dependency>
- <dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-jcr</artifactId>
- </dependency>
- <!-- PicketBox (JAAS implementation, configured optionally) -->
- <dependency>
- <groupId>org.picketbox</groupId>
- <artifactId>picketbox-bare</artifactId>
- <scope>compile</scope>
- </dependency>
- <!-- Testing (note the scope) -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- </dependencies>
-
- <profiles>
- <profile>
- <id>assembly</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>example-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
-</project>
@@ -1 +0,0 @@
-java -Djava.ext.dirs=./lib -cp modeshape-embedded-repo-demo-${project.version}.jar org.modeshape.demo.embedded.repo.EmbeddedRepositoryDemo
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -Djava.ext.dirs=`pwd`/lib -cp modeshape-embedded-repo-demo-${project.version}.jar org.modeshape.demo.embedded.repo.EmbeddedRepositoryDemo
@@ -1,74 +0,0 @@
-package org.modeshape.demo.embedded.repo;
-
-import java.net.URL;
-import javax.jcr.Node;
-import javax.jcr.Repository;
-import javax.jcr.RepositoryException;
-import javax.jcr.Session;
-import org.modeshape.common.collection.Problems;
-import org.modeshape.jcr.ModeShapeEngine;
-import org.modeshape.jcr.RepositoryConfiguration;
-
-public class EmbeddedRepositoryDemo {
-
- public static void main( String[] argv ) {
-
- // Create and start the engine ...
- ModeShapeEngine engine = new ModeShapeEngine();
- engine.start();
-
- // Load the configuration for a repository via the classloader (can also use path to a file)...
- Repository repository = null;
- String repositoryName = null;
- try {
- URL url = EmbeddedRepositoryDemo.class.getClassLoader().getResource("my-repository-config.json");
- RepositoryConfiguration config = RepositoryConfiguration.read(url);
-
- // We could change the name of the repository programmatically ...
- // config = config.withName("Some Other Repository");
-
- // Verify the configuration for the repository ...
- Problems problems = config.validate();
- if (problems.hasErrors()) {
- System.err.println("Problems starting the engine.");
- System.err.println(problems);
- System.exit(-1);
- }
-
- // Deploy the repository ...
- repository = engine.deploy(config);
- repositoryName = config.getName();
- } catch (Throwable e) {
- e.printStackTrace();
- System.exit(-1);
- return;
- }
-
- Session session = null;
- try {
- // Get the repository
- repository = engine.getRepository(repositoryName);
-
- // Create a session ...
- session = repository.login("default");
-
- // Get the root node ...
- Node root = session.getRootNode();
- assert root != null;
-
- System.out.println("Found the root node in the \"" + session.getWorkspace().getName() + "\" workspace");
- } catch (RepositoryException e) {
- e.printStackTrace();
- } finally {
- if (session != null) session.logout();
- System.out.println("Shutting down engine ...");
- try {
- engine.shutdown().get();
- System.out.println("Success!");
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- }
-}
@@ -1,11 +0,0 @@
-# Direct log messages to stdout
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.Target=System.out
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d{ABSOLUTE} %5p %m%n
-
-# Root logger option
-log4j.rootLogger=INFO, stdout
-
-# Set up the default logging to be INFO level, then override specific units
-log4j.logger.org.modeshape=INFO
@@ -1,14 +0,0 @@
-{
- "name" : "My Repository",
- "workspaces" : {
- "predefined" : ["otherWorkspace"],
- "default" : "default",
- "allowCreation" : true
- },
- "security" : {
- "anonymous" : {
- "roles" : ["readonly","readwrite","admin"],
- "useOnFailedLogin" : false
- }
- }
-}
@@ -1,37 +0,0 @@
-/*
- * ModeShape (http://www.modeshape.org)
- * See the COPYRIGHT.txt file distributed with this work for information
- * regarding copyright ownership. Some portions may be licensed
- * to Red Hat, Inc. under one or more contributor license agreements.
- * See the AUTHORS.txt file in the distribution for a full listing of
- * individual contributors.
- *
- * ModeShape is free software. Unless otherwise indicated, all code in ModeShape
- * is licensed to you under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * ModeShape is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-
-package org.modeshape.demo.embedded.repo;
-
-import org.junit.Test;
-import org.modeshape.demo.embedded.repo.EmbeddedRepositoryDemo;
-
-public class EmbeddedRepositoryDemoTest {
-
- @Test
- public void shouldRunApplication() throws Exception {
- String[] argv = new String[]{};
- EmbeddedRepositoryDemo.main(argv);
- }
-}
View
@@ -1,21 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-parent</artifactId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../modeshape-parent</relativePath>
- </parent>
-
- <groupId>org.modeshape.demo</groupId>
- <artifactId>demos</artifactId>
- <packaging>pom</packaging>
-
- <name>ModeShape Demos</name>
- <description>Builds the ModeShape demos</description>
-
- <modules>
- <module>sequencers</module>
- <module>embedded-repo</module>
- </modules>
-</project>
View
@@ -1,101 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-
- <parent>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-parent</artifactId>
- <version>3.0-SNAPSHOT</version>
- <relativePath>../../modeshape-parent/pom.xml</relativePath>
- </parent>
-
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.modeshape.demo</groupId>
- <artifactId>modeshape-sequencers-demo</artifactId>
- <packaging>jar</packaging>
- <name>ModeShape Demo of Sequencing Files</name>
- <description>Examples that showcase how to use sequencers with a JCR repository.</description>
-
- <dependencies>
- <dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-common</artifactId>
- </dependency>
- <dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-jcr</artifactId>
- </dependency>
- <dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-sequencer-java</artifactId>
- </dependency>
- <dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-sequencer-images</artifactId>
- </dependency>
- <dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-sequencer-mp3</artifactId>
- </dependency>
- <dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-sequencer-text</artifactId>
- </dependency>
- <!--dependency>
- <groupId>org.modeshape</groupId>
- <artifactId>modeshape-sequencer-zip</artifactId>
- </dependency-->
- <!--
- Logging (require SLF4J API for compiling, but use Logback binding for running)
- -->
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency>
- <groupId>ch.qos.logback</groupId>
- <artifactId>logback-classic</artifactId>
- <scope>runtime</scope>
- </dependency>
- <!--
- Java Content Repository API
- -->
- <dependency>
- <groupId>javax.jcr</groupId>
- <artifactId>jcr</artifactId>
- </dependency>
- <!--
- PicketBox (JAAS implementation used in test cases)
- -->
- <dependency>
- <groupId>org.picketbox</groupId>
- <artifactId>picketbox-bare</artifactId>
- <scope>compile</scope>
- </dependency>
- <!--
- Test cases use JUnit
- -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- </dependencies>
-
- <profiles>
- <profile>
- <id>assembly</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <configuration>
- <descriptorRefs>
- <descriptorRef>example-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-</project>
@@ -1 +0,0 @@
-java -Dlogback.configurationFile=logback.xml -Djava.ext.dirs=./lib -cp modeshape-demo-sequencers-${project.version}.jar org.modeshape.demo.sequencer.SequencerDemo %*
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-java -Dlogback.configurationFile=logback.xml -Djava.ext.dirs=`pwd`/lib -cp .:modeshape-demo-sequencers-${project.version}.jar org.modeshape.demo.sequencer.SequencerDemo $1
Oops, something went wrong.

0 comments on commit ed2d57c

Please sign in to comment.