forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r76254 - forrest/trunk/plugins
Date Thu, 18 Nov 2004 17:35:49 GMT
Author: rgardler
Date: Thu Nov 18 09:35:47 2004
New Revision: 76254

Modified:
   forrest/trunk/plugins/build.xml
Log:
make plugin-name a property so that it can be set before calling the deploy target

Modified: forrest/trunk/plugins/build.xml
==============================================================================
--- forrest/trunk/plugins/build.xml	(original)
+++ forrest/trunk/plugins/build.xml	Thu Nov 18 09:35:47 2004
@@ -17,7 +17,9 @@
 <project default="local-deploy" basedir="." name="Forrest build file">
   <property name="forrest.root-dir"           location=".."/>   
   <property name="forrest.ant.lib-dir"        location="${forrest.root-dir}/tools/ant/lib"/>
 
-  <property name="forrest.build.dir"          location="../build"/>
+  <property name="forrest.build.dir"          location="${forrest.root-dir}/build"/>
+  
+  <property name="plugin.dir" value="${plugin-name}"/>
   
   <property name="plugins.dist-dir" value="../site-author/content/plugins"/>
   <property name="plugins.localDeploy-dir" value="${forrest.build.dir}/plugins"/>
@@ -45,7 +47,7 @@
     <input message="Which plugin do you want to deploy?"
            addproperty="plugin-name"/>
     <copy toDir="${plugins.localDeploy-dir}/${plugin-name}">
-      <fileset dir="${plugin-name}">
+      <fileset dir="${plugin.dir}">
        <exclude name="**/build/**"/>
       </fileset>
     </copy>

Mime
View raw message