forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: rev 56242 - forrest/trunk/plugins
Date Mon, 01 Nov 2004 15:08:58 GMT
Author: rgardler
Date: Mon Nov  1 07:08:57 2004
New Revision: 56242

Added:
   forrest/trunk/plugins/build.xml   (contents, props changed)
Log:
simple buildfile for plugins

Added: forrest/trunk/plugins/build.xml
==============================================================================
--- (empty file)
+++ forrest/trunk/plugins/build.xml	Mon Nov  1 07:08:57 2004
@@ -0,0 +1,43 @@
+<?xml version="1.0"?>
+<!--
+  Copyright 2002-2004 The Apache Software Foundation
+
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+-->
+<project default="dist" basedir="." name="Forrest build file">
+  
+  <property name="plugins.dist-dir" value="dist"/>
+  
+  <target name="init">
+    <mkdir dir="${plugins.dist-dir}"/>  
+  </target>
+  
+  <target name="cleanDist">
+    <delete dir="${plugins.dist-dir}"/>
+  </target>
+  
+    
+  
+  <target name="dist"
+          description="Build the distribution archive for all the plugins"
+          depends="cleanDist, init">
+    <input message="Which plugin do you want to package?"
+           addproperty="plugin-name"/>
+    <zip destfile="${plugins.dist-dir}/${plugin-name}.zip"
+       basedir="./"
+       includes="${plugin-name}/**"
+       excludes="**/build/**"/>
+  </target>
+</project>
+  
+  

Mime
View raw message