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

Christian Bauer christian at hibernate.org
Thu Apr 19 14:36:11 EDT 2007


  User: cbauer  
  Date: 07/04/19 14:36:11

  Modified:    examples/wiki   build.xml README.txt
  Log:
  Finalized 'deletion' of stuff with updated FK constraint rules, now required the very latest Hibernate JARs
  
  Revision  Changes    Path
  1.17      +8 -8      jboss-seam/examples/wiki/build.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: build.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/build.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -b -r1.16 -r1.17
  --- build.xml	19 Apr 2007 06:34:19 -0000	1.16
  +++ build.xml	19 Apr 2007 18:36:11 -0000	1.17
  @@ -79,15 +79,10 @@
       </path>
   
       <path id="tools.classpath">
  -        <fileset dir="../../seam-gen/lib">
  -            <include name="*.jar"/>
  -        </fileset>
  -        <fileset dir="../../hibernate/lib">
  -            <include name="*.jar"/>
  -        </fileset>
           <fileset dir="../../lib">
               <include name="thirdparty*.jar"/>
           </fileset>
  +        <fileset dir="${local.lib.dir}"/>
       </path>
   
       <patternset id="meta.files">
  @@ -196,6 +191,7 @@
               <fileset dir="${local.lib.dir}">
                   <exclude name="hibernate*"/>
                   <exclude name="ejb3*"/>
  +                <exclude name="jboss*"/>
               </fileset>
           </copy>
   
  @@ -313,7 +309,7 @@
   
       <!-- ######################## TOOLS ################## -->
   
  -    <target name="schemaexport" depends="compileclasses"
  +    <target name="schemaexport" depends="clean, exploderegular, exploderesources"
           description="Exports a generated schema to a file">
   
           <taskdef name="hibernatetool"
  @@ -323,7 +319,7 @@
           <mkdir dir="${dist.dir}"/>
   
           <hibernatetool destdir="${basedir}">
  -            <classpath path="${classes.dir}"/>
  +            <classpath path="${exploded.war.dir}/WEB-INF/classes"/>
               <jpaconfiguration/> <!-- Use META-INF/persistence.xml -->
               <hbm2ddl
                   drop="false"
  @@ -333,6 +329,10 @@
                   delimiter=";"
                   format="true"/>
           </hibernatetool>
  +
  +        <!-- Clean up afterwards for the next deploy run -->
  +        <antcall target="clean"/>
  +
           <echo message="Exported DDL to file: ${dist.dir}/wiki-ddl.sql"/>
       </target>
   
  
  
  
  1.4       +2 -0      jboss-seam/examples/wiki/README.txt
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: README.txt
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/README.txt,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- README.txt	19 Apr 2007 05:44:47 -0000	1.3
  +++ README.txt	19 Apr 2007 18:36:11 -0000	1.4
  @@ -8,3 +8,5 @@
   The start document is hardcoded in index.html to be one of the records from import.sql.
   
   Please use JBoss AS 4.2 CR2.
  +
  +YOU NEED THE LATEST HIBERNATE VERSIONS INSTALLED IN JBOSS AS! THE VERSION SHIPPING WITH AS 4.2 CR2 IS TOO OLD!
  
  
  



More information about the jboss-cvs-commits mailing list