Changeset aeeee0e for build.xml


Ignore:
Timestamp:
Nov 11, 2016 6:23:58 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d7a84c88
Parents:
c3181d85
Message:

Build: Truncate history.txt in installers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rc3181d85 raeeee0e  
    11841184
    11851185    <!-- see targets below for conditional copying -->
    1186     <target name="preppkg-base" depends="build, preplicenses, prepConsoleDocs, prepthemeupdates, prepCertificates, prepRouterInfos, copyjetty, copytomcat-unlesspkg, copyjstl-unlesspkg, copystandard-unlesspkg">
     1186    <target name="preppkg-base" depends="build, preplicenses, prepConsoleDocs, prepthemeupdates, prepCertificates, prepRouterInfos, copyjetty, copytomcat-unlesspkg, copyjstl-unlesspkg, copystandard-unlesspkg, truncatehistory">
    11871187        <!-- if updater200 was run previously, it left *.pack files in pkg-temp -->
    11881188        <!-- Also remove deletelist.txt used for updater only -->
     
    12181218        <copy file="installer/resources/hosts.txt" todir="pkg-temp/" />
    12191219        <copy file="INSTALL-headless.txt" todir="pkg-temp/" />
    1220         <!-- overwrite the truncated history put in by the updater -->
    1221         <copy file="history.txt" todir="pkg-temp/" overwrite="true" />
    12221220        <mkdir dir="pkg-temp/scripts" />
    12231221        <copy file="apps/proxyscript/i2pProxy.pac" todir="pkg-temp/scripts/" />
     
    15061504    </target>
    15071505
    1508     <target name="prepupdate" depends="build2, prepupdateSmall, prepConsoleDocUpdates, prepCertificates, prep-script-translation">
     1506    <target name="prepupdate" depends="build2, prepupdateSmall, prepConsoleDocUpdates, prepCertificates, prep-script-translation, truncatehistory">
    15091507        <copy file="build/BOB.jar" todir="pkg-temp/lib/" />
    15101508        <copy file="build/sam.jar" todir="pkg-temp/lib/" />
     
    15231521       -->
    15241522        <copy file="build/i2psnark.war" todir="pkg-temp/webapps/" />
     1523        <copy file="installer/resources/deletelist.txt" todir="pkg-temp/" />
     1524        <copy file="installer/resources/blocklist.txt" todir="pkg-temp/" />
     1525        <copy todir="pkg-temp/man/">
     1526            <fileset dir="installer/resources/man/" />
     1527        </copy>
     1528    </target>
     1529
     1530    <target name="truncatehistory">
    15251531        <copy file="history.txt" todir="pkg-temp/" />
    15261532        <!-- the following overwrites history.txt on unix to shrink the update file -->
     
    15301536            </filterchain>
    15311537        </copy>
    1532         <concat append="true" destfile="pkg-temp/history.txt">&#10;&#10;----------------&#10;&#10;EARLIER HISTORY IS AVAILABLE IN THE SOURCE PACKAGE"</concat>
    1533         <copy file="installer/resources/deletelist.txt" todir="pkg-temp/" />
    1534         <copy file="installer/resources/blocklist.txt" todir="pkg-temp/" />
    1535         <copy todir="pkg-temp/man/">
    1536             <fileset dir="installer/resources/man/" />
    1537         </copy>
     1538        <concat append="true" destfile="pkg-temp/history.txt">&#10;&#10;----------------&#10;&#10;EARLIER HISTORY IS AVAILABLE IN THE SOURCE PACKAGE</concat>
    15381539    </target>
    15391540
Note: See TracChangeset for help on using the changeset viewer.