portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wea...@apache.org
Subject cvs commit: jakarta-jetspeed-2/src/schema test-persistence-schema.xml
Date Tue, 02 Mar 2004 22:26:28 GMT
weaver      2004/03/02 14:26:28

  Modified:    .        maven.xml
  Added:       src/schema test-persistence-schema.xml
  Log:
  added test schema
  
  Revision  Changes    Path
  1.31      +4 -2      jakarta-jetspeed-2/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/maven.xml,v
  retrieving revision 1.30
  retrieving revision 1.31
  diff -u -r1.30 -r1.31
  --- maven.xml	29 Feb 2004 18:24:57 -0000	1.30
  +++ maven.xml	2 Mar 2004 22:26:28 -0000	1.31
  @@ -96,7 +96,7 @@
                  banner="Build and Install the Plugin jar"
                  postProcessing="false"
                  ignoreFailures="false"/>        
  -
  +  <!--
       <maven:reactor
                  basedir="${basedir}"
                  includes="services/security/project.xml"
  @@ -104,7 +104,7 @@
                  banner="Build and Install the services - security jar"
                  postProcessing="false"
                  ignoreFailures="false"/>
  -
  +  -->
        <!-- Build war files -->
        <maven:reactor
                  basedir="${basedir}"
  @@ -289,6 +289,8 @@
       <j:set var="database.arg.script" value="./target/src/sql/${database.default.name}/security-schema.sql"
/>
       <attainGoal name="db.execute" />
       <j:set var="database.arg.script" value="./src/sql/populate-db-default.sql" />
  +    <attainGoal name="db.execute" />
  +    <j:set var="database.arg.script" value="./target/src/sql/${database.default.name}/test-persistence-schema.sql"
/>
       <attainGoal name="db.execute" />
     </goal>
   
  
  
  
  1.1                  jakarta-jetspeed-2/src/schema/test-persistence-schema.xml
  
  Index: test-persistence-schema.xml
  ===================================================================
  <?xml version="1.0"?>
  <!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database_3_1.dtd">
  
  <database>
      <!--
         Tables for Testing persistence
      -->
      <table name="A">
          <column name="ID" primaryKey="true" required="true" type="INTEGER"/>
          <column name="NAME" required="true" size="80" type="VARCHAR"/>
      </table>
      
      <table name="B">
          <column name="ID" primaryKey="true" required="true" type="INTEGER"/>
          <column name="A_ID" required="true" type="INTEGER"/>
          <column name="NAME" required="true" size="80" type="VARCHAR"/>
      </table>    
  </database>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message