Changeset 7213ff0c


Ignore:
Timestamp:
Jan 15, 2012 4:36:17 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
59ba19b9
Parents:
9e068b3
Message:
  • Build: Put Implementation-Version in manifests
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/build.xml

    r9e068b3 r7213ff0c  
    5656                        <manifest>
    5757                                <attribute name="Main-Class" value="addressbook.Daemon"/>
     58                                <attribute name="Implementation-Version" value="${full.version}" />
    5859                                <attribute name="Build-Date" value="${build.timestamp}" />
    5960                                <attribute name="Base-Revision" value="${workspace.version}" />
     
    7475                <war basedir="${dist}/tmp" webxml="web.xml" destfile="${dist}/${war}">
    7576                        <manifest>
     77                                <attribute name="Implementation-Version" value="${full.version}" />
    7678                                <attribute name="Build-Date" value="${build.timestamp}" />
    7779                                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/i2psnark/java/build.xml

    r9e068b3 r7213ff0c  
    6161                <attribute name="Main-Class" value="org.klomp.snark.Snark" />
    6262                <attribute name="Class-Path" value="i2p.jar mstreaming.jar streaming.jar" />
     63                <attribute name="Implementation-Version" value="${full.version}" />
    6364                <attribute name="Build-Date" value="${build.timestamp}" />
    6465                <attribute name="Base-Revision" value="${workspace.version}" />
     
    99100          <classes dir="./build/obj" includes="**/web/*.class" />
    100101            <manifest>
     102                <attribute name="Implementation-Version" value="${full.version}" />
    101103                <attribute name="Build-Date" value="${build.timestamp}" />
    102104                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/i2ptunnel/java/build.xml

    r9e068b3 r7213ff0c  
    6363                <attribute name="Main-Class" value="net.i2p.i2ptunnel.I2PTunnel" />
    6464                <attribute name="Class-Path" value="i2p.jar mstreaming.jar" />
     65                <attribute name="Implementation-Version" value="${full.version}" />
    6566                <attribute name="Build-Date" value="${build.timestamp}" />
    6667                <attribute name="Base-Revision" value="${workspace.version}" />
     
    135136             basedir="../jsp/" excludes="web.xml, web-fragment.xml, web-out.xml, **/*.java, *.jsp">
    136137            <manifest>
     138                <attribute name="Implementation-Version" value="${full.version}" />
    137139                <attribute name="Build-Date" value="${build.timestamp}" />
    138140                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/ministreaming/java/build.xml

    r9e068b3 r7213ff0c  
    5151        <jar destfile="./build/mstreaming.jar" basedir="./build/obj" includes="**/*.class" >
    5252            <manifest>
     53                <attribute name="Implementation-Version" value="${full.version}" />
    5354                <attribute name="Build-Date" value="${build.timestamp}" />
    5455                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/routerconsole/java/build.xml

    r9e068b3 r7213ff0c  
    9191                <!-- DTG added in 0.8.4, not in the classpath for very old installs, before we changed wrapper.config to specify * -->
    9292                <attribute name="Class-Path" value="i2p.jar router.jar jrobin.jar desktopgui.jar" />
     93                <attribute name="Implementation-Version" value="${full.version}" />
    9394                <attribute name="Build-Date" value="${build.timestamp}" />
    9495                <attribute name="Base-Revision" value="${workspace.version}" />
     
    170171             basedir="../jsp/" excludes="web.xml, *.css, **/*.java, *.jsp, *.jsi, web-fragment.xml, web-out.xml">
    171172            <manifest>
     173                <attribute name="Implementation-Version" value="${full.version}" />
    172174                <attribute name="Build-Date" value="${build.timestamp}" />
    173175                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/routerconsole/java/src/net/i2p/router/web/FileDumpHelper.java

    r9e068b3 r7213ff0c  
    114114            att = new Attributes();
    115115        buf.append("<td align=\"center\">");
     116        String iv = getAtt(att, "Implementation-Version");
     117        if (iv != null)
     118            buf.append("<b>").append(iv).append("</b>");
    116119        String s = getAtt(att, "Base-Revision");
    117120        if (s != null && s.length() > 20) {
     121            if (iv != null)
     122                buf.append("<br>");
    118123            buf.append("<a href=\"http://stats.i2p/cgi-bin/viewmtn/revision/info/").append(s)
    119124               .append("\">" +
     
    121126                       "<br>" +
    122127                       "<tt>").append(s.substring(20)).append("</tt></a>");
    123         } else {
    124             s = getAtt(att, "Implementation-Version");
    125             if (s != null)
    126                 buf.append("<b>").append(s).append("</b>");
    127128        }
    128129        buf.append("</td><td>");
  • apps/sam/java/build.xml

    r9e068b3 r7213ff0c  
    6767                <attribute name="Main-Class" value="net.i2p.sam.SAMBridge" />
    6868                <attribute name="Class-Path" value="i2p.jar mstreaming.jar streaming.jar" />
     69                <attribute name="Implementation-Version" value="${full.version}" />
    6970                <attribute name="Build-Date" value="${build.timestamp}" />
    7071                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/streaming/java/build.xml

    r9e068b3 r7213ff0c  
    6464        <jar destfile="./build/streaming.jar" basedir="./build/obj" includes="**/*.class" >
    6565            <manifest>
     66                <attribute name="Implementation-Version" value="${full.version}" />
    6667                <attribute name="Build-Date" value="${build.timestamp}" />
    6768                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/susidns/src/build.xml

    r9e068b3 r7213ff0c  
    9898                </fileset>
    9999            <manifest>
     100                <attribute name="Implementation-Version" value="${full.version}" />
    100101                <attribute name="Build-Date" value="${build.timestamp}" />
    101102                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/susimail/build.xml

    r9e068b3 r7213ff0c  
    4646             basedir="src/" excludes="WEB-INF/web.xml LICENSE src/**/*">
    4747            <manifest>
     48                <attribute name="Implementation-Version" value="${full.version}" />
    4849                <attribute name="Build-Date" value="${build.timestamp}" />
    4950                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/systray/java/build.xml

    r9e068b3 r7213ff0c  
    4545                <attribute name="Main-Class" value="net.i2p.apps.systray.SysTray" />
    4646                <attribute name="Class-Path" value="systray4j.jar" />
     47                <attribute name="Implementation-Version" value="${full.version}" />
    4748                <attribute name="Build-Date" value="${build.timestamp}" />
    4849                <attribute name="Base-Revision" value="${workspace.version}" />
  • build.xml

    r9e068b3 r7213ff0c  
    183183    </target>
    184184
    185     <target name="buildProperties" depends="getMtnRev" >
     185    <target name="buildProperties" depends="getMtnRev, getReleaseNumber, getBuildNumber" >
    186186        <!-- default if not set above -->
    187187        <property name="workspace.version" value="unknown" />
     
    189189            <format property="build.timestamp" pattern="yyyy-MM-dd HH:mm:ss z" timezone="UTC" locale="en" />
    190190        </tstamp>
     191        <property name="full.version" value="${release.number}-${build.number}${build.extra}" />
     192        <echo message="Building version ${full.version}" />
    191193    </target>
    192194
  • core/java/build.xml

    r9e068b3 r7213ff0c  
    5959        <jar destfile="./build/i2p.jar" basedir="./build/obj" includes="**/*.class" >
    6060            <manifest>
     61                <attribute name="Implementation-Version" value="${full.version}" />
    6162                <attribute name="Build-Date" value="${build.timestamp}" />
    6263                <attribute name="Base-Revision" value="${workspace.version}" />
  • router/java/build.xml

    r9e068b3 r7213ff0c  
    7373        <jar destfile="./build/router.jar" basedir="./build/obj" includes="**/*.class" >
    7474            <manifest>
     75                <attribute name="Implementation-Version" value="${full.version}" />
    7576                <attribute name="Build-Date" value="${build.timestamp}" />
    7677                <attribute name="Base-Revision" value="${workspace.version}" />
Note: See TracChangeset for help on using the changeset viewer.