weaver 2004/06/04 09:13:57
Modified: maven-plugin maven.xml
Log:
added additional "clean" functionallity
Revision Changes Path
1.2 +11 -4 jakarta-jetspeed-2/maven-plugin/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/maven-plugin/maven.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- maven.xml 4 Jun 2004 02:53:45 -0000 1.1
+++ maven.xml 4 Jun 2004 16:13:57 -0000 1.2
@@ -27,6 +27,15 @@
<attainGoal name="copyDb" />
<attainGoal name="copyPortlaWebApp" />
</preGoal>
+
+ <preGoal name="clean">
+
+ <delete includeEmptyDirs="true">
+ <fileset dir="src/plugin-resources">
+ <filename name="**/*"/>
+ </fileset>
+ </delete>
+ </preGoal>
<goal name="copyDb">
<copy todir="src/plugin-resources" overwrite="true" failonerror="true">
@@ -45,7 +54,7 @@
</copy>
<move file="${basedir}/src/plugin-resources/Empty.script"
tofile="${basedir}/src/plugin-resources/Production.script" overwrite="true"/>
-
+ <echo>Initializing HSQL Production.script with basic portal info.......</echo>
<j:set var="org.apache.jetspeed.database.url"
value="jdbc:hsqldb:src/plugin-resources/Production"/>
<j:set var="org.apache.jetspeed.database.driver" value="org.hsqldb.jdbcDriver"/>
<j:set var="org.apache.jetspeed.database.user" value="sa"/>
@@ -91,9 +100,7 @@
<attainGoal name="db.execute" />
<j:set var="database.arg.script"
value="./src/plugin-resources/populate-db-default.sql" />
<attainGoal name="db.execute" />
- <j:set var="database.arg.script"
value="./src/plugin-resources/${org.apache.jetspeed.database.default.name}/test-persistence-schema.sql"
/>
- <attainGoal name="db.execute" />
- </goal>
+ </goal>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]