portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r493669 - /portals/jetspeed-2/trunk/maven-plugin/plugin.jelly
Date Sun, 07 Jan 2007 07:06:41 GMT
Author: taylor
Date: Sat Jan  6 23:06:41 2007
New Revision: 493669

URL: http://svn.apache.org/viewvc?view=rev&rev=493669
Log:
enable seed data from custom projects to override default seed data (maven-1)

Modified:
    portals/jetspeed-2/trunk/maven-plugin/plugin.jelly

Modified: portals/jetspeed-2/trunk/maven-plugin/plugin.jelly
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/maven-plugin/plugin.jelly?view=diff&rev=493669&r1=493668&r2=493669
==============================================================================
--- portals/jetspeed-2/trunk/maven-plugin/plugin.jelly (original)
+++ portals/jetspeed-2/trunk/maven-plugin/plugin.jelly Sat Jan  6 23:06:41 2007
@@ -198,7 +198,16 @@
         <include name="*seed.xml"/>
       </fileset>
     </copy>        
-    
+    <!-- Copy over custom build seed data -->
+	<util:file var="customExists" name="./src/sql/"/> 
+	<j:if test="${customExists.exists()}">
+		<copy todir="${portal.sql.target.dir}" 		   
+		      overwrite="true" verbose="true" failonerror="false" flatten="true">
+		  <fileset dir="./src/sql/">
+		    <include name="*seed.xml"/>
+		  </fileset>
+		</copy>                	
+    </j:if>    
   </goal>
   
   <goal name="j2:portal.conf.ldap" prereqs="j2:_check.required.properties">



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


Mime
View raw message