source: apps/jetty/build.xml @ 8101fa1

Last change on this file since 8101fa1 was 8a091e0, checked in by zzz <zzz@…>, 16 years ago

fixed for ant 1.5 compat

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<project basedir="." default="all" name="jetty">
3       
4    <target name="all" depends="build" />
5    <target name="fetchJettylib" >
6        <available property="jetty.available" file="jettylib" />
7        <ant target="doFetchJettylib" />
8    </target>
9    <target name="doFetchJettylib" unless="jetty.available" >
10        <echo message="The libraries contained within the fetched file are from Jetty's 4.2.21 " />
11        <echo message="distribution (http://jetty.mortbay.org/) which we have copied to our website since" />
12        <echo message="theirs doesn't have direct HTTP access to the libs.  These are not " />
13        <echo message="necessary for using I2P, but are used by some applications on top of I2P," />
14        <echo message="such as the routerconsole." />
15        <get src="http://dev.i2p.net/jettylib.tar.bz2" verbose="true" dest="jettylib.tar.bz2" />
16        <untar src="jettylib.tar.bz2" compression="bzip2" dest="." />
17        <delete file="jettylib.tar.bz2" />
18    </target>
19    <target name="build" depends="fetchJettylib" />
20    <target name="builddep" />
21    <target name="compile" />
22    <target name="jar" />
23    <target name="clean" />
24    <target name="cleandep" depends="clean" />
25    <target name="distclean" depends="clean">
26        <echo message="Not actually deleting the jetty libs (since they're so large)" />
27    </target>
28</project>
Note: See TracBrowser for help on using the repository browser.