Changeset 8998bde for build.xml


Ignore:
Timestamp:
Dec 21, 2012 9:13:31 PM (8 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
85fda3e
Parents:
c9b6a3f0
Message:

remove another reliance on external UNIX-only tools (and fixing formatting of my earlier commit)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rc9b6a3f0 r8998bde  
    10481048        <copy file="history.txt" todir="pkg-temp/" />
    10491049        <!-- the following overwrites history.txt on unix to shrink the update file -->
    1050         <exec executable="head" osfamily="unix" failifexecutionfails="true" output="pkg-temp/history.txt">
    1051             <arg value="-n" />
    1052             <arg value="1500" />
    1053             <arg value="history.txt" />
    1054         </exec>
    1055         <exec executable="echo" osfamily="unix" failifexecutionfails="true" output="pkg-temp/history.txt" append="true">
    1056             <arg value="&#10;&#10;----------------&#10;&#10;EARLIER HISTORY IS AVAILABLE IN THE SOURCE PACKAGE" />
    1057         </exec>
     1050        <copy file="history.txt" tofile="pkg-temp/history.txt" overwrite="true">
     1051            <filterchain>
     1052                <headfilter lines="1500" />
     1053            </filterchain>
     1054        </copy>
     1055        <echo message="&#10;&#10;----------------&#10;&#10;EARLIER HISTORY IS AVAILABLE IN THE SOURCE PACKAGE" output="pkg-temp/history.txt" append="true"/>
    10581056        <copy file="installer/resources/deletelist.txt" todir="pkg-temp/" />
    10591057    </target>
     
    13411339            <arg value="--details"/>
    13421340            <arg value="--wide"/>
    1343         <arg value="${basedir}"/>
     1341            <arg value="${basedir}"/>
    13441342            <redirector output="${sloccount.report.file}">
    13451343                <outputfilterchain>
     
    13471345                        <regexp pattern="(Warning: |lib/launch4j|_MTN|reports|pkg-temp|licenses|i2p\.fba|gmp-|WEB-INF)" />
    13481346                    </linecontainsregexp>
    1349                     <linecontains negate="true">
    1350                             <contains value="${sloccount.report.file}" />
    1351                     </linecontains>
     1347                    <linecontains negate="true">
     1348                        <contains value="${sloccount.report.file}" />
     1349                    </linecontains>
    13521350                </outputfilterchain>
    13531351            </redirector>
Note: See TracChangeset for help on using the changeset viewer.