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

Michael Yuan michael.yuan at jboss.com
Sun Jul 8 18:54:40 EDT 2007


  User: myuan   
  Date: 07/07/08 18:54:40

  Modified:    examples/jpa     build.xml readme.txt
  Added:       examples/jpa     build-weblogic92.xml build-websphere61.xml
  Log:
  added weblogic92 and websphere61 targets
  
  Revision  Changes    Path
  1.21      +11 -0     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.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- build.xml	8 Jul 2007 15:02:55 -0000	1.20
  +++ build.xml	8 Jul 2007 22:54:40 -0000	1.21
  @@ -14,12 +14,23 @@
        	<ant antfile="build-glassfish.xml"/>
      </target>
   
  +   <target name="weblogic92" description="Build the JPA artifacts, suitable for deployment to WebLogic 9.2">
  +     	<ant antfile="build-weblogic92.xml"/>
  +   </target>
  +
  +   <target name="websphere61" description="Build the JPA artifacts, suitable for deployment to WebSphere 6.1.0.9">
  +     	<ant antfile="build-websphere61.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" />
      </target>
   
  +   <target name="all" depends="jboss, jboss405, glassfish, weblogic92, websphere61"/>
  +
   </project>
   
  
  
  
  1.7       +7 -7      jboss-seam/examples/jpa/readme.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: readme.txt
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/readme.txt,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- readme.txt	8 Jul 2007 15:02:55 -0000	1.6
  +++ readme.txt	8 Jul 2007 22:54:40 -0000	1.7
  @@ -18,17 +18,17 @@
   
   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-jpa.war
  +  * Deploy dist-weblogic92/jboss-seam-jpa.war
     * Access the app at http://localhost:7001/jboss-seam-jpa/
   
   WebSphere 6.1:
   
     * Install and run WebSphere 6.1
  -  * ant websphere
  -  * Install build/jboss-seam-jpa.war and specify a context_root
  +  * ant websphere61
  +  * Deploy dist-websphere61/jboss-seam-jpa.war and specify a context_root
     * From the "Enterprise Applications" list select: "jboss-seam-jpa" --> "Manager Modules" --> "jboss-seam-jpa.war" --> "Classes loaded with application class loader first", and then Apply
     * Start the application
     * Access it at http://localhost:9080/context_root/index.html
  @@ -36,8 +36,8 @@
   Tomcat (the build is the same as JBoss 4.2.0 GA WAR):
     * Install Tomcat
     * Install Embeddable JBoss
  -  * ant 
  -  * Deploy build/jboss-seam-jpa.war
  +  * ant jboss
  +  * Deploy dist-jboss/jboss-seam-jpa.war
     * Start Tomcat
     * Access the app at http://localhost:8080/jboss-seam-jpa/
   
  @@ -46,7 +46,7 @@
     * ant glassfish
     * Start GlassFish
     * Load the admin console http://localhost:4848/
  -  * Deploy bdist-glassfish/jboss-seam-jpa.war as Web App
  +  * Deploy dist-glassfish/jboss-seam-jpa.war as Web App
     * Access the app at http://localhost:8080/jboss-seam-jpa/
   
   NOTES TO GLASSFISH:
  
  
  
  1.1      date: 2007/07/08 22:54:40;  author: myuan;  state: Exp;jboss-seam/examples/jpa/build-weblogic92.xml
  
  Index: build-weblogic92.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="JPA Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The JPA Example for WebLogic 9.2"/>
      <property name="example.name"           value="jboss-seam-jpa"/>
  
      <!-- 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/jpa/lib/el-*.jar"/>
      </fileset>
         
  </project>
  
  
  
  
  1.1      date: 2007/07/08 22:54:40;  author: myuan;  state: Exp;jboss-seam/examples/jpa/build-websphere61.xml
  
  Index: build-websphere61.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <project name="JPA Booking" default="noejb.archive" basedir=".">
  
      <!-- Naming -->
      <property name="Name"                   value="The JPA Example for WebSphere 6.1.0.9"/>
      <property name="example.name"           value="jboss-seam-jpa"/>
  
      <!-- 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/jpa/lib/el-*.jar"/>
      </fileset>
         
  </project>
  
  
  
  



More information about the jboss-cvs-commits mailing list