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

Peter Muir peter at bleepbleep.org.uk
Sun Jul 8 11:02:55 EDT 2007


  User: pmuir   
  Date: 07/07/08 11:02:55

  Modified:    examples/jpa      build-jboss405.xml build-glassfish.xml
                        build.xml readme.txt build-jboss.xml
  Log:
  Tidy up build and readme for jpa example
  
  Revision  Changes    Path
  1.2       +2 -0      jboss-seam/examples/jpa/build-jboss405.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build-jboss405.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/build-jboss405.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- build-jboss405.xml	6 Jul 2007 21:41:34 -0000	1.1
  +++ build-jboss405.xml	8 Jul 2007 15:02:55 -0000	1.2
  @@ -8,6 +8,8 @@
   
       <!-- 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"/>
  
  
  
  1.2       +2 -0      jboss-seam/examples/jpa/build-glassfish.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build-glassfish.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/build-glassfish.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- build-glassfish.xml	6 Jul 2007 21:41:34 -0000	1.1
  +++ build-glassfish.xml	8 Jul 2007 15:02:55 -0000	1.2
  @@ -8,6 +8,8 @@
   
       <!-- 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"/>
  
  
  
  1.20      +10 -10    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.19
  retrieving revision 1.20
  diff -u -b -r1.19 -r1.20
  --- build.xml	6 Jul 2007 21:41:34 -0000	1.19
  +++ build.xml	8 Jul 2007 15:02:55 -0000	1.20
  @@ -2,23 +2,23 @@
   
   <project name="JPA Booking" default="jboss" basedir=".">
   
  -   <target name="jboss">
  +   <target name="jboss" description="Build the JPA artifacts, suitable for deployment to JBoss 4.2.0.GA">
        <ant antfile="build-jboss.xml"/>
      </target>
   
  -   <target name="jboss405">
  +   <target name="jboss405" description="Build the JPA artifacts, suitable for deployment to JBoss 4.0.5.GA">
        <ant antfile="build-jboss405.xml"/>
      </target>
   
  -   <target name="glassfish">
  +   <target name="glassfish" description="Build the JPA artifacts, suitable for deployment to Glassfish V2">
        <ant antfile="build-glassfish.xml"/>
      </target>
   
   
  -   <target name="clean">
  -     <delete dir="build"/>
  -     <delete dir="dist"/>
  -     <delete dir="exploded-archives"/>
  +   <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" />
      </target>
   
   </project>
  
  
  
  1.6       +3 -3      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.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- readme.txt	22 Jun 2007 03:25:53 -0000	1.5
  +++ readme.txt	8 Jul 2007 15:02:55 -0000	1.6
  @@ -5,14 +5,14 @@
   JBoss AS 4.2.0:
     * Install JBoss AS 4.2.0 GA
     * ant jboss
  -  * Deploy build/jboss-seam-jpa.war
  +  * Deploy dist-jboss/jboss-seam-jpa.war
     * Start JBoss AS 
     * Access the app at http://localhost:8080/jboss-seam-jpa/
   
   JBoss AS 4.0.5 (with or without EJB3):
     * Install JBoss AS 4.0.5 with the default J2EE profile
     * ant jboss405
  -  * Deploy build/jboss-seam-jpa.war
  +  * Deploy dist-jboss405/jboss-seam-jpa.war
     * Start JBoss AS 
     * 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 build/jboss-seam-jpa.war as Web App
  +  * Deploy bdist-glassfish/jboss-seam-jpa.war as Web App
     * Access the app at http://localhost:8080/jboss-seam-jpa/
   
   NOTES TO GLASSFISH:
  
  
  
  1.2       +3 -1      jboss-seam/examples/jpa/build-jboss.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build-jboss.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/jpa/build-jboss.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- build-jboss.xml	6 Jul 2007 21:41:34 -0000	1.1
  +++ build-jboss.xml	8 Jul 2007 15:02:55 -0000	1.2
  @@ -3,11 +3,13 @@
   <project name="JPA Booking" default="noejb.archive" basedir=".">
   
       <!-- Naming -->
  -    <property name="Name"                   value="The JPA Example for Glassfish"/>
  +    <property name="Name"                   value="The JPA Example for JBoss 4.2.0.GA"/>
       <property name="example.name"           value="jboss-seam-jpa"/>
   
       <!-- 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"/>
  
  
  



More information about the jboss-cvs-commits mailing list