incubator-easyant-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hi...@apache.org
Subject svn commit: r1081402 - /incubator/easyant/site/module.ant
Date Mon, 14 Mar 2011 14:39:19 GMT
Author: hibou
Date: Mon Mar 14 14:39:19 2011
New Revision: 1081402

URL: http://svn.apache.org/viewvc?rev=1081402&view=rev
Log:
- the xooki resources should be excluded, not included
- generate into production rather than staging

Modified:
    incubator/easyant/site/module.ant

Modified: incubator/easyant/site/module.ant
URL: http://svn.apache.org/viewvc/incubator/easyant/site/module.ant?rev=1081402&r1=1081401&r2=1081402&view=diff
==============================================================================
--- incubator/easyant/site/module.ant (original)
+++ incubator/easyant/site/module.ant Mon Mar 14 14:39:19 2011
@@ -16,20 +16,21 @@
 -->
 <project xmlns:ea="antlib:org.apache.easyant" >
     
-    <property name="staging.directory" value="./staging"/>
+    <property name="site.generate.directory" value="./production"/>
     <property name="src.documentation.dir" value="./sources"/>
     <!-- this avoid creation of mispelled directory when xooki make resources processing
-->
     <property name="target" value="target"/>
-    <property name="xooki.resources.include.pattern" value="**/xooki/**,style/**,images/**,js/*"/>
+    <property name="xooki.resources.include.pattern" value="style/**,images/**,js/*"/>
+    <property name="xooki.resources.exclude.pattern" value="**/xooki/**"/>
 
     <ea:bindtarget target="xooki:generate" tophase="publish-local"/>
 
-    <target name="update-staging-site" depends="xooki:generate" phase="publish-shared">
+    <target name="generate-site" depends="xooki:generate" phase="publish-shared">
         <!-- 
 	    	by default local website is generated in target/documentation, 
 		    so when promoting we should stage the content of this directory
         -->  
-        <copy todir="${staging.directory}">
+        <copy todir="${site.generate.directory}">
             <fileset dir="${target.documentation.dir}"/>
         </copy>
     	<!-- todo invoke svn add / svn commit -->



Mime
View raw message