Changeset cadedeb0


Ignore:
Timestamp:
Mar 1, 2012 4:04:17 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e7bcff5e
Parents:
5af6c97
Message:
  • Build: Add built-by to jars; check for corrupt jars on debug page
Files:
16 edited

Legend:

Unmodified
Added
Removed
  • apps/addressbook/build.xml

    r5af6c97 rcadedeb0  
    5757                                <attribute name="Main-Class" value="addressbook.Daemon"/>
    5858                                <attribute name="Implementation-Version" value="${full.version}" />
     59                                <attribute name="Built-By" value="${build.built-by}" />
    5960                                <attribute name="Build-Date" value="${build.timestamp}" />
    6061                                <attribute name="Base-Revision" value="${workspace.version}" />
     
    7677                        <manifest>
    7778                                <attribute name="Implementation-Version" value="${full.version}" />
     79                                <attribute name="Built-By" value="${build.built-by}" />
    7880                                <attribute name="Build-Date" value="${build.timestamp}" />
    7981                                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/i2psnark/java/build.xml

    r5af6c97 rcadedeb0  
    6262                <attribute name="Class-Path" value="i2p.jar mstreaming.jar streaming.jar" />
    6363                <attribute name="Implementation-Version" value="${full.version}" />
     64                <attribute name="Built-By" value="${build.built-by}" />
    6465                <attribute name="Build-Date" value="${build.timestamp}" />
    6566                <attribute name="Base-Revision" value="${workspace.version}" />
     
    109110            <manifest>
    110111                <attribute name="Implementation-Version" value="${full.version}" />
     112                <attribute name="Built-By" value="${build.built-by}" />
    111113                <attribute name="Build-Date" value="${build.timestamp}" />
    112114                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/i2ptunnel/java/build.xml

    r5af6c97 rcadedeb0  
    6464                <attribute name="Class-Path" value="i2p.jar mstreaming.jar" />
    6565                <attribute name="Implementation-Version" value="${full.version}" />
     66                <attribute name="Built-By" value="${build.built-by}" />
    6667                <attribute name="Build-Date" value="${build.timestamp}" />
    6768                <attribute name="Base-Revision" value="${workspace.version}" />
     
    137138            <manifest>
    138139                <attribute name="Implementation-Version" value="${full.version}" />
     140                <attribute name="Built-By" value="${build.built-by}" />
    139141                <attribute name="Build-Date" value="${build.timestamp}" />
    140142                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/jetty/build.xml

    r5af6c97 rcadedeb0  
    118118        <jar destfile="./jettylib/org.mortbay.jetty.jar" basedir="./build/obj" includes="**/*.class" update="true" >
    119119            <manifest>
     120                <attribute name="Built-By" value="${build.built-by}" />
    120121                <attribute name="Build-Date" value="${build.timestamp}" />
    121122                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/ministreaming/java/build.xml

    r5af6c97 rcadedeb0  
    5252            <manifest>
    5353                <attribute name="Implementation-Version" value="${full.version}" />
     54                <attribute name="Built-By" value="${build.built-by}" />
    5455                <attribute name="Build-Date" value="${build.timestamp}" />
    5556                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/routerconsole/java/build.xml

    r5af6c97 rcadedeb0  
    9393                <attribute name="Class-Path" value="i2p.jar router.jar jrobin.jar desktopgui.jar" />
    9494                <attribute name="Implementation-Version" value="${full.version}" />
     95                <attribute name="Built-By" value="${build.built-by}" />
    9596                <attribute name="Build-Date" value="${build.timestamp}" />
    9697                <attribute name="Base-Revision" value="${workspace.version}" />
     
    173174            <manifest>
    174175                <attribute name="Implementation-Version" value="${full.version}" />
     176                <attribute name="Built-By" value="${build.built-by}" />
    175177                <attribute name="Build-Date" value="${build.timestamp}" />
    176178                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/routerconsole/java/src/net/i2p/router/web/FileDumpHelper.java

    r5af6c97 rcadedeb0  
    1919import net.i2p.crypto.SHA256Generator;
    2020import net.i2p.data.DataHelper;
     21import net.i2p.util.FileUtil;
    2122
    2223/**
     
    3031        StringBuilder buf = new StringBuilder(16*1024);
    3132        buf.append("<table><tr><th>File</th><th>Size</th><th>Date</th><th>SHA 256</th><th>Revision</th>" +
    32                    "<th>JDK</th><th>Built</th><th>Mods</th></tr>");
     33                   "<th>JDK</th><th>Built</th><th>By</th><th>Mods</th></tr>");
    3334
    3435        // jars added in wrapper.config
     
    9697        else
    9798            buf.append("<font color=\"red\">Not found</font>");
    98         buf.append("</td><td>");
     99        buf.append("</td><td align=\"center\">");
     100        if (mod > 0 && !FileUtil.verifyZip(f))
     101            buf.append("<font color=\"red\">CORRUPT</font><br>");
    99102        byte[] hash = sha256(f);
    100103        if (hash != null) {
     
    133136        buf.append("</td><td>");
    134137        s = getAtt(att, "Build-Date");
     138        if (s != null)
     139            buf.append(s);
     140        buf.append("</td><td align=\"center\">");
     141        s = getAtt(att, "Built-By");
    135142        if (s != null)
    136143            buf.append(s);
  • apps/sam/java/build.xml

    r5af6c97 rcadedeb0  
    7373                <attribute name="Class-Path" value="i2p.jar mstreaming.jar streaming.jar" />
    7474                <attribute name="Implementation-Version" value="${full.version}" />
     75                <attribute name="Built-By" value="${build.built-by}" />
    7576                <attribute name="Build-Date" value="${build.timestamp}" />
    7677                <attribute name="Base-Revision" value="${workspace.version}" />
     
    8889                <attribute name="Class-Path" value="i2p.jar mstreaming.jar streaming.jar" />
    8990                <attribute name="Implementation-Version" value="${full.version}" />
     91                <attribute name="Built-By" value="${build.built-by}" />
    9092                <attribute name="Build-Date" value="${build.timestamp}" />
    9193                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/streaming/java/build.xml

    r5af6c97 rcadedeb0  
    6565            <manifest>
    6666                <attribute name="Implementation-Version" value="${full.version}" />
     67                <attribute name="Built-By" value="${build.built-by}" />
    6768                <attribute name="Build-Date" value="${build.timestamp}" />
    6869                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/susidns/src/build.xml

    r5af6c97 rcadedeb0  
    9999            <manifest>
    100100                <attribute name="Implementation-Version" value="${full.version}" />
     101                <attribute name="Built-By" value="${build.built-by}" />
    101102                <attribute name="Build-Date" value="${build.timestamp}" />
    102103                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/susimail/build.xml

    r5af6c97 rcadedeb0  
    4747            <manifest>
    4848                <attribute name="Implementation-Version" value="${full.version}" />
     49                <attribute name="Built-By" value="${build.built-by}" />
    4950                <attribute name="Build-Date" value="${build.timestamp}" />
    5051                <attribute name="Base-Revision" value="${workspace.version}" />
  • apps/systray/java/build.xml

    r5af6c97 rcadedeb0  
    4646                <attribute name="Class-Path" value="systray4j.jar" />
    4747                <attribute name="Implementation-Version" value="${full.version}" />
     48                <attribute name="Built-By" value="${build.built-by}" />
    4849                <attribute name="Build-Date" value="${build.timestamp}" />
    4950                <attribute name="Base-Revision" value="${workspace.version}" />
  • build.properties

    r5af6c97 rcadedeb0  
    1717i2pdocs.url=http://docs.i2p-projekt.de/javadoc/
    1818junitdocs.url=http://junit.org/apidocs/
     19# This will go in the jar manifests
     20build.built-by=unknown 
  • build.xml

    r5af6c97 rcadedeb0  
    167167                        excludes="org/jrobin/cmd/ org/jrobin/convertor/ org/jrobin/inspector/" />
    168168            <manifest>
     169                <attribute name="Built-By" value="${build.built-by}" />
    169170                <attribute name="Build-Date" value="${build.timestamp}" />
    170171                <attribute name="Base-Revision" value="${workspace.version}" />
     
    242243             <attribute name="Main-Class" value="net.i2p.router.RouterLaunch" />
    243244             <attribute name="Class-Path" value="lib/i2p.jar lib/router.jar lib/jbigi.jar lib/BOB.jar lib/sam.jar lib/mstreaming.jar lib/streaming.jar lib/routerconsole.jar lib/i2ptunnel.jar lib/org.mortbay.jetty.jar lib/javax.servlet.jar lib/jasper-compiler.jar lib/jasper-runtime.jar lib/commons-logging.jar lib/commons-el.jar lib/wrapper.jar lib/systray.jar lib/systray4j.jar lib/desktopgui.jar" />
     245             <attribute name="Built-By" value="${build.built-by}" />
    244246             <attribute name="Build-Date" value="${build.timestamp}" />
    245247             <attribute name="Base-Revision" value="${workspace.version}" />
     
    292294            <fileset dir="installer/lib/jbigi" includes="*.so *.dll *.jnilib" />
    293295            <manifest>
     296                <attribute name="Built-By" value="${build.built-by}" />
    294297                <attribute name="Build-Date" value="${build.timestamp}" />
    295298                <attribute name="Base-Revision" value="${workspace.version}" />
     
    305308            <fileset dir="installer/lib/jbigi" includes="*.so *.jnilib" />
    306309            <manifest>
     310                <attribute name="Built-By" value="${build.built-by}" />
    307311                <attribute name="Build-Date" value="${build.timestamp}" />
    308312                <attribute name="Base-Revision" value="${workspace.version}" />
     
    319323            <fileset dir="installer/lib/jbigi" includes="*freebsd*.so" />
    320324            <manifest>
     325                <attribute name="Built-By" value="${build.built-by}" />
    321326                <attribute name="Build-Date" value="${build.timestamp}" />
    322327                <attribute name="Base-Revision" value="${workspace.version}" />
     
    332337            <fileset dir="installer/lib/jbigi" includes="*linux*.so" />
    333338            <manifest>
     339                <attribute name="Built-By" value="${build.built-by}" />
    334340                <attribute name="Build-Date" value="${build.timestamp}" />
    335341                <attribute name="Base-Revision" value="${workspace.version}" />
     
    345351            <fileset dir="installer/lib/jbigi" includes="*linux-arm*.so,*linux-ppc*.so" />
    346352            <manifest>
     353                <attribute name="Built-By" value="${build.built-by}" />
    347354                <attribute name="Build-Date" value="${build.timestamp}" />
    348355                <attribute name="Base-Revision" value="${workspace.version}" />
     
    358365            <fileset dir="installer/lib/jbigi" includes="*.jnilib" />
    359366            <manifest>
     367                <attribute name="Built-By" value="${build.built-by}" />
    360368                <attribute name="Build-Date" value="${build.timestamp}" />
    361369                <attribute name="Base-Revision" value="${workspace.version}" />
     
    371379            <fileset dir="installer/lib/jbigi" includes="*windows*.dll" />
    372380            <manifest>
     381                <attribute name="Built-By" value="${build.built-by}" />
    373382                <attribute name="Build-Date" value="${build.timestamp}" />
    374383                <attribute name="Base-Revision" value="${workspace.version}" />
     
    11211130            <manifest>
    11221131                <attribute name="Main-Class" value="net.i2p.util.Copy" />
     1132                <attribute name="Built-By" value="${build.built-by}" />
    11231133                <attribute name="Build-Date" value="${build.timestamp}" />
    11241134                <attribute name="Base-Revision" value="${workspace.version}" />
     
    11291139            <manifest>
    11301140                <attribute name="Main-Class" value="net.i2p.util.Delete" />
     1141                <attribute name="Built-By" value="${build.built-by}" />
    11311142                <attribute name="Build-Date" value="${build.timestamp}" />
    11321143                <attribute name="Base-Revision" value="${workspace.version}" />
     
    11371148            <manifest>
    11381149                <attribute name="Main-Class" value="net.i2p.util.Exec" />
     1150                <attribute name="Built-By" value="${build.built-by}" />
    11391151                <attribute name="Build-Date" value="${build.timestamp}" />
    11401152                <attribute name="Base-Revision" value="${workspace.version}" />
     
    12361248            <manifest>
    12371249                <attribute name="Main-Class" value="net.i2p.util.Copy" />
     1250                <attribute name="Built-By" value="${build.built-by}" />
    12381251                <attribute name="Build-Date" value="${build.timestamp}" />
    12391252                <attribute name="Base-Revision" value="${workspace.version}" />
     
    12441257            <manifest>
    12451258                <attribute name="Main-Class" value="net.i2p.util.Delete" />
     1259                <attribute name="Built-By" value="${build.built-by}" />
    12461260                <attribute name="Build-Date" value="${build.timestamp}" />
    12471261                <attribute name="Base-Revision" value="${workspace.version}" />
     
    12521266            <manifest>
    12531267                <attribute name="Main-Class" value="net.i2p.util.Exec" />
     1268                <attribute name="Built-By" value="${build.built-by}" />
    12541269                <attribute name="Build-Date" value="${build.timestamp}" />
    12551270                <attribute name="Base-Revision" value="${workspace.version}" />
  • core/java/build.xml

    r5af6c97 rcadedeb0  
    6060            <manifest>
    6161                <attribute name="Implementation-Version" value="${full.version}" />
     62                <attribute name="Built-By" value="${build.built-by}" />
    6263                <attribute name="Build-Date" value="${build.timestamp}" />
    6364                <attribute name="Base-Revision" value="${workspace.version}" />
  • router/java/build.xml

    r5af6c97 rcadedeb0  
    7474            <manifest>
    7575                <attribute name="Implementation-Version" value="${full.version}" />
     76                <attribute name="Built-By" value="${build.built-by}" />
    7677                <attribute name="Build-Date" value="${build.timestamp}" />
    7778                <attribute name="Base-Revision" value="${workspace.version}" />
Note: See TracChangeset for help on using the changeset viewer.