Author: rdonkin Date: Mon Oct 6 14:21:34 2008 New Revision: 702268 URL: http://svn.apache.org/viewvc?rev=702268&view=rev Log: Added basic modular build file. JSIEVE-38.
Added: james/jsieve/trunk/build.xml Added: james/jsieve/trunk/build.xml URL: http://svn.apache.org/viewvc/james/jsieve/trunk/build.xml?rev=702268&view=auto ============================================================================== --- james/jsieve/trunk/build.xml (added) +++ james/jsieve/trunk/build.xml Mon Oct 6 14:21:34 2008 @@ -0,0 +1,54 @@ +<?xml version="1.0"?> +<!-- +========================================================================== + + jSieve build file + + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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 name='Apache JAMES JSieve' default="main" basedir="."> + + <macrodef + name='forall' + description='Executes a target for all modules'> + <attribute name='do'/> + <attribute name='dir' default='.'/> + <sequential> + <subant target='@{do}'> + <fileset dir='@{dir}' includes='main/build.xml'/> + </subant> + </sequential> + </macrodef> + + + <target name='clean' description='Cleans each module'> + <forall do='clean'/> + </target> + + <target name='main' description='Builds each module'> + <forall do='main'/> + </target> + + <target name='dist' description='Creates distribution for each module'> + <forall do='dist'/> + </target> +</project> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]