portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2 maven.xml
Date Wed, 05 May 2004 06:12:43 GMT
taylor      2004/05/04 23:12:43

  Modified:    .        maven.xml
  Log:
  drop goal to remove drops from DDL
  
  Revision  Changes    Path
  1.51      +30 -0     jakarta-jetspeed-2/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/maven.xml,v
  retrieving revision 1.50
  retrieving revision 1.51
  diff -u -r1.50 -r1.51
  --- maven.xml	4 May 2004 22:07:38 -0000	1.50
  +++ maven.xml	5 May 2004 06:12:43 -0000	1.51
  @@ -408,4 +408,34 @@
                  ignoreFailures="false"/>
       </goal>
   
  +   <goal name="dropdrops">
  +    <attainGoal name="db.test.properties"/>
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/cornerstonedemo-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/phase1-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/phase2-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/phase3ojb-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/prefs-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/registry-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/security-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +    <j:set var="dropstable" value="./target/src/sql/${org.apache.jetspeed.database.default.name}/test-persistence-schema.sql"
/>
  +    <attainGoal name="run.dropdrops" />
  +   </goal>
  +
  +    <goal name="run.dropdrops">
  +         <java classname="org.apache.jetspeed.dbutil.ScriptUtil" fork="yes">
  +          <classpath>
  +            <path refid="maven.dependency.classpath"/>
  +            <pathelement path="${maven.build.dest}"/>
  +          </classpath>
  +            <arg value="-drops" />
  +            <arg value="${dropstable}" />
  +        </java>
  +    </goal>
   </project>
  
  
  

---------------------------------------------------------------------
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