Author: shane.bryzak(a)jboss.com
Date: 2009-04-19 20:57:49 -0400 (Sun, 19 Apr 2009)
New Revision: 10522
Added:
examples/trunk/booking/src/main/
examples/trunk/booking/src/main/java/
Removed:
examples/trunk/booking/alter.config/
examples/trunk/booking/build.alter.xml
examples/trunk/booking/build.xml
examples/trunk/booking/pom.xml
examples/trunk/booking/readme.txt
examples/trunk/booking/resources/
examples/trunk/booking/src/org/
examples/trunk/booking/view/
Log:
removed old content, create new dir structure
Deleted: examples/trunk/booking/build.alter.xml
===================================================================
--- examples/trunk/booking/build.alter.xml 2009-04-20 00:36:55 UTC (rev 10521)
+++ examples/trunk/booking/build.alter.xml 2009-04-20 00:57:49 UTC (rev 10522)
@@ -1,85 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="Booking" default="jbossdemo"
basedir=".">
-
- <!-- Naming -->
- <property name="Name" value="Seam on JBoss
Booking Example"/>
- <property name="example.name"
value="jboss-seam-booking"/>
-
- <!-- WAR -->
- <zipfileset id="example.war.docroot"
- dir="view">
- <include name="**/*"/>
- </zipfileset>
-
- <zipfileset id="example.war.webinf"
- prefix="WEB-INF"
- dir="build/resources/WEB-INF" >
- <patternset refid="meta.files"/>
- </zipfileset>
-
- <zipfileset id="example.war.webinf.lib"
- prefix="WEB-INF/lib"
- dir="../../facelets/lib">
- <include name="*.jar"/>
- </zipfileset>
-
- <!-- EJB3 -->
- <fileset id="example.ejb3.root"
- dir="build/resources">
- <include name="import.sql"/>
- <include name="seam.properties"/>
- <include name="META-INF/persistence.xml"/>
- <include name="META-INF/ejb-jar.xml"/>
- </fileset>
-
- <fileset id="example.ejb3.lib" dir="../../lib">
- <include name="_NONE_"/>
- </fileset>
-
- <!-- EAR -->
- <zipfileset id="example.ear.resources"
- prefix="META-INF"
- dir="build/resources/META-INF">
- <include name="*"/>
- <exclude name="persistence.xml"/>
- <exclude name="jboss-beans.xml"/>
- <exclude name="ejb-jar.xml"/>
- </zipfileset>
-
- <!-- Deploy -->
- <fileset id="example.deploy"
- dir="build/resources">
- <include name="booking-ds.xml"/>
- </fileset>
-
- <!-- Undeploy -->
- <patternset id="example.undeploy">
- <include name="booking-ds.xml"/>
- </patternset>
-
- <!-- Overrides -->
- <property name="src.java.dir" value="src"/>
- <property name="src.test.dir" value="src"/>
- <property name="test.classpath"
value="test.eejb.classpath"/>
- <property name="tomcat.conf" value="eejb.conf"/>
- <property name="tomcat.lib" value="eejb.lib"/>
-
- <import file="../../build.xml"/>
-
- <!-- prepare the directories -->
- <target name="preparedemo">
- <mkdir dir="build/resources"/>
- <copy todir="build/resources">
- <fileset dir="resources"/>
- </copy>
- <copy todir="build/resources" overwrite="true">
- <fileset dir="alter.config" />
- </copy>
- </target>
-
- <!-- Redefine targets -->
- <target name="jbossdemo" depends="preparedemo,ear">
- </target>
-
-</project>
Deleted: examples/trunk/booking/build.xml
===================================================================
--- examples/trunk/booking/build.xml 2009-04-20 00:36:55 UTC (rev 10521)
+++ examples/trunk/booking/build.xml 2009-04-20 00:57:49 UTC (rev 10522)
@@ -1,19 +0,0 @@
-<?xml version="1.0"?>
-
-<project name="Booking" default="deploy"
basedir=".">
-
- <!-- Naming -->
- <property name="Name" value="Seam on JBoss
Booking Example"/>
- <property name="example.name"
value="jboss-seam-booking"/>
-
- <!-- Libraries to include -->
- <property name="seam.ui.lib" value="yes"/>
- <property name="seam.debug.lib" value="yes"/>
- <property name="facelets.lib" value="yes"/>
- <property name="richfaces.lib" value="yes"/>
-
- <!-- Datasource -->
- <property name="example.ds"
value="jboss-seam-booking-ds.xml"/>
-
- <import file="../build.xml"/>
-</project>
Deleted: examples/trunk/booking/pom.xml
===================================================================
--- examples/trunk/booking/pom.xml 2009-04-20 00:36:55 UTC (rev 10521)
+++ examples/trunk/booking/pom.xml 2009-04-20 00:57:49 UTC (rev 10522)
@@ -1,15 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project
xmlns="http://maven.apache.org/POM/4.0.0"
-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <groupId>org.jboss.seam.examples</groupId>
- <artifactId>jboss-seam-booking</artifactId>
- <parent>
- <groupId>org.jboss.seam</groupId>
- <artifactId>parent</artifactId>
- <version>@seam.version(a)</version>
- </parent>
- <packaging>ear</packaging>
-
-</project>
\ No newline at end of file
Deleted: examples/trunk/booking/readme.txt
===================================================================
--- examples/trunk/booking/readme.txt 2009-04-20 00:36:55 UTC (rev 10521)
+++ examples/trunk/booking/readme.txt 2009-04-20 00:57:49 UTC (rev 10522)
@@ -1,27 +0,0 @@
-Seam Booking Example
-====================
-
-This example demonstrates the use of Seam in a Java EE 5 environment.
-Transaction and persistence context management is handled by the
-EJB container.
-
-This example runs on JBoss AS as an EAR or Tomcat with JBoss Embedded as a WAR.
-
- example.name=booking
-
-To deploy this application to a cluster, first follow the steps 1-9 clustering-howto.txt
in the root folder of the Seam distribution. Then execute the following command:
-
- ant farm
-
-This command will deploy the archive to the farm directory of the "all" JBoss
AS domain. To undeploy, run the following command:
-
- ant unfarm
-
-HTTP session replication is enabled by default. You can disable it with the following
commandline switch:
-
- -Dsession.replication=false
-
-You can also toggle Seam's ManagedEntityInterceptor for any deployment with the
following commandline switch:
-
- -Ddistributable=false
-