blob: b2dd89d763094a2acb09c86feff5af84053ae48b [file] [log] [blame]
<?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
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
<project name='jsieve-mailet' default="main" basedir=".">
Give user a chance to override without editing this file
(and without typing -D each time he compiles it)
<property file="" />
<property file="${user.home}/" />
<property file="../" />
<property file="../" />
<path id="mail.class.path">
<pathelement location='${mail.jar}' />
<pathelement location='${activation.jar}' />
<path id="project.class.path">
<pathelement location="${commons-logging.jar}" />
<pathelement location="${log4j.jar}" />
<pathelement location="${junit.jar}" />
<pathelement location='${lib.jsieve.dir}/${name}-${version}.jar' />
<pathelement location="${mailet.jar}" />
<pathelement location="${mailet-base.jar}" />
<pathelement location="${mime4j.jar}" />
<path refid="mail.class.path" />
<pathelement path="${java.class.path}" />
<pathelement path="${build.classes}" />
<path id="project.test.class.path">
<path refid="project.class.path" />
<import file='../build.xml'/>
<target name="main" depends="run-tests" description=" - main target"/>
<target name="prepare" description=" - paparations [internal]">
<target name="compile" depends="prepare" description=" - compiles test and main source">
<src path="${java.dir}" />
<target name="jar" depends="compile" description=" - jars classes">
<Jar name='mailet'/>
<target name="run-tests" depends="jar" description=" - runs all tests">
<target name="clean" description=" - cleans build files">
<target name="usage" description=" - prints help">