source: apps/jetty/build.xml @ bd78a66

Last change on this file since bd78a66 was bd78a66, checked in by zzz <zzz@…>, 16 years ago

updated build proc to conditionally fetch the jetty libs from http://dev.i2p.net/jettylib.tar.bz2
now the main ant 'dist' will build the web stuff as well (but ant 'build' wont)

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