venice-mailgate-classic/build.xml

47 lines
1.6 KiB
XML

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Mozilla Public License Version 1.1
(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.mozilla.org/MPL/>.
Software distributed under the License is distributed on an "AS IS" basis, WITHOUT
WARRANTY OF ANY KIND, either express or implied. See the License for the specific
language governing rights and limitations under the License.
The Original Code is the Venice Web Communities System - Generic Mail Gateway.
The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
Copyright (C) 2002 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
Contributor(s):
-->
<project name="MailGate" default="jar" basedir=".">
<!-- Prepare to build the application -->
<target name="prep">
<mkdir dir="build"/>
<mkdir dir="dist"/>
</target>
<!-- Compile all the Java source -->
<target name="compile" depends="prep">
<javac srcdir="src" destdir="build" debug="on" optimize="off" deprecation="on">
<classpath>
<fileset dir="lib" includes="**/*.jar"/>
</classpath>
</javac>
<copy todir="build">
<fileset dir="src" includes="**/*.properties"/>
</copy>
</target>
<target name="jar" depends="compile">
<jar jarfile="dist/mailgate.jar" basedir="build"/>
<copy todir="dist">
<fileset dir="lib" includes="**/*.jar"/>
</copy>
</target>
</project>