[jboss-cvs] jboss-seam/examples/hibernate2 ...

Michael Yuan michael.yuan at jboss.com
Mon Jul 9 00:32:42 EDT 2007


  User: myuan   
  Date: 07/07/09 00:32:42

  Modified:    examples/hibernate2         build.xml readme.txt
  Added:       examples/hibernate2         build-glassfish.xml
                        build-jboss.xml build-jboss405.xml build-tomcat.xml
                        build-weblogic92.xml build-websphere61.xml
  Log:
  support the new build system
  
  Revision  Changes    Path
  1.19      +38 -395   jboss-seam/examples/hibernate2/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/build.xml,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -r1.18 -r1.19
  --- build.xml	26 Jun 2007 23:03:19 -0000	1.18
  +++ build.xml	9 Jul 2007 04:32:42 -0000	1.19
  @@ -1,398 +1,41 @@
  -<?xml version="1.0" encoding="UTF-8"?>
  +<?xml version="1.0"?>
   
  -<project name="Hibernate Booking"
  -         default="main" basedir=".">
  +<project name="Hibernate Booking" default="jboss" basedir=".">
       
  -  <description>Hibernate Booking</description>
  -  <property name="projname" value="jboss-seam-hibernate" />
  -
  -  <property file="../../build.properties"/>
  -
  -  <property name="lib" location="../../lib" />
  -  <property name="applib" location="lib" />
  -  <property name="seamlib" location="../../" />
  -  <property name="hibernatelib" location="../../hibernate/lib" />
  -  <path id="lib.classpath">
  -    <fileset dir="${lib}" includes="*.jar"/>
  -    <fileset dir="${applib}" includes="*.jar"/>
  -    <fileset dir="${seamlib}" includes="*.jar"/>
  -  </path>
  -  
  -  <property name="resources" location="resources" />
  -  
  -  <property name="src" location="src" />
  -  <property name="view" location="view" />
  -  
  -  <property name="build.classes" location="build/classes" />
  -  <property name="build.jars" location="build/" />
  -
  -  <target name="clean">
  -    <delete dir="build"/>
  -  </target>
  -
  -  <target name="main" depends="deploy"/>
  -
  -  <target name="compile">
  -    <mkdir dir="${build.classes}"/>
  -    <javac destdir="${build.classes}"
  -           classpathref="lib.classpath"
  -           debug="true">
  -      <src path="${src}"/>
  -    </javac>
  -  </target>
  -  
  -  <!-- Hibernate and Seam POJO on JBoss AS 4.2.0-->
  -  <target name="jboss" depends="compile">
  -    
  -    <mkdir dir="${build.jars}"/>
  -    
  -    <jar destfile="${build.jars}/${projname}.jar">
  -      <fileset dir="${build.classes}">
  -        <include name="**/*.class"/>
  -      </fileset>
  -      <fileset dir="${resources}">
  -        <include name="seam.properties" />
  -        <include name="import.sql" />
  -        <include name="hibernate.cfg.xml" />
  -      </fileset>
  -    </jar>
  -
  -    <war destfile="${build.jars}/${projname}.war"
  -         webxml="${resources}/web.xml">
  -      <webinf dir="${resources}">
  -        <include name="faces-config.xml" />
  -        <include name="pages.xml" />
  -        <include name="jboss-web.xml" />
  -        <include name="components.xml" />
  -      </webinf>
  -      <lib dir="${seamlib}">
  -        <include name="jboss-seam.jar" />
  -        <include name="jboss-seam-ui.jar" />
  -        <include name="jboss-seam-debug.jar" />
  -      </lib>
  -      <lib dir="${lib}">
  -        <include name="ajax4jsf*.jar" />
  -        <include name="oscache-2.3.2.jar" />
  -        <include name="jboss-el.jar" />
  -        <include name="jsf-facelets.jar" />
  -        <include name="commons*.jar" />
  -      </lib>
  -      <lib dir="${build.jars}">
  -        <include name="${projname}.jar" />
  -      </lib>
  -      <fileset dir="${view}"/>
  -    </war>
  +   <target name="jboss" description="Build the Hibernate artifacts, suitable for deployment to JBoss 4.2.0.GA">
  +     	<ant antfile="build-jboss.xml"/>
     </target>
     
  -  <!--
  -    Works for JBoss 4.0.5 by default
  -    
  -    See notes for which JARs to add for JBoss AS 4.0.2 to 4.0.4
  -    
  -    JBoss AS 4.0.0: need to remove cglib.jar and hibernate2.jar from server/default/lib
  -      the isolated classloader in jboss-web.xml does not seem to work. If we force it
  -      in jbossweb*/META-INF/jboss-service.xml, the commons logging lib in thirdparty-all.jar
  -      will throw errors
  -  -->
  -  <target name="jboss405" depends="compile">
  -    
  -    <mkdir dir="${build.jars}"/>
  -    
  -    <jar destfile="${build.jars}/${projname}.jar">
  -      <fileset dir="${build.classes}">
  -        <include name="**/*.class"/>
  -      </fileset>
  -      <fileset dir="${resources}">
  -        <include name="seam.properties" />
  -        <include name="import.sql" />
  -        <include name="hibernate.cfg.xml" />
  -      </fileset>
  -    </jar>
  -
  -    <war destfile="${build.jars}/${projname}.war"
  -         webxml="${resources}/web.xml">
  -      <webinf dir="${resources}">
  -        <include name="faces-config.xml" />
  -        <include name="pages.xml" />
  -        <include name="jboss-web.xml" />
  -        <include name="components.xml" />
  -      </webinf>
  -      <lib dir="${seamlib}">
  -        <include name="jboss-seam.jar" />
  -        <include name="jboss-seam-ui.jar" />
  -        <include name="jboss-seam-debug.jar" />
  -      </lib>
  -      <lib dir="${applib}">
  -        <!-- do not need the following for 4.0.4 and 4.0.5
  -        <include name="cglib.jar" />
  -        -->
  -        <include name="el-api.jar" />
  -        <include name="el-ri.jar" />
  -      </lib>
  -      <!--
  -      <lib dir="${hibernatelib}">
  -        <include name="*.jar" />
  -      </lib>
  -      -->
  -      <lib dir="${lib}">
  -        <include name="ajax4jsf*.jar" />
  -        <include name="oscache-2.3.2.jar" />
  -        <include name="jboss-el.jar" />
  -        <include name="jsf-facelets.jar" />
  -        <include name="commons*.jar" />
  -        <include name="hibernate-all.jar" />
  -        <include name="jsf-api.jar" />
  -        <include name="jsf-impl.jar" />
  -      </lib>
  -      <lib dir="${build.jars}">
  -        <include name="${projname}.jar" />
  -      </lib>
  -      <fileset dir="${view}"/>
  -    </war>
  +   <target name="jboss405" description="Build the Hibernate artifacts, suitable for deployment to JBoss 4.0.5.GA">
  +     	<ant antfile="build-jboss405.xml"/>
     </target>
     
  -  <target name="tomcat" depends="compile">
  -    
  -    <mkdir dir="${build.jars}"/>
  -    
  -    <jar destfile="${build.jars}/${projname}.jar">
  -      <fileset dir="${build.classes}">
  -        <include name="**/*.class"/>
  -      </fileset>
  -      <fileset dir="${resources}">
  -        <include name="seam.properties" />
  -        <include name="import.sql" />
  -      </fileset>
  -      <fileset dir="${resources}/tomcat">
  -        <include name="hibernate.cfg.xml" />
  -      </fileset>
  -    </jar>
  -
  -    <war destfile="${build.jars}/${projname}.war"
  -         webxml="${resources}/web.xml">
  -      <webinf dir="${resources}">
  -        <include name="faces-config.xml" />
  -        <include name="pages.xml" />
  -        <include name="jboss-web.xml" />
  -      </webinf>
  -      <webinf dir="${resources}/tomcat">
  -        <include name="components.xml" />
  -      </webinf>
  -      <lib dir="${seamlib}">
  -        <include name="jboss-seam.jar" />
  -        <include name="jboss-seam-ui.jar" />
  -        <include name="jboss-seam-debug.jar" />
  -      </lib>
  -      <lib dir="${applib}">
  -        <include name="cglib.jar" />
  -        <include name="el-api.jar" />
  -        <include name="el-ri.jar" />
  -      </lib>
  -      <lib dir="${hibernatelib}">
  -        <include name="*.jar" />
  -      </lib>
  -      <lib dir="${lib}">
  -        <include name="ajax4jsf*.jar" />
  -        <include name="oscache*.jar" />
  -        <include name="jboss-el.jar" />
  -        <include name="jboss-el-api.jar" />
  -        <include name="jsf-facelets.jar" />
  -        <include name="jsf-api.jar" />
  -        <include name="jsf-impl.jar" />
  -        <include name="thirdparty-all.jar" />
  -        <include name="commons*.jar" />
  -      </lib>
  -      <lib dir="${applib}/mc">
  -        <include name="*.*" /> 
  -      </lib>
  -      <lib dir="${build.jars}">
  -        <include name="${projname}.jar" />
  -      </lib>
  -      <classes dir="${resources}/tomcat">
  -        <include name="log4j.xml" />
  -      </classes>
  -      <fileset dir="${view}"/>
  -    </war>
  +   <target name="glassfish" description="Build the Hibernate artifacts, suitable for deployment to Glassfish V2">
  +     	<ant antfile="build-glassfish.xml"/>
     </target>
   
  -  
  -  <target name="weblogic" depends="compile">
  -    
  -    <mkdir dir="${build.jars}"/>
  -    
  -    <jar destfile="${build.jars}/${projname}.jar">
  -      <fileset dir="${build.classes}">
  -        <include name="**/*.class"/>
  -      </fileset>
  -      <fileset dir="${resources}">
  -        <include name="seam.properties" />
  -        <include name="import.sql" />
  -      </fileset>
  -      <fileset dir="${resources}/weblogic">
  -        <include name="hibernate.cfg.xml" />
  -      </fileset>
  -    </jar>
  -    
  -    <war destfile="${build.jars}/${projname}.war"
  -         webxml="${resources}/web.xml">
  -      <webinf dir="${resources}">
  -        <include name="faces-config.xml" />
  -        <include name="pages.xml" />
  -      </webinf>
  -      <webinf dir="${resources}/weblogic">
  -        <include name="components.xml" />
  -      </webinf>
  -      <lib dir="${seamlib}">
  -        <include name="jboss-seam.jar" />
  -        <include name="jboss-seam-ui.jar" />
  -        <include name="jboss-seam-debug.jar" />
  -      </lib>
  -      <!-- WebLogic requires this since when the Sun listener starts up,
  -           it looks for Sun implementations for JSP files. -->
  -      <lib dir="${applib}">
  -        <include name="el-api.jar" />
  -        <include name="el-ri.jar" />
  -      </lib>
  -      <lib dir="${lib}">
  -        <include name="ajax4jsf*.jar" />
  -        <include name="oscache*.jar" />
  -        <include name="jboss-el.jar" />
  -        <include name="jboss-el-api.jar" />
  -        <include name="jsf-facelets.jar" />
  -        <include name="jsf-api.jar" />
  -        <include name="jsf-impl.jar" />
  -        <include name="thirdparty-all.jar" />
  -        <include name="commons*.jar" />
  -      </lib>
  -      <lib dir="${hibernatelib}">
  -        <include name="*.jar" />
  -      </lib>
  -      <lib dir="${build.jars}">
  -        <include name="${projname}.jar" />
  -      </lib>
  -      <classes dir="${resources}/weblogic">
  -        <include name="log4j.xml" />
  -      </classes>
  -      <fileset dir="${view}"/>
  -    </war>
  +   <target name="weblogic92" description="Build the Hibernate artifacts, suitable for deployment to WebLogic 9.2">
  +     	<ant antfile="build-weblogic92.xml"/>
     </target>
     
  -  <target name="websphere" depends="compile">
  -    
  -    <mkdir dir="${build.jars}"/>
  -    
  -    <jar destfile="${build.jars}/${projname}.jar">
  -      <fileset dir="${build.classes}">
  -        <include name="**/*.class"/>
  -      </fileset>
  -      <fileset dir="${resources}">
  -        <include name="seam.properties" />
  -        <include name="import.sql" />
  -      </fileset>
  -      <fileset dir="${resources}/websphere">
  -        <include name="hibernate.cfg.xml" />
  -      </fileset>
  -    </jar>
  -    
  -    <war destfile="${build.jars}/${projname}.war"
  -         webxml="${resources}/websphere/web.xml">
  -      <webinf dir="${resources}">
  -        <include name="faces-config.xml" />
  -        <include name="pages.xml" />
  -      </webinf>
  -      <webinf dir="${resources}/websphere">
  -        <include name="components.xml" />
  -      </webinf>
  -      <lib dir="${seamlib}">
  -        <include name="jboss-seam.jar" />
  -        <include name="jboss-seam-ui.jar" />
  -        <include name="jboss-seam-debug.jar" />
  -      </lib>
  -      <lib dir="${lib}">
  -        <include name="el-api.jar" />
  -        <include name="el-ri.jar" />
  -        <include name="ajax4jsf*.jar" />
  -        <include name="oscache*.jar" />
  -        <include name="jsf-facelets.jar" />
  -        <include name="jsf-api.jar" />
  -        <include name="jsf-impl.jar" />
  -        <include name="thirdparty-all.jar" />
  -        <include name="commons*.jar" />
  -      </lib>
  -      <lib dir="${hibernatelib}">
  -        <include name="*.jar" />
  -      </lib>
  -      <lib dir="${build.jars}">
  -        <include name="${projname}.jar" />
  -      </lib>
  -      <classes dir="${resources}/websphere">
  -        <include name="log4j.xml" />
  -      </classes>
  -      <fileset dir="${view}"/>
  -    </war>
  +   <target name="websphere61" description="Build the Hibernate artifacts, suitable for deployment to WebSphere 6.1.0.9">
  +     	<ant antfile="build-websphere61.xml"/>
     </target>
     
  -  <target name="glassfish" depends="compile">
  -    
  -    <mkdir dir="${build.jars}"/>
  -    
  -    <jar destfile="${build.jars}/${projname}.jar">
  -      <fileset dir="${build.classes}">
  -        <include name="**/*.class"/>
  -      </fileset>
  -      <fileset dir="${resources}">
  -        <include name="seam.properties" />
  -      </fileset>
  -      <fileset dir="${resources}/glassfish">
  -        <include name="hibernate.cfg.xml" />
  -        <include name="import.sql" />
  -      </fileset>
  -    </jar>
  -    
  -    <war destfile="${build.jars}/${projname}.war"
  -         webxml="${resources}/glassfish/web.xml">
  -      <webinf dir="${resources}">
  -        <include name="faces-config.xml" />
  -        <include name="pages.xml" />
  -      </webinf>
  -      <webinf dir="${resources}/glassfish">   
  -        <include name="components.xml" />
  -      </webinf>
  -      <lib dir="${seamlib}">
  -        <include name="jboss-seam.jar" />
  -        <include name="jboss-seam-ui.jar" />
  -        <include name="jboss-seam-debug.jar" />
  -      </lib>
  -      <lib dir="${lib}">
  -        <include name="jboss-el.jar" />
  -        <include name="ajax4jsf*.jar" />
  -        <include name="oscache*.jar" />
  -        <include name="jsf-facelets.jar" />
  -        <include name="thirdparty-all.jar" />
  -        <include name="commons*.jar" />
  -      </lib>
  -      <lib dir="${hibernatelib}">
  -        <include name="*.jar" />
  -      </lib>
  -      <lib dir="${build.jars}">
  -        <include name="${projname}.jar" />
  -      </lib>
  -      <classes dir="${resources}/glassfish">
  -        <include name="log4j.xml" />
  -        <include name="GlassfishDerbyDialect.class" />
  -      </classes>
  -      <fileset dir="${view}"/>
  -    </war>
  +   <target name="tomcat" description="Build the Hibernate artifacts, suitable for deployment to Tomcat 5.5">
  +     	<ant antfile="build-tomcat.xml"/>
     </target>
     
  -  <target name="deploy" depends="jboss">
  -    <copy file="${build.jars}/${projname}.war"
  -      todir="${jboss.home}/server/default/deploy"/>
  +   <target name="clean" description="Clean up the example">
  +     	<ant antfile="build-jboss.xml" target="clean" />
  +   	 	<ant antfile="build-jboss405.xml" target="clean" />
  +    	<ant antfile="build-glassfish.xml" target="clean" />
  +    	<ant antfile="build-weblogic92.xml" target="clean" />
  +    	<ant antfile="build-websphere61.xml" target="clean" />
  +    	<ant antfile="build-tomcat.xml" target="clean" />
     </target>
     
  -  <target name="undeploy">
  -    <delete
  -        file="${jboss.home}/server/default/deploy/${projname}.war"/>
  -  </target>
  +   <target name="all" depends="jboss, jboss405, glassfish, weblogic92, websphere61, tomcat"/>
   
   </project>
  +
  
  
  
  1.6       +9 -9      jboss-seam/examples/hibernate2/readme.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: readme.txt
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/hibernate2/readme.txt,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- readme.txt	26 Jun 2007 23:03:19 -0000	1.5
  +++ readme.txt	9 Jul 2007 04:32:42 -0000	1.6
  @@ -5,23 +5,23 @@
   JBoss AS 4.0.5 (with or without EJB3):
     * Install JBoss AS 4.0.5 with the default J2EE profile
     * ant jboss
  -  * Deploy build/jboss-seam-hibernate.war
  +  * Deploy dist-jboss/jboss-seam-hibernate.war
     * Start JBoss AS 
     * Access the app at http://localhost:8080/jboss-seam-hibernate/
   
   WebLogic 9.2:
     * Install WebLogic 9.2
  -  * ant weblogic
  +  * ant weblogic92
     * Start the WebLogic "examples" server
     * Load the admin console http://localhost:7001/console/
  -  * Deploy build/jboss-seam-hibernate.war
  +  * Deploy dist-weblogic92/jboss-seam-hibernate.war
     * Access the app at http://localhost:7001/jboss-seam-hibernate/
   
   WebSphere 6.1:
   
     * Install and run WebSphere 6.1
  -  * ant websphere
  -  * Install build/jboss-seam-hibernate.war and specify a context_root
  +  * ant websphere61
  +  * Install dist-websphere61/jboss-seam-hibernate.war and specify a context_root
     * From the "Enterprise Applications" list select: "jboss-seam-hibernate_war" --> "Manager Modules" --> "jboss-seam-hibernate.war" --> "Classes loaded with application class loader first", and then Apply
     * Start the application
     * Access it at http://localhost:9080/context_root/index.html
  @@ -31,7 +31,7 @@
     * Copy the JARs in lib/tomcat into $TOMCAT_HOME/common/lib
     * Copy the following Context element into $TOMCAT_HOME/conf/server.xml
     * ant tomcat
  -  * Deploy to $TOMCAT_HOME/webapps/jboss-seam-hibernate.war
  +  * Deploy dist-tomcat/jboss-seam-hibernate.war to $TOMCAT_HOME/webapps/jboss-seam-hibernate.war
     * Start Tomcat
     * Access the app at http://localhost:8080/jboss-seam-hibernate/
   Example of the Context element in server.xml:
  @@ -53,8 +53,8 @@
   Tomcat with embeddable JBoss (the build is the same as JBoss 4.2.0 GA WAR):
     * Install Tomcat
     * Install Embeddable JBoss
  -  * ant
  -  * Deploy build/jboss-seam-hibernate.war
  +  * ant jboss
  +  * Deploy dist-jboss/jboss-seam-hibernate.war
     * Start Tomcat
     * Access the app at http://localhost:8080/jboss-seam-hibernate/
   
  @@ -63,7 +63,7 @@
     * ant glassfish
     * Start GlassFish
     * Load the admin console http://localhost:4848/
  -  * Deploy build/jboss-seam-hibernate.war as Web App
  +  * Deploy dist-glassfish/jboss-seam-hibernate.war as Web App
     * Access the app at http://localhost:8080/jboss-seam-hibernate/
   
   NOTES TO GLASSFISH:
  
  
  
  1.1      date: 2007/07/09 04:32:42;  author: myuan;  state: Exp;jboss-seam/examples/hibernate2/build-glassfish.xml
  
  Index: build-glassfish.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Hibernate Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The Hibernate Example for Glassfish"/>
      <property name="example.name"           value="jboss-seam-hibernate"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-glassfish" />
  	<property name="dist.dir" value="dist-glassfish" />
  	<property name="exploded-archives.dir" value="exploded-archives-glassfish" />
         
      <!-- Libraries to include -->
      <property name="seam.ui.lib"    value="true"/>
      <property name="seam.debug.lib" value="true"/>
      <property name="facelets.lib"   value="true"/>
      <property name="ajax4jsf.lib"   value="true"/>
  
      <import file="../build.xml"/>
  
      <fileset id="noejb.war.extras" dir="${seam.dir}">
          <include name="lib/common*.jar"/>
          <include name="lib/thirdparty-all.jar"/>
          <include name="hibernate/lib/*.jar"/>
      </fileset>
         
  </project>
  
  
  
  
  1.1      date: 2007/07/09 04:32:42;  author: myuan;  state: Exp;jboss-seam/examples/hibernate2/build-jboss.xml
  
  Index: build-jboss.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Hibernate Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The Hibernate Example for JBoss 4.2.0.GA"/>
      <property name="example.name"           value="jboss-seam-hibernate"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-jboss" />
  	<property name="dist.dir" value="dist-jboss" />
  	<property name="exploded-archives.dir" value="exploded-archives-jboss" />
         
      <!-- Libraries to include -->
      <property name="seam.ui.lib"    value="true"/>
      <property name="seam.debug.lib" value="true"/>
      <property name="facelets.lib"   value="true"/>
      <property name="ajax4jsf.lib"   value="true"/>
  
      <import file="../build.xml"/>
  
  </project>
  
  
  
  
  1.1      date: 2007/07/09 04:32:42;  author: myuan;  state: Exp;jboss-seam/examples/hibernate2/build-jboss405.xml
  
  Index: build-jboss405.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Hibernate Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The Hibernate Example for JBoss 4.0.5"/>
      <property name="example.name"           value="jboss-seam-hibernate"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-jboss" />
  	<property name="dist.dir" value="dist-jboss405" />
  	<property name="exploded-archives.dir" value="exploded-archives-jboss405" />
         
      <!-- Libraries to include -->
      <property name="seam.ui.lib"    value="true"/>
      <property name="seam.debug.lib" value="true"/>
      <property name="facelets.lib"   value="true"/>
      <property name="ajax4jsf.lib"   value="true"/>
  
      <import file="../build.xml"/>
  
      <fileset id="noejb.war.extras" dir="${seam.dir}">
          <include name="lib/common*.jar"/>
          <include name="lib/jsf-*.jar"/>
          <include name="lib/jstl-*.jar"/>
          <include name="hibernate/lib/*.jar"/>
          <!-- Needed since JBoss 4.0.5 does not support JSP 2.0 -->
          <include name="examples/hibernate2/lib/el-*.jar"/>
      </fileset>
         
  </project>
  
  
  
  
  1.1      date: 2007/07/09 04:32:42;  author: myuan;  state: Exp;jboss-seam/examples/hibernate2/build-tomcat.xml
  
  Index: build-tomcat.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Hibernate Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The Hibernate Example for plain Tomcat 5.5"/>
      <property name="example.name"           value="jboss-seam-hibernate"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-tomcat" />
  	<property name="dist.dir" value="dist-tomcat" />
  	<property name="exploded-archives.dir" value="exploded-archives-tomcat" />
         
      <!-- Libraries to include -->
      <property name="seam.ui.lib"    value="true"/>
      <property name="seam.debug.lib" value="true"/>
      <property name="facelets.lib"   value="true"/>
      <property name="ajax4jsf.lib"   value="true"/>
  
      <import file="../build.xml"/>
  
      <fileset id="noejb.war.extras" dir="${seam.dir}">
          <include name="lib/common*.jar"/>
          <include name="lib/jsf-*.jar"/>
          <include name="lib/jstl-*.jar"/>
          <include name="hibernate/lib/*.jar"/>
          <include name="lib/thirdparty-all.jar"/>
          <!-- Needed since JBoss 4.0.5 does not support JSP 2.0 -->
          <include name="examples/hibernate2/lib/el-*.jar"/>
          <!-- Addition libs needed for Tomcat -->
          <include name="examples/hibernate2/lib/cglib.jar"/>
          <include name="examples/hibernate2/lib/mc/*.jar"/>
      </fileset>
         
  </project>
  
  
  
  
  1.1      date: 2007/07/09 04:32:42;  author: myuan;  state: Exp;jboss-seam/examples/hibernate2/build-weblogic92.xml
  
  Index: build-weblogic92.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Hibernate Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The Hibernate Example for WebLogic 9.2"/>
      <property name="example.name"           value="jboss-seam-hibernate"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-weblogic92" />
  	<property name="dist.dir" value="dist-weblogic92" />
  	<property name="exploded-archives.dir" value="exploded-archives-weblogic92" />
         
      <!-- Libraries to include -->
      <property name="seam.ui.lib"    value="true"/>
      <property name="seam.debug.lib" value="true"/>
      <property name="facelets.lib"   value="true"/>
      <property name="ajax4jsf.lib"   value="true"/>
  
      <import file="../build.xml"/>
  
      <fileset id="noejb.war.extras" dir="${seam.dir}">
          <include name="lib/common*.jar"/>
          <include name="lib/jsf-*.jar"/>
          <include name="lib/jstl-*.jar"/>
          <include name="hibernate/lib/*.jar"/>
          <include name="lib/thirdparty-all.jar"/>
          <!-- Needed since WLS 9.2 does not support JSP 2.0 -->
          <include name="examples/hibernate2/lib/el-*.jar"/>
      </fileset>
         
  </project>
  
  
  
  
  1.1      date: 2007/07/09 04:32:42;  author: myuan;  state: Exp;jboss-seam/examples/hibernate2/build-websphere61.xml
  
  Index: build-websphere61.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="Hibernate Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The Hibernate Example for WebSphere 6.1.0.9"/>
      <property name="example.name"           value="jboss-seam-hibernate"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-websphere61" />
  	<property name="dist.dir" value="dist-websphere61" />
  	<property name="exploded-archives.dir" value="exploded-archives-websphere61" />
         
      <!-- Libraries to include -->
      <property name="seam.ui.lib"    value="true"/>
      <property name="seam.debug.lib" value="true"/>
      <property name="facelets.lib"   value="true"/>
      <property name="ajax4jsf.lib"   value="true"/>
  
      <import file="../build.xml"/>
  
      <fileset id="noejb.war.extras" dir="${seam.dir}">
          <include name="lib/common*.jar"/>
          <include name="lib/jsf-*.jar"/>
          <include name="lib/jstl-*.jar"/>
          <include name="hibernate/lib/*.jar"/>
          <include name="lib/thirdparty-all.jar"/>
          <!-- Needed since WAS 6.1 does not support JSP 2.0 -->
          <include name="examples/hibernate2/lib/el-*.jar"/>
      </fileset>
         
  </project>
  
  
  
  



More information about the jboss-cvs-commits mailing list