Changeset c902d4c


Ignore:
Timestamp:
Jan 27, 2012 1:33:41 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
65504e8
Parents:
b3f3a60c
Message:

remove SAM client classes from sam.jar

Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • apps/sam/java/build.xml

    rb3f3a60c rc902d4c  
    2222        </depend>
    2323    </target>
     24
    2425    <property name="javac.compilerargs" value="" />
     26
     27    <!-- compile everything including client classes -->
    2528    <target name="compile" depends="depend">
    2629        <mkdir dir="./build" />
     
    3538        </javac>
    3639    </target>
     40
    3741    <target name="compileTest" depends="compile">
    3842        <javac
     
    6064    </target>
    6165
     66    <!-- does not include client classes, moved to samclient.jar -->
    6267    <target name="jar" depends="compile, jarUpToDate, listChangedFiles" unless="jar.uptodate" >
    6368        <!-- set if unset -->
    6469        <property name="workspace.changes.tr" value="" />
    65         <jar destfile="./build/sam.jar" basedir="./build/obj" includes="**/*.class">
     70        <jar destfile="./build/sam.jar" basedir="./build/obj" includes="**/*.class" excludes="net/i2p/sam/client/*">
     71            <manifest>
     72                <attribute name="Main-Class" value="net.i2p.sam.SAMBridge" />
     73                <attribute name="Class-Path" value="i2p.jar mstreaming.jar streaming.jar" />
     74                <attribute name="Implementation-Version" value="${full.version}" />
     75                <attribute name="Build-Date" value="${build.timestamp}" />
     76                <attribute name="Base-Revision" value="${workspace.version}" />
     77                <attribute name="Workspace-Changes" value="${workspace.changes.tr}" />
     78            </manifest>
     79        </jar>
     80    </target>
     81
     82    <target name="clientjar" depends="compile, listChangedFiles" >
     83        <!-- set if unset -->
     84        <property name="workspace.changes.tr" value="" />
     85        <jar destfile="./build/samclient.jar" basedir="./build/obj" includes="net/i2p/sam/client/*.class">
    6686            <manifest>
    6787                <attribute name="Main-Class" value="net.i2p.sam.SAMBridge" />
  • build.xml

    rb3f3a60c rc902d4c  
    403403            <group title="I2PSnark Application" packages="org.klomp.snark:org.klomp.snark.*" />
    404404            <group title="I2PTunnel Application" packages="net.i2p.i2ptunnel:net.i2p.i2ptunnel.*" />
    405             <group title="SAM Bridge" packages="net.i2p.sam:net.i2p.sam.client" />
     405            <group title="SAM Bridge" packages="net.i2p.sam" />
    406406            <group title="SusiDNS Application" packages="i2p.susi.dns" />
    407407            <group title="SusiMail Application" packages="i2p.susi.webmail:i2p.susi.webmail.*:i2p.susi.debug:i2p.susi.util" />
Note: See TracChangeset for help on using the changeset viewer.