Permalink
Browse files

Added all demos and extras to build.

  • Loading branch information...
1 parent ac867bf commit a4db09f87bc61d057ed9b2f529bdb1c60c174cd9 @jsampson committed Mar 14, 2009
View
@@ -5,3 +5,4 @@ target/
*.ipr
*.iml
/tests/Test*/
+/extras/facade/Prevalence/
View
@@ -0,0 +1,30 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler</artifactId>
+ <version>${prevayler.version}</version>
+ <relativePath>../..</relativePath>
+ </parent>
+
+ <groupId>org.prevayler.demos</groupId>
+ <artifactId>prevayler-demo1</artifactId>
+ <name>Prevayler Demo 1</name>
+ <description>A simple demo of computation with persistent state.</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-factory</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
Binary file not shown.
View
@@ -0,0 +1,43 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler</artifactId>
+ <version>${prevayler.version}</version>
+ <relativePath>../..</relativePath>
+ </parent>
+
+ <groupId>org.prevayler.demos</groupId>
+ <artifactId>prevayler-demo2</artifactId>
+ <name>Prevayler Demo 2</name>
+ <description>A demo of bank accounts with a graphical interface.</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-factory</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler.extras</groupId>
+ <artifactId>prevayler-xstream</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler.extras</groupId>
+ <artifactId>prevayler-skaringa</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>net.sourceforge.javamatch</groupId>
+ <artifactId>javamatch</artifactId>
+ <version>0.2</version>
+ </dependency>
+ </dependencies>
+
+</project>
View
@@ -0,0 +1,35 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler</artifactId>
+ <version>${prevayler.version}</version>
+ <relativePath>../..</relativePath>
+ </parent>
+
+ <groupId>org.prevayler.demos</groupId>
+ <artifactId>prevayler-jxpath</artifactId>
+ <name>Prevayler JXPath Demo</name>
+ <description>A demo of using JXPath with Prevayler.</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-factory</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>commons-jxpath</groupId>
+ <artifactId>commons-jxpath</artifactId>
+ <version>1.3</version>
+ </dependency>
+ </dependencies>
+
+</project>
View
@@ -0,0 +1,38 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler</artifactId>
+ <version>${prevayler.version}</version>
+ <relativePath>../..</relativePath>
+ </parent>
+
+ <groupId>org.prevayler.demos</groupId>
+ <artifactId>prevayler-scalability</artifactId>
+ <name>Prevayler Scalability Demo</name>
+ <description>A test of query and transaction throughput.</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-factory</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler.extras</groupId>
+ <artifactId>prevayler-skaringa</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler.extras</groupId>
+ <artifactId>prevayler-xstream</artifactId>
+ </dependency>
+ </dependencies>
+
+</project>
View
@@ -0,0 +1,35 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler</artifactId>
+ <version>${prevayler.version}</version>
+ <relativePath>../..</relativePath>
+ </parent>
+
+ <groupId>org.prevayler.demos</groupId>
+ <artifactId>prevayler-tutorial</artifactId>
+ <name>Prevayler Tutorial</name>
+ <description>A basic tutorial of Prevayler usage.</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-factory</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ </dependency>
+ </dependencies>
+
+</project>
View
@@ -1,136 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="Prevayler Transactions Facade" default="compile">
-
- <description>Prevayler Transactions Facade</description>
-
- <property file="ant.properties"/>
- <property file="${user.home}/.ant.properties"/>
- <property environment="env"/>
-
- <property name="prevayler.jar" value="SET ME" />
-
- <property name="build.dir" value="work"/>
- <property name="build.classes.dir" value="${build.dir}/classes"/>
- <property name="build.test.classes.dir" value="${build.dir}/testclasses"/>
- <property name="test.classes.dir" value="${build.dir}/testclasses"/>
- <property name="src.dir" value="src"/>
- <property name="tests.src.dir" value="tests"/>
-
- <property name="junit.jar" value="/usr/local/share/java/junit.jar"/>
-
- <property name="junit.timeout" value="1000" />
- <property name="junit.printsummary" value="off" />
- <property name="junit.formatter"
- value="org.apache.tools.ant.taskdefs.optional.junit.BriefJUnitResultFormatter" />
-
- <property name="tests" value="*Test"/>
-
- <path id="compile.class.path">
- <pathelement location="${prevayler.jar}"/>
- </path>
-
- <path id="compile.test.class.path">
- <pathelement location="${build.classes.dir}"/>
- <path refid="compile.class.path"/>
- <pathelement location="${junit.jar}"/>
- </path>
-
- <target name="init">
- <mkdir dir="${build.dir}"/>
- </target>
-
- <target name="compile" depends="init"
- description="Compiles all the core files.">
- <dependset>
- <srcfileset dir="${src.dir}" includes="**/*.java"/>
- <srcfileset dir="${src.dir}" includes="**/CVS/Entries*"
- defaultexcludes="no"/>
- <targetfileset dir="${build.classes.dir}" includes="**/*.class"/>
- </dependset>
- <mkdir dir="${build.classes.dir}"/>
- <javac destdir="${build.classes.dir}"
- debug="true"
- deprecation="true"
- failonerror="true">
- <classpath refid="compile.class.path"/>
- <src path="${src.dir}"/>
- </javac>
- </target>
-
- <target name="compile-tests" depends="compile"
- description="Compiles all the Java test files">
- <dependset>
- <srcfileset dir="${tests.src.dir}" includes="**/*.java"/>
- <srcfileset dir="${build.classes.dir}" includes="**/*.class"/>
- <targetfileset dir="${build.test.classes.dir}" includes="**/*.class"/>
- </dependset>
- <mkdir dir="${build.test.classes.dir}"/>
- <javac destdir="${build.test.classes.dir}"
- debug="true"
- deprecation="true">
- <classpath refid="compile.test.class.path"/>
- <src path="${tests.src.dir}"/>
- </javac>
- </target>
-
- <target name="test" depends="compile-tests" >
- <junit printsummary="${junit.printsummary}"
- timeout="${junit.timeout}"
- failureproperty="failuresOccured">
- <formatter classname="${junit.formatter}" usefile="no"/>
- <sysproperty key="ptf.build.dir" value="${build.dir}"/>
- <classpath>
- <path refid="compile.test.class.path"/>
- <pathelement location="${build.test.classes.dir}"/>
- </classpath>
- <batchtest>
- <fileset dir="${tests.src.dir}">
- <include name="**/${tests}.java" />
- </fileset>
- </batchtest>
- </junit>
- <fail message="tests failed" if="failuresOccured" />
- </target>
-
- <property name="archive-base" value=""/>
- <property name="jarfile" value="prevaylertf.jar" />
- <property name="tarball" value="prevaylertf-0_1.tgz" />
-
- <target name="jar" depends="compile" description="Make the jar file">
- <jar destfile="${jarfile}" basedir="${build.classes.dir}"/>
- </target>
-
- <target name="tarball" depends="jar">
- <tar tarfile="${tarball}" compression="gzip" >
- <tarfileset dir="." prefix="${archive-base}" >
- <exclude name="${tarball}" />
- <exclude name="ant.properties" />
- <exclude name="work" />
- <exclude name="work/**" />
- </tarfileset>
- </tar>
- </target>
-
- <target name="clean" description="clean">
- <delete dir="${build.dir}"/>
- <delete file="${tarball}"/>
- <delete file="${jarfile}"/>
- </target>
-
- <target name="push"
- depends="tarball"
- description="Push the current workspace live">
- <exec executable="rsync">
- <arg value="--rsh=ssh" />
- <arg value="--verbose" />
- <arg value="--relative" />
- <arg value="--cvs-exclude" />
- <arg value="--delete" />
- <arg value="--compress" />
- <arg value="${tarball}" />
- <arg value="index.html" />
- <arg value="www.contravariant.org:/home/jay/public_html/prevayler" />
- </exec>
- </target>
-</project>
View
@@ -0,0 +1,47 @@
+<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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler</artifactId>
+ <version>${prevayler.version}</version>
+ <relativePath>../..</relativePath>
+ </parent>
+
+ <groupId>org.prevayler.extras</groupId>
+ <artifactId>prevayler-facade</artifactId>
+ <name>Prevayler Transactions Facade</name>
+ <description>A framework for automatically-created transactions.</description>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler</groupId>
+ <artifactId>prevayler-factory</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler.extras</groupId>
+ <artifactId>prevayler-xstream</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.prevayler.extras</groupId>
+ <artifactId>prevayler-skaringa</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
Oops, something went wrong.

0 comments on commit a4db09f

Please sign in to comment.