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

Michael Yuan michael.yuan at jboss.com
Thu Jul 26 23:18:07 EDT 2007


  User: myuan   
  Date: 07/07/26 23:18:07

  Modified:    examples/jpa    build.xml
  Added:       examples/jpa    build-tomcat55.xml build-tomcat6.xml
  Log:
  Support plain Tomcat in JPA example via RESOURCE_LOCAL transactions
  
  Revision  Changes    Path
  1.22      +11 -1     jboss-seam/examples/jpa/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/build.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -b -r1.21 -r1.22
  --- build.xml	8 Jul 2007 22:54:40 -0000	1.21
  +++ build.xml	27 Jul 2007 03:18:07 -0000	1.22
  @@ -22,15 +22,25 @@
        	<ant antfile="build-websphere61.xml"/>
      </target>
   
  +   <target name="tomcat55" description="Build the JPA artifacts, suitable for deployment to Tomcat 5.5">
  +     	<ant antfile="build-tomcat55.xml"/>
  +   </target>
  +
  +   <target name="tomcat6" description="Build the JPA artifacts, suitable for deployment to Tomcat 6.0">
  +     	<ant antfile="build-tomcat6.xml"/>
  +   </target>
  +
      <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-tomcat55.xml" target="clean" />
  +    	<ant antfile="build-tomcat6.xml" target="clean" />
      </target>
   
  -   <target name="all" depends="jboss, jboss405, glassfish, weblogic92, websphere61"/>
  +   <target name="all" depends="jboss, jboss405, glassfish, weblogic92, websphere61, tomcat55, tomcat6"/>
   
   </project>
   
  
  
  
  1.1      date: 2007/07/27 03:18:07;  author: myuan;  state: Exp;jboss-seam/examples/jpa/build-tomcat55.xml
  
  Index: build-tomcat55.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="JPA Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The JPA Example for plain Tomcat 5.5"/>
      <property name="example.name"           value="jboss-seam-jpa"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-tomcat" />
  	<property name="dist.dir" value="dist-tomcat55" />
  	<property name="exploded-archives.dir" value="exploded-archives-tomcat55" />
         
      <!-- 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 Tomcat 5.5 does not support JSP 2.0 -->
          <include name="examples/jpa/lib/el-*.jar"/>
          <!-- Addition libs needed for Tomcat -->
          <include name="examples/jpa/lib/cglib.jar"/>
          <include name="examples/jpa/lib/jta.jar"/>
          <!--
          <include name="examples/hibernate2/lib/mc/*.jar"/>
          -->
      </fileset>
         
  </project>
  
  
  
  
  1.1      date: 2007/07/27 03:18:07;  author: myuan;  state: Exp;jboss-seam/examples/jpa/build-tomcat6.xml
  
  Index: build-tomcat6.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="JPA Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The JPA Example for plain Tomcat 6.0"/>
      <property name="example.name"           value="jboss-seam-jpa"/>
  
      <!-- resources -->
      <property name="resources.dir" value="resources-tomcat" />
  	<property name="dist.dir" value="dist-tomcat6" />
  	<property name="exploded-archives.dir" value="exploded-archives-tomcat6" />
         
      <!-- 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"/>
          <!-- Addition libs needed for Tomcat -->
          <include name="examples/jpa/lib/cglib.jar"/>
          <include name="examples/jpa/lib/jta.jar"/>
          <!--
          <include name="examples/hibernate2/lib/mc/*.jar"/>
          -->
      </fileset>
         
  </project>
  
  
  
  



More information about the jboss-cvs-commits mailing list