Changeset 8c880b2 for build.xml


Ignore:
Timestamp:
Mar 29, 2010 9:21:56 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
55e45c4
Parents:
c43b16c
Message:

prep for a windows-only pkg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • build.xml

    rc43b16c r8c880b2  
    265265    </target>
    266266
    267     <target name="preppkg" depends="preppkg-linux, buildexe">
     267    <target name="preppkg" depends="preppkg-linux, preppkg-windows">
    268268        <copy file="build/jbigi.jar" todir="pkg-temp/lib" />
     269        <copy todir="pkg-temp/lib/wrapper/freebsd/">
     270            <fileset dir="installer/lib/wrapper/freebsd/" />
     271        </copy>
     272        <copy todir="pkg-temp/lib/wrapper/macosx/">
     273            <fileset dir="installer/lib/wrapper/macosx/" />
     274        </copy>
     275        <copy todir="pkg-temp/lib/wrapper/solaris/">
     276            <fileset dir="installer/lib/wrapper/solaris/" />
     277        </copy>
     278    </target>
     279
     280    <target name="preppkg-windows-only" depends="preppkg-windows">
     281        <!-- rip the non-windows stuff out of jbigi.jar -->
     282        <mkdir dir="tmpextract" />
     283        <unjar src="build/jbigi.jar" dest="tmpextract/" />
     284        <jar destfile="pkg-temp/lib/jbigi.jar" >
     285            <fileset dir="tmpextract/" includes="*windows*" />
     286        </jar>
     287        <delete dir="tmpextract/" />
     288    </target>
     289
     290    <target name="preppkg-windows" depends="preppkg-base, buildexe">
    269291        <copy file="i2p.exe" todir="pkg-temp/" failonerror="false" />
    270292        <copy file="apps/systray/java/lib/systray4j.dll" todir="pkg-temp/lib" />
     
    277299        <copy file="installer/resources/postinstall.bat" todir="pkg-temp/" />
    278300        <copy file="installer/resources/uninstall_i2p_service_winnt.bat" todir="pkg-temp/" />
    279         <copy todir="pkg-temp/lib/wrapper/freebsd/">
    280             <fileset dir="installer/lib/wrapper/freebsd/" />
    281         </copy>
    282         <copy todir="pkg-temp/lib/wrapper/macosx/">
    283             <fileset dir="installer/lib/wrapper/macosx/" />
    284         </copy>
    285         <copy todir="pkg-temp/lib/wrapper/solaris/">
    286             <fileset dir="installer/lib/wrapper/solaris/" />
    287         </copy>
    288301        <copy todir="pkg-temp/lib/wrapper/win32/">
    289302            <fileset dir="installer/lib/wrapper/win32/" />
     
    302315    </target>
    303316
    304     <target name="preppkg-linux" depends="build, preplicenses, prepconsoleDocs">
     317    <target name="preppkg-linux" depends="preppkg-base">
     318        <copy file="installer/resources/runplain.sh" todir="pkg-temp/" />
     319        <copy file="apps/i2psnark/launch-i2psnark" todir="pkg-temp/" />
     320        <copy file="installer/resources/eepget" todir="pkg-temp/" />
     321        <copy file="installer/resources/i2prouter" todir="pkg-temp/" />
     322        <copy file="installer/resources/osid" todir="pkg-temp/" />
     323        <copy file="installer/resources/postinstall.sh" todir="pkg-temp/" />
     324        <copy todir="pkg-temp/lib/wrapper/linux/">
     325            <fileset dir="installer/lib/wrapper/linux/" />
     326        </copy>
     327        <copy todir="pkg-temp/lib/wrapper/linux64/">
     328            <fileset dir="installer/lib/wrapper/linux64/" />
     329        </copy>
     330    </target>
     331
     332    <target name="preppkg-base" depends="build, preplicenses, prepconsoleDocs">
    305333        <copy file="build/i2p.jar" todir="pkg-temp/lib/" />
    306334        <copy file="build/i2ptunnel.jar" todir="pkg-temp/lib/" />
     
    321349        <copy file="build/systray.jar" todir="pkg-temp/lib" />
    322350        <copy file="build/i2psnark.jar" todir="pkg-temp/lib/" />
    323         <copy file="installer/resources/runplain.sh" todir="pkg-temp/" />
    324351        <copy file="apps/systray/java/lib/systray4j.jar" todir="pkg-temp/lib" />
    325352        <copy file="build/i2ptunnel.war" todir="pkg-temp/webapps/" />
     
    331358        <copy file="apps/susidns/src/WEB-INF/lib/standard.jar" todir="pkg-temp/lib/" />
    332359        <copy file="build/i2psnark.war" todir="pkg-temp/webapps/" />
    333         <copy file="apps/i2psnark/launch-i2psnark" todir="pkg-temp/" />
    334360        <copy file="apps/i2psnark/jetty-i2psnark.xml" todir="pkg-temp/" />
    335361        <copy file="apps/i2psnark/i2psnark.config" todir="pkg-temp/" />
    336362        <copy file="installer/resources/blocklist.txt" todir="pkg-temp/" />
    337363        <copy file="installer/resources/clients.config" todir="pkg-temp/" />
    338         <copy file="installer/resources/eepget" todir="pkg-temp/" />
    339         <copy file="installer/resources/i2prouter" todir="pkg-temp/" />
    340364        <copy file="installer/resources/i2ptunnel.config" todir="pkg-temp/" />
    341         <copy file="installer/resources/osid" todir="pkg-temp/" />
    342         <copy file="installer/resources/postinstall.sh" todir="pkg-temp/" />
    343365        <copy file="installer/resources/systray.config" todir="pkg-temp/" />
    344366        <copy file="installer/resources/wrapper.config" todir="pkg-temp/" />
    345         <copy todir="pkg-temp/lib/wrapper/linux/">
    346             <fileset dir="installer/lib/wrapper/linux/" />
    347         </copy>
    348         <copy todir="pkg-temp/lib/wrapper/linux64/">
    349             <fileset dir="installer/lib/wrapper/linux64/" />
    350         </copy>
    351367        <copy file="installer/resources/hosts.txt" todir="pkg-temp/" />
    352368        <copy file="INSTALL-headless.txt" todir="pkg-temp/" />
Note: See TracChangeset for help on using the changeset viewer.