Changeset 3ba43a77 for build.xml


Ignore:
Timestamp:
May 19, 2009 6:07:19 PM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
31cd726
Parents:
cb5390b
Message:

Add geoip support and flag icons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rcb5390b r3ba43a77  
    1818        <echo message="  updaterWithJetty:   tar the built i2p specific files and jetty into an i2pupdate.zip (extracts safely over existing installs)" />
    1919        <echo message="  updaterWithJettyFixes: updater including local jetty patches" />
     20        <echo message="  updaterWithGeoIP: updater including GeoIP Files" />
    2021        <echo message="  updaterSmall:   updater with the essentials only - no SAM, i2psnark, SusiMail, SusiDNS, news.xml, or history.txt" />
    2122        <echo message="  updaterRouter:  updater with the i2p.jar and router.jar only" />
     
    320321          <fileset dir="licenses/" />
    321322        </copy>
     323        <copy file="installer/resources/geoip.txt" todir="pkg-temp/geoip/" />
     324        <copy file="installer/resources/countries.txt" todir="pkg-temp/geoip/" />
     325        <copy todir="pkg-temp/icons/flags" >
     326          <fileset dir="installer/resources/icons/flags" />
     327        </copy>
    322328    </target>
    323329    <target name="tarball" depends="preppkg">
     
    332338          <fileset dir="installer/resources/" includes="*-header.ht" />
    333339        </copy>
     340        <copy file="installer/resources/geoip.txt" todir="pkg-temp/geoip/" />
     341        <copy file="installer/resources/countries.txt" todir="pkg-temp/geoip/" />
     342        <copy todir="pkg-temp/icons/flags" >
     343          <fileset dir="installer/resources/icons/flags" />
     344        </copy>
    334345        <zip destfile="docs.zip" basedir="pkg-temp" />
    335346    </target>
    336     <target name="updater" depends="prepupdate">
    337         <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
    338     </target>
    339     <target name="updaterWithJetty" depends="prepjupdate">
    340         <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
    341     </target>
    342     <target name="updaterWithJettyFixes" depends="prepjupdatefixes">
    343         <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
    344     </target>
    345     <target name="updaterSmall" depends="prepupdateSmall">
    346         <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
    347     </target>
    348     <target name="updaterRouter" depends="prepupdateRouter">
     347    <target name="updater" depends="prepupdate, zipit" />
     348    <target name="updaterWithGeoIP" depends="prepgeoupdate, zipit" />
     349    <target name="updaterWithJetty" depends="prepjupdate, zipit" />
     350    <target name="updaterWithJettyFixes" depends="prepjupdatefixes, zipit" />
     351    <target name="updaterSmall" depends="prepupdateSmall, zipit" />
     352    <target name="updaterRouter" depends="prepupdateRouter, zipit" />
     353    <target name="zipit">
    349354        <zip destfile="i2pupdate.zip" basedir="pkg-temp" />
    350355    </target>
     
    393398        <copy file="build/i2p.jar" todir="pkg-temp/lib/" />
    394399        <copy file="build/router.jar" todir="pkg-temp/lib/" />
     400    </target>
     401    <target name="prepgeoupdate" depends="prepupdate">
     402        <copy file="installer/resources/geoip.txt" todir="pkg-temp/geoip/" />
     403        <copy file="installer/resources/countries.txt" todir="pkg-temp/geoip/" />
     404        <copy todir="pkg-temp/icons/flags" >
     405          <fileset dir="installer/resources/icons/flags" />
     406        </copy>
    395407    </target>
    396408    <target name="prepjupdate" depends="prepupdate, buildWEB">
Note: See TracChangeset for help on using the changeset viewer.