加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.xml 129.27 KB
一键复制 编辑 原始数据 按行查看 历史
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652
<?xml version="1.0" encoding="UTF-8"?>
<!-- Created by Emil Ivov on Jul 6, 2005 8:30:22 PM-->
<project default="ant-usage" name="jitsi">
<dirname property="sc.basedir" file="${ant.file.jitsi}"/>
<property environment="system"/>
<property name="jdk.home" value="/usr/java/java"/>
<property name="dest" value="classes"/>
<property name="bundles.dest" value="sc-bundles"/>
<property name="bundles.dest.mac" value="${bundles.dest}/os-specific/macosx"/>
<property name="bundles.dest.win" value="${bundles.dest}/os-specific/windows"/>
<property name="bundles.dest.lin" value="${bundles.dest}/os-specific/linux"/>
<property name="bundles.dest.freebsd" value="${bundles.dest}/os-specific/freebsd"/>
<property name="bundles.dest.android" value="${bundles.dest}/os-specific/android"/>
<property name="doc" value="doc"/>
<property name="java.doc" value="${doc}/api"/>
<property name="lib" value="${sc.basedir}/lib"/>
<property name="lib.win" value="${lib}/os-specific/windows"/>
<property name="lib.win.noinst" value="${lib}/os-specific/windows/installer-exclude"/>
<property name="lib.lin" value="${lib}/os-specific/linux"/>
<property name="lib.lin.noinst" value="${lib}/os-specific/linux/installer-exclude"/>
<property name="lib.mac" value="${lib}/os-specific/mac"/>
<property name="lib.mac.noinst" value="${lib}/os-specific/mac/installer-exclude"/>
<property name="lib.freebsd" value="${lib}/os-specific/freebsd"/>
<property name="lib.freebsd.noinst" value="${lib}/os-specific/freebsd/installer-exclude"/>
<property name="lib.noinst" value="${lib}/installer-exclude"/>
<property name="native.libs" value="${lib}/native"/>
<property name="src" value="${sc.basedir}/src"/>
<property name="src2" value="${sc.basedir}/test"/>
<property name="testsrc" value="${src2}"/>
<property name="home" value="${system.HOME}"/>
<property name="bin" value="sip-communicator.bin"/>
<property name="utest.bin" value="sip-communicator.utest.bin"/>
<property name="test.reports.dir" value="test-reports"/>
<property name="test.html.reports.dir" value="${test.reports.dir}/html"/>
<property name="test.local.properties.file" value="${lib}/testing.properties"/>
<property name="test.accounts.properties.file" value="${lib}/accounts.properties"/>
<property name="release" value="release"/>
<property name="log" value="log"/>
<property name="release.src" value="${release}/install"/>
<property name="resources" value="${dest}/resources"/>
<property name="inst.resrc" value="${sc.basedir}/resources/install"/>
<property name='j2se_api' value='http://java.sun.com/j2se/1.5/docs/api' />
<property name='maxwarns' value='10000' />
<property name='java.net.preferIPv6Addresses' value='true' />
<!-- set the build label property and make it take the cc bild into account -->
<condition property="build.label"
value="${label}">
<isset property="label"/>
</condition>
<!-- windows specific properties -->
<condition property="is.running.windows" value="${os.name}">
<os family="windows"/>
</condition>
<condition property="os.lib.home" value="${lib.win}">
<and>
<isset property="is.running.windows"/>
<available file="${lib.win}" type="dir"/>
</and>
</condition>
<!-- Make sure we use the windows-64 natives if this is 64-bit Windows. Note
that properties are case-sensitive even if the environment variables on
the operating system are not. For example, Windows's system path
variable may be set to an Ant property "system.Path" rather than
"system.PATH". -->
<condition property="path"
value="${lib}/native/windows-64:${system.PATH}:${system.Path}">
<and>
<isset property="is.running.windows"/>
<os arch="amd64" />
</and>
</condition>
<!-- Otherwise and if this is still Windows, go for the windows natives
(i.e. os.arch==i386) -->
<condition property="path"
value="${lib}/native/windows:${system.PATH}:${system.Path}">
<isset property="is.running.windows"/>
</condition>
<!-- At last i.e. if this is not Windows, use the system PATH environment
variable -->
<property name="path" value="${system.PATH}"/>
<condition property="bundles.dest.os" value="${bundles.dest.win}">
<isset property="is.running.windows"/>
</condition>
<!-- linux specific properties -->
<condition property="is.running.linux" value="${os.name}">
<equals arg1="${os.name}" arg2="linux" casesensitive="false" trim="true"/>
</condition>
<condition property="os.lib.home" value="${lib.lin}">
<and>
<isset property="is.running.linux"/>
<available file="${lib.lin}" type="dir"/>
</and>
</condition>
<!-- make sure we use the linux-64 natives if this is a 64 bit system-->
<condition property="ld.library.path"
value="${lib}/native/linux-64:${system.LD_LIBRARY_PATH}">
<and>
<isset property="is.running.linux"/>
<os arch="amd64" />
</and>
</condition>
<!-- otherwise we go for the normal linuxnatives (i.e. os.arch==i386)-->
<condition property="ld.library.path"
value="${lib}/native/linux:${system.LD_LIBRARY_PATH}">
<isset property="is.running.linux"/>
</condition>
<condition property="bundles.dest.os" value="${bundles.dest.lin}">
<isset property="is.running.linux"/>
</condition>
<!-- mac specific properties -->
<condition property="is.running.macos" value="${os.name}">
<os family="mac"/>
</condition>
<condition property="os.lib.home" value="${lib}/os-specific/mac">
<and>
<isset property="is.running.macos"/>
<available file="${lib}/os-specific/mac" type="dir"/>
</and>
</condition>
<condition property="dyld.library.path"
value="${lib}/native/mac:${system.DYLD_LIBRARY_PATH}">
<isset property="is.running.macos"/>
</condition>
<condition property="bundles.dest.os" value="${bundles.dest.mac}">
<isset property="is.running.macos"/>
</condition>
<!-- FreeBSD specific properties -->
<condition property="is.running.freebsd" value="${os.name}">
<equals arg1="${os.name}" arg2="freebsd" casesensitive="false" trim="true"/>
</condition>
<!-- make sure we use the freebsd-64 natives if this is a 64 bit system-->
<condition property="ld.library.path"
value="${lib}/native/freebsd-64:${system.LD_LIBRARY_PATH}">
<and>
<isset property="is.running.freebsd"/>
<os arch="amd64" />
</and>
</condition>
<!-- otherwise we go for the normal freebsd natives (i.e. os.arch==i386)-->
<condition property="ld.library.path"
value="${lib}/native/freebsd:${system.LD_LIBRARY_PATH}">
<isset property="is.running.freebsd"/>
</condition>
<condition property="os.lib.home" value="${lib}/os-specific/freebsd">
<and>
<isset property="is.running.freebsd"/>
<available file="${lib}/os-specific/freebsd" type="dir"/>
</and>
</condition>
<condition property="ld.library.path"
value="${lib}/native/freebsd:${system.LD_LIBRARY_PATH}">
<isset property="is.running.freebsd"/>
</condition>
<condition property="bundles.dest.os" value="${bundles.dest.freebsd}">
<isset property="is.running.freebsd"/>
</condition>
<!-- set the os.lib.home here in case it was not set before -->
<property name="os.lib.home" value="${lib}"/>
<tstamp>
<format property="build.date" pattern="dd-MM-yyyy"/>
</tstamp>
<path id="project.source.path">
<!-- refer to both main and test source files. -->
<pathelement location="${src}"/>
<pathelement location="${src2}"/>
</path>
<path id="project.class.path">
<pathelement location="${lib}"/>
<pathelement location="${bundles.dest}/sc-launcher.jar"/>
<!-- Add this bundle to the global class path as we need
the ScLogFormatter there-->
<pathelement location="${bundles.dest}/util.jar"/>
<!-- for mac specific plugins -->
<pathelement location="/System/Library/Java"/>
<!-- Include all JAR files found in lib and any of its subdirectories. -->
<fileset dir="${lib}">
<include name="*.jar"/>
<include name="installer-exclude/*.jar"/>
<include name="bundle/*.jar"/>
</fileset>
<fileset dir="${os.lib.home}">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="compile.class.path">
<path refid="project.class.path"/>
<pathelement location="${dest}"/>
<!-- Add all jmf's and jdic's to the compile class path to enable
cross compilation. -->
<fileset dir="${lib}">
<include name="os-specific/**/*.jar"/>
</fileset>
</path>
<path id="debug.class.path">
<!-- used by netbeans but might be useful elsewhere. -->
<path refid="project.class.path"/>
<!-- Include all test JAR files . -->
<fileset dir="${bundles.dest}">
<include name="**/*.jar"/>
</fileset>
</path>
<path id="simple.test.class.path">
<!-- used for testing classes outside felix -->
<path refid="debug.class.path"/>
<!-- Include all test class files, even if they exist
in a jar file already. -->
<pathelement location="${dest}" />
</path>
<!-- Import installation build xml -->
<import file="${inst.resrc}/build.xml"/>
<!-- Import JNI build xml -->
<import file="${src}/native/build.xml"/>
<!-- default Ant target does nothing except print helpful options -->
<!-- Ant-external target will appear in -projecthelp output -->
<target name="ant-usage"
description="simply execute 'ant' to discover the most useful targets.">
<echo message="Useful ant commands for the Jitsi Project..." />
<echo message="'ant rebuild' for a safe clean/build sequence" />
<echo message="'ant rebuild run' for a safe clean/build/run" />
<echo message="'ant make run' for incremental build/run" />
<echo message="'ant run' to run the last build (use with care!)" />
<echo message="'ant test' to run the tests over the last build" />
<echo message="'ant rebuild test' for safe clean/build/test sequence" />
<echo message="'ant make test' for incremental build/test sequence" />
<echo message="'ant -projecthelp' for other useful build targets" />
<echo message="'ant -help' for Ant help" />
</target>
<!-- java compile -->
<target name="compile" depends="init,version,-pre-googlecontacts">
<!--internal-target- compiles the entire project source tree -->
<javac classpathref="compile.class.path" debug="true"
deprecation="true" destdir="${dest}" nowarn="false"
includeantruntime="false"
source="1.8" target="1.8" memoryMaximumSize="400M" fork="true">
<src path="${src}"/>
<src path="${src2}"/>
<include name="**/*.java" />
<compilerarg line="-Xlint -Xlint:-serial -Xlint:-unchecked -Xlint:-rawtypes -Xmaxwarns ${maxwarns}"/>
</javac>
</target>
<!-- clean -->
<target name="clean" depends="clean-bundle-repositories,clean-test-reports,clean-macosx"
description="Remove all generated files and prepare for a clean build.">
<delete failonerror="false" includeemptydirs="true">
<fileset dir="${dest}"/>
<fileset dir="${bundles.dest}"/>
<fileset dir="${java.doc}"/>
<fileset dir="${release}"/>
<fileset dir="${log}"/>
</delete>
</target>
<!-- clean-bundles -->
<target name="clean-bundles"
description="Remove all existing bundles">
<delete failonerror="false" includeemptydirs="true">
<fileset dir="${bundles.dest}"/>
</delete>
</target>
<!-- internal target - removes the current set of test reports, so
residual data is not left to confuse a cached browser -->
<target name="clean-test-reports">
<delete failonerror="false" includeemptydirs="true">
<fileset dir="${test.reports.dir}"/>
</delete>
</target>
<!-- internal target - removes the OSGI repositories, so that next run
recreates them -->
<target name="clean-bundle-repositories">
<delete failonerror="false" includeemptydirs="true">
<fileset dir="${bin}" erroronmissingdir="false"/>
<fileset dir="${utest.bin}" erroronmissingdir="false"/>
</delete>
</target>
<!-- resource -->
<target name="resource">
<!--internal-target- Copies all resource file to the ${dest} dir -->
<copy todir="${dest}">
<fileset dir="${src}">
<include name="**/*.jpeg"/>
<include name="**/*.wav"/>
<include name="**/*.au"/>
<include name="**/*.gif"/>
<include name="**/*.png"/>
<include name="**/*.PNG"/>
<include name="**/*.jpg"/>
<include name="**/*.xml"/>
<include name="**/*.themerc"/>
<include name="**/gtkrc"/>
<include name="**/*.css"/>
<include name="**/*.properties"/>
</fileset>
<fileset dir="${src2}">
<include name="**/*.jpeg"/>
<include name="**/*.wav"/>
<include name="**/*.au"/>
<include name="**/*.gif"/>
<include name="**/*.png"/>
<include name="**/*.jpg"/>
<include name="**/*.xml"/>
<include name="**/*.properties"/>
</fileset>
</copy>
<copy todir="${resources}">
<fileset dir="${sc.basedir}/resources">
<include name="**/*"/>
<exclude name="**/languages/**"/>
<exclude name="**/*.svg"/>
</fileset>
</copy>
</target>
<target name="native2ascii">
<!-- internal target -
convert language property files encoding from UTF-8 to ASCII,
save converted files in ${resources}/languages dir -->
<native2ascii
src="${sc.basedir}/resources/languages"
dest="${resources}/languages"
encoding="UTF-8"
includes="**/*.properties"/>
</target>
<!-- JAVADOC -->
<target name="javadoc"
description="Generates project javadoc.">
<javadoc author="true" destdir="${java.doc}" package="true"
version="true" use="true" windowtitle="Jitsi API"
classpathref="compile.class.path" source="1.6+" maxmemory="256m">
<packageset dir="${src}">
<exclude name="net/java/sip/communicator/impl/version/**"/>
<include name="**"/>
</packageset>
<tag name="todo" description="To do:"/>
<tag name="note" description="Note:"/>
<link href="${j2se_api}" />
<header>
<![CDATA[
<b> Jitsi: the OpenSource Java VoIP and Instant Messaging client. </b>
]]>
</header>
<bottom>
<![CDATA[
<font size="-1">
<a href="http://jitsi.org"> Jitsi, the OpenSource Java VoIP and Instant Messaging client. </a>
<br>
<a href="http://www.apache.org/licenses/LICENSE-2.0"> Distributable under Apache license. </a>
<br>
</font>
]]>
</bottom>
<!-- link to libjitsi and ice4j -->
<link href="http://dev.jitsi.org/libjitsi/javadoc/"/>
<link href="http://dev.jitsi.org/ice4j/javadoc/"/>
</javadoc>
</target>
<!--PACKAGE-->
<!--Copy resource files and update bundles jars. -->
<target name="package" depends="resource,native2ascii,bundles"/>
<!--MAKE-->
<target name="make" depends="clean-bundle-repositories,compile,package"
description="Incremental compile and package the project."/>
<!--REBUILD-->
<target name="rebuild" depends="clean,make"
description="Clean and make the project (including bundles).">
<echo message="ver=${sip-communicator.version}"/>
</target>
<!-- make and deploy target used in intellij idea -->
<target name="make-and-deploy"
depends="make,deploy-os-specific-bundles"
description="make and deploy target used in intellij idea"/>
<!-- Determines the Jitsi version if any-->
<target name="-pre-version" if="build.label" >
<!-- create a class that would contain our nightly build.id if any -->
<copy file="${src}/net/java/sip/communicator/impl/version/NightlyBuildID.java.tmpl"
tofile="${src}/net/java/sip/communicator/impl/version/NightlyBuildID.java"
overwrite="true"/>
<!-- set the build id according to the cruisecontrol property -->
<replace file="${src}/net/java/sip/communicator/impl/version/NightlyBuildID.java"
token="build.id" value="${build.label}"/>
<!-- set the build id according to the cruisecontrol property -->
<replace file="${src}/net/java/sip/communicator/impl/version/RevisionID.java"
token="revision.id" value="${build.label}"/>
</target>
<!-- Jitsi Version -->
<target name="version" depends="bundle-bundles,-pre-version">
<!-- Recompile ant task classes-->
<delete failonerror="false">
<fileset dir="${dest}" includes="net/java/sip/communicator/impl/version/*.class"/>
</delete>
<javac
classpathref="compile.class.path" includeantruntime="false"
destdir="${dest}" source="1.8" target="1.8">
<src path="${src}"/>
<include name="net/java/sip/communicator/impl/version/NightlyBuildID.java" />
<include name="net/java/sip/communicator/impl/version/VersionImpl.java" />
<include name="net/java/sip/communicator/impl/version/SipCommunicatorVersionTask.java" />
</javac>
<taskdef
name="sip-communicator-version"
classname="net.java.sip.communicator.impl.version.SipCommunicatorVersionTask">
<classpath>
<pathelement path="${dest}"/>
<pathelement location="${bundles.dest}/libjitsi.jar"/>
<pathelement location="${bundles.dest}/jitsi-utils.jar"/>
</classpath>
</taskdef>
<sip-communicator-version property="sip-communicator.version" />
<echo message="Jitsi version ${sip-communicator.version}" />
</target>
<!--INIT-->
<target name="init" >
<mkdir dir="${dest}"/>
<mkdir dir="${doc}"/>
<mkdir dir="${java.doc}"/>
<mkdir dir="${bundles.dest}"/>
<!-- create dirs for os specific bundles -->
<mkdir dir="${bundles.dest}/os-specific"/>
<mkdir dir="${bundles.dest.mac}"/>
<mkdir dir="${bundles.dest.lin}"/>
<mkdir dir="${bundles.dest.win}"/>
<mkdir dir="${bundles.dest.freebsd}"/>
<mkdir dir="${bundles.dest.android}"/>
<mkdir dir="${test.reports.dir}"/>
<mkdir dir="${test.reports.dir}/html"/>
<mkdir dir="${release}"/>
<mkdir dir="${log}"/>
</target>
<!-- - - - - - - - - - - - - - UNIT TESTING - - - - - - - - - - - - - - -->
<!--PREPARE-TESTING-ACCOUNTS-->
<target name="prepare-local-accounts">
<!--internal-target- setup testing accounts properties -->
<!-- The following local file should contain a list of protocol
account initialization properties, such as SIP server addresses
and usernames, ICQ uin-s and passwords, AIM screennames and etc.
You should create the file based on lib/account.properties.template
and set all the empty fields as indicated. -->
<available property="accounts.properties.present"
file="${test.accounts.properties.file}"/>
<fail unless="accounts.properties.present"
message="${test.accounts.properties.file} not found - did you copy the template?"/>
<property file="${test.accounts.properties.file}"/>
</target>
<!--PREPARE-TESTS-TO-BE-RUN-->
<target name="identify-test">
<!--internal-target- is a single slick defined to be run alone? -->
<condition property="test.name.known">
<!-- has a single test class has been defined? -->
<!-- e.g. ant test -Dtest.name=SlickName -->
<isset property="test.name"/>
</condition>
</target>
<target name="prepare-single-test"
depends="identify-test"
if="test.name.known">
<!--internal-target- prepare to run a single Service Impl Compatibility Kit -->
<!-- extract the simple Test class name...
Command prompt ant calls should define the property as the
simple name (without the package hierarchy),
e.g. -Dtest.name=GibberishProtocolProviderServiceLick
netbeans must format the property using the relative-path-noext
rule so that we can extract the simple name. The Felix
slick runner ONLY works with unqualified class names. -->
<basename property="short.test.name" file="${test.name}"/>
<!-- Tell the slick runner which Test class to run. (This will prevent
the default external list from being defined.) At this
stage we don't know if it will run under felix or standalone-->
<property name="net.java.sip.communicator.slick.runner.TEST_LIST"
value="${short.test.name}"/>
<property name="net.java.sip.communicator.slick.runner.SLICKLESS_TEST_LIST"
value="${short.test.name}"/>
</target>
<target name="prepare-all-tests"
depends="clean-test-reports,prepare-single-test">
<!--internal-target- prepare to run all selected Service Impl Compatibility Kits -->
<!-- load properties needed for running any/all automated tests.
n.b. the local file will select what is meant on this system by
"all tests" UNLESS a single test has already been selected. (This
is because ant will not replace a property value once set.) -->
<available property="test.properties.present"
file="${test.local.properties.file}"/>
<fail unless="test.properties.present"
message="${test.local.properties.file} not found - did you copy the template?"/>
<property file="${test.local.properties.file}"/>
<echo message="tests prepared: ${net.java.sip.communicator.slick.runner.TEST_LIST}" />
<echo message="slickless tests prepared: ${net.java.sip.communicator.slick.runner.SLICKLESS_TEST_LIST}" />
</target>
<!--RUN-TESTS-->
<target name="test"
depends="prepare-all-tests,prepare-local-accounts,deploy-os-specific-bundles"
description="Starts felix and runs selected Service Impl Compatibility Kits.">
<condition property="logging.config.file"
value="${custom.logging.config.file}"
else="${lib}/logging.properties">
<isset property="custom.logging.config.file"/>
</condition>
<!-- Do the testing itself. Note that we don't fail on error as we need
to generate an html report before leaving this target.-->
<java classname="org.apache.felix.main.Main"
fork="true"
failonerror="false"
resultproperty="test.result.code"
classpathref="project.class.path">
<!--
<jvmarg value="-Xdebug" />
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5432" />
-->
<!-- Tell felix to run as a test environment-->
<sysproperty key="felix.config.properties"
value="file:${lib}/felix.unit.test.properties"/>
<!-- Tell the slick runner where to store test results. -->
<sysproperty key="net.java.sip.communicator.slick.runner.OUTPUT_DIR"
value="${test.reports.dir}"/>
<sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION"
value="${test.reports.dir}"/>
<sysproperty key="net.java.sip.communicator.SC_HOME_DIR_NAME"
value="schome"/>
<!-- Tell the slick runner which Test classes to run. -->
<sysproperty key="net.java.sip.communicator.slick.runner.TEST_LIST"
value="${net.java.sip.communicator.slick.runner.TEST_LIST}"/>
<!-- Tell the slickless runner which Test classes to run. -->
<sysproperty key="net.java.sip.communicator.slick.runner.SLICKLESS_TEST_LIST"
value="${net.java.sip.communicator.slick.runner.SLICKLESS_TEST_LIST}"/>
<!-- use a meta contact list file different to normal client. -->
<sysproperty key="net.java.sip.communicator.CONTACTLIST_FILE_NAME"
value="net.java.sip.communicator.CONTACTLIST_FILE_NAME"/>
<!-- use a configuration file different to normal client. -->
<sysproperty key="net.java.sip.communicator.CONFIGURATION_FILE_NAME"
value="net.java.sip.communicator.CONFIGURATION_FILE_NAME"/>
<!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file"
value="${logging.config.file}"/>
<!-- Tell all protocol testers their account details. -->
<syspropertyset id="accounts">
<propertyref prefix="accounts"/>
<propertyref prefix="net"/>
</syspropertyset>
<!-- Setting properties necessary for dependencies on native libs.-->
<sysproperty key="java.library.path"
path="${ld.library.path}:${path}:${dyld.library.path}"/>
<sysproperty key="jna.library.path"
path="${ld.library.path}:${path}:${dyld.library.path}"/>
<env key="LD_LIBRARY_PATH" path="${ld.library.path}"/>
<env key="PATH" path="${path}"/>
<env key="DYLD_LIBRARY_PATH" path="${dyld.library.path}"/>
<env key="DISPLAY" path=":0"/>
<!-- Disable audio support when running test, audio is not used
and the test machine has no audio device
-->
<sysproperty key="net.java.sip.communicator.service.media.DISABLE_AUDIO_SUPPORT"
value="false"/>
<sysproperty key="net.java.sip.communicator.impl.neomedia.audioSystem"
value="audiosilence"/>
</java>
<!-- Generate the html report.
Run it quietly (i.e. redirect the output) because we don't won't to
see its "Build Successful" output line as users might confuse it
for a general build success while this might not be the case.-->
<echo message="Generating HTML test reports ..."/>
<junitreport todir="${test.reports.dir}">
<fileset dir="${test.reports.dir}">
<include name="SC-TEST-*.xml"/>
</fileset>
<report format="frames" todir="${test.html.reports.dir}"/>
</junitreport>
<echo message="Done."/>
<echo/><echo/>
<echo message="Test results available in ./test-reports/html/index.html "/>
<echo/>
<!-- Check whether testing went alright and fail if not.-->
<condition property="testing.failed">
<not>
<equals arg1="0"
arg2="${test.result.code}"
casesensitive="false" trim="true"/>
</not>
</condition>
<fail if="testing.failed"/>
</target>
<target name="run-simple-tests"
depends="prepare-all-tests,prepare-local-accounts,deploy-os-specific-bundles"
description="runs selected non-felix tests under junit.">
<junit haltonfailure="true" fork="true">
<formatter type="brief" usefile="false"/>
<test name="net.java.sip.communicator.slick.slickless.SlicklessTests"/>
<classpath refid="simple.test.class.path" />
<!-- Tell the slickless runner which Test classes to run. -->
<sysproperty key="net.java.sip.communicator.slick.runner.SLICKLESS_TEST_LIST"
value="${net.java.sip.communicator.slick.runner.SLICKLESS_TEST_LIST}"/>
<!-- Tell the slick runner where to store test results. -->
<sysproperty key="net.java.sip.communicator.slick.runner.OUTPUT_DIR"
value="${test.reports.dir}"/>
<sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION"
value="${test.reports.dir}"/>
<sysproperty key="net.java.sip.communicator.SC_HOME_DIR_NAME"
value="schome"/>
<!-- use a meta contact list file different to normal client. -->
<sysproperty key="net.java.sip.communicator.CONTACTLIST_FILE_NAME"
value="net.java.sip.communicator.CONTACTLIST_FILE_NAME"/>
<!-- use a configuration file different to normal client. -->
<sysproperty key="net.java.sip.communicator.CONFIGURATION_FILE_NAME"
value="net.java.sip.communicator.CONFIGURATION_FILE_NAME"/>
<!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file"
value="${lib}/logging.properties"/>
<!-- Tell all protocol testers their account details. -->
<syspropertyset id="accounts">
<propertyref prefix="accounts"/>
<propertyref prefix="net"/>
</syspropertyset>
</junit>
</target>
<!--DEBUG-JITSI -->
<target name="debug" depends="deploy-os-specific-bundles"
description="Starts jitsi and wait for debugger to connect on port 5432">
<!-- we allow users to pass command line args using the "args" system
property. However we need to manually set tha prop to an empty
string here or otherwise the application would get an argument with
the value ${args}-->
<property name="args" value=""/>
<!-- Jitsi on Mac OS X uses a JVMTI agent to handle kAEGetURL
AppleScript events. -->
<condition property="jvmarg.line"
value="-agentlib:AEGetURLEventHandlerAgent -Xdock:name='Jitsi' -Xdock:icon='resources/images/logo/sc_logo_128x128.icns'"
else="">
<isset property="is.running.macos"/>
</condition>
<condition property="jvm.maxheapsize"
value="-Xmx256m"
else="" >
<os arch="i386" />
</condition>
<!-- forking prevents from debugging -->
<java classname="net.java.sip.communicator.launcher.SIPCommunicator"
fork="true"
failonerror="true"
classpathref="project.class.path">
<!-- Sets the charset for the messages -->
<!--sysproperty key="icq.custom.message.charset" value="windows-1252"/-->
<!-- Tell felix to run Jitsi -->
<sysproperty key="felix.config.properties"
value="file:${lib}/felix.client.run.properties"/>
<!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file"
value="${lib}/logging.properties"/>
<sysproperty key="java.net.preferIPv6Addresses"
value="${java.net.preferIPv6Addresses}"/>
<!--sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION"
value="${user.home}"/>
<sysproperty key="net.java.sip.communicator.SC_HOME_DIR_NAME"
value="schome"/-->
<sysproperty key="smack.debugEnabled"
value="${smack.debugEnabled}"/>
<!--sysproperty key="smack.debuggerClass"
value="org.jivesoftware.smack.debugger.ConsoleDebugger"/-->
<!-- Setting properties necessary for dependencies on native libs.-->
<sysproperty key="java.library.path"
path="${ld.library.path}:${path}:${dyld.library.path}"/>
<sysproperty key="jna.library.path"
path="${ld.library.path}:${path}:${dyld.library.path}"/>
<env key="LD_LIBRARY_PATH" path="${ld.library.path}"/>
<env key="PATH" path="${path}"/>
<env key="DYLD_LIBRARY_PATH" path="${dyld.library.path}"/>
<!-- pass l10n properties from ant call for
easy translation debugging -->
<sysproperty key="user.language" value="${user.language}" />
<sysproperty key="user.country" value="${user.country}" />
<sysproperty key="user.variant" value="${user.variant}" />
<!-- make sure that we automatically enable system.out when running
Jitsi from Ant-->
<arg line="--debug"/>
<!-- pass to SC args that have been specified by the user -->
<arg line="${args}"/>
<jvmarg value="-Xdebug" />
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5432" />
<!-- prevent server-class
detection because -server uses much more memory for 32-bit OS
(64-bit always used -server) -->
<jvmarg line="${jvmarg.line} -client ${jvm.maxheapsize}"/>
<sysproperty key="apple.laf.useScreenMenuBar" value="true" />
</java>
</target>
<!--RUN-JITSI -->
<target name="run" depends="deploy-os-specific-bundles,load-properties"
description="Starts felix and runs sip-comunicator gui (use latest build).">
<!-- we allow users to pass command line args using the "args" system
property. However we need to manually set tha prop to an empty
string here or otherwise the application would get an argument with
the value ${args}-->
<property name="args" value=""/>
<condition property="jvmarg.line"
value="-Xdock:name='${application.name}' -Xdock:icon='resources/images/logo/sc_logo_128x128.icns'"
else="">
<isset property="is.running.macos"/>
</condition>
<condition property="jvmarg.splash"
value="-splash:resources/install/resources/splash.gif"
else="">
<isset property="splashscreen.enable"/>
</condition>
<!-- Jitsi on Mac OS X uses a JVMTI agent to handle kAEGetURL
AppleScript events. To enable it use jvmarg.aegeturl property -->
<condition property="jvmarg.aegeturl"
value="-agentlib:AEGetURLEventHandlerAgent"
else="">
<isset property="aegeturl.enable"/>
</condition>
<condition property="jvm.maxheapsize"
value="-Xmx256m"
else="" >
<os arch="i386" />
</condition>
<!-- forking prevents from debugging -->
<java classname="net.java.sip.communicator.launcher.SIPCommunicator"
fork="true"
failonerror="true"
classpathref="project.class.path">
<!-- Sets the charset for the messages -->
<!--sysproperty key="icq.custom.message.charset" value="windows-1252"/-->
<!-- Tell felix to run Jitsi -->
<sysproperty key="felix.config.properties"
value="file:${lib}/felix.client.run.properties"/>
<!-- Tell java.util.logging about our logging preferences -->
<sysproperty key="java.util.logging.config.file"
value="${lib}/logging.properties"/>
<sysproperty key="java.net.preferIPv6Addresses"
value="${java.net.preferIPv6Addresses}"/>
<!--sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION"
value="${user.home}"/>
<sysproperty key="net.java.sip.communicator.SC_HOME_DIR_NAME"
value="schome"/-->
<sysproperty key="smack.debugEnabled"
value="${smack.debugEnabled}"/>
<!--sysproperty key="smack.debuggerClass"
value="org.jivesoftware.smack.debugger.ConsoleDebugger"/-->
<!-- Setting properties necessary for dependencies on native libs.-->
<sysproperty key="java.library.path"
path="${ld.library.path}:${path}:${dyld.library.path}"/>
<sysproperty key="jna.library.path"
path="${ld.library.path}:${path}:${dyld.library.path}"/>
<env key="LD_LIBRARY_PATH" path="${ld.library.path}"/>
<env key="PATH" path="${path}"/>
<env key="DYLD_LIBRARY_PATH" path="${dyld.library.path}"/>
<!-- pass l10n properties from ant call for
easy translation debugging -->
<sysproperty key="user.language" value="${user.language}" />
<sysproperty key="user.country" value="${user.country}" />
<sysproperty key="user.variant" value="${user.variant}" />
<!-- make sure that we automatically enable system.out when running
Jitsi from Ant-->
<arg line="--debug"/>
<!-- pass to SC args that have been specified by the user -->
<arg line="${args}"/>
<!-- prevent server-class
detection because -server uses much more memory for 32-bit OS
(64-bit always used -server) -->
<jvmarg line="${jvmarg.line}
-client ${jvm.maxheapsize} ${jvmarg.splash} ${jvmarg.aegeturl}"/>
<sysproperty key="apple.laf.useScreenMenuBar" value="true" />
</java>
</target>
<target name="run-v4" description="Starts SC with a preference for IPv4.">
<ant target="run">
<property name="java.net.preferIPv6Addresses" value="false"/>
</ant>
</target>
<!-- we run this target before we run SC in order to copy os-specific
bundles from sc-bundles/osname to its parent sc-bundles-->
<target name="deploy-os-specific-bundles" if="bundles.dest.os">
<copy todir="${bundles.dest}">
<fileset dir="${bundles.dest.os}">
<include name="**/*.jar"/>
</fileset>
</copy>
</target>
<!--CRUISE CONTROL BUILD LOOP target-->
<target name="cc-buildloop" depends="rebuild,test"
description="Comprehensive (paranoid) rebuild and test (used by Cruise Control)."/>
<!-- - - - - - - - - - - - - - BUNDLE BUILDING TARGETS - - - - - - - - -->
<!--ALL BUNDLES-->
<target name="bundles"
depends="bundle-sc-launcher,bundle-util,bundle-service-dns,
bundle-impl-dns,bundle-dns-config,
bundle-splash-screen,
bundle-configuration,bundle-configuration-slick,
bundle-history,bundle-history-slick,bundle-messagehistory, bundle-msghistory-slick,
bundle-callhistory, bundle-callhistory-slick, bundle-popupmessagehandler-slick,
bundle-netaddr,bundle-netaddr-slick,bundle-slickless,
bundle-slick-runner,bundle-sip,bundle-sip-slick,bundle-fileaccess,
bundle-fileaccess-slick,bundle-neomedia,bundle-ldap,
bundle-googlecontacts-service,bundle-googlecontacts,
bundle-hid-service,bundle-hid,
bundle-resource-manager,bundle-resources-defaultpack,
bundle-protocol,bundle-protocol-media,bundle-icq,
bundle-icq-slick,bundle-mock,bundle-jmdnslib,
bundle-jabber,bundle-jabber-slick,bundle-swing-ui,bundle-ui-service,
bundle-phonenumbers,
bundle-irc,bundle-irc-commands,bundle-plugin-ircaccregwizz,
bundle-contactlist,meta-contactlist,meta-contactlist-slick,
bundle-plugin-icqaccregwizz,bundle-plugin-jabberaccregwizz,
bundle-plugin-sipaccregwizz,
bundle-plugin-aimaccregwizz,
bundle-httputil,bundle-plugin-spellcheck,
bundle-version-impl,bundle-shutdown-timeout,bundle-windows-clean-shutdown,
bundle-growlnotification,bundle-swingnotification,bundle-galagonotification,
bundle-sparkle, bundle-plugin-branding,
bundle-sysactivitynotifications,
bundle-osdependent,bundle-browserlauncher,bundle-systray-service,
bundle-pluginmanager,bundle-skinmanager,
bundle-notification-service,bundle-notification-handlers,
bundle-notification-wiring,bundle-notification-config,
bundle-contacteventhandler,
bundle-plugin-blf,
bundle-plugin-contactinfo,bundle-plugin-chatalerter, bundle-keybindings,
bundle-plugin-keybindingChooser,bundle-plugin-globalproxyconfig,
bundle-update,bundle-plugin-update,
bundle-plugin-simpleaccreg,bundle-plugin-generalconfig,
bundle-plugin-googletalkaccregwizz,bundle-argdelegation-service,
bundle-argdelegation,bundle-json,
bundle-filehistory,bundle-metahistory,bundle-metahistory-slick,
bundle-plugin-ippiaccregwizz,
bundle-plugin-otr,bundle-plugin-iptelaccregwizz,
bundle-contactsource,bundle-plugin-reconnect,bundle-plugin-securityconfig,
bundle-plugin-advancedconfig,
bundle-credentialsstorage,bundle-credentialsstorage-slick,
bundle-plugin-nimbuzzavatar,bundle-custom-avatar,
bundle-replacement,bundle-youtube,bundle-dailymotion,bundle-smiley,
bundle-vimeo,bundle-vbox7,bundle-metacafe,bundle-flickr,bundle-hulu,
bundle-twitpic,bundle-directimage,bundle-bliptv,bundle-viddler,
bundle-plugin-chatconfig,bundle-certificate,bundle-packetlogging,
bundle-plugin-loggingutils,
bundle-provdisc,bundle-provdisc-dhcp,bundle-provdisc-mdns,
bundle-provisioning,bundle-addrbook,bundle-plugin-ldap,
bundle-thunderbird,
bundle-plugin-contactsourceconfig,bundle-plugin-certconfig,
bundle-globalshortcut,bundle-plugin-msofficecomm,
bundle-customcontactactions, bundle-phonenumbercontactsource,
bundle-demuxcontactsource, bundle-muc,
bundle-desktoputil,bundle-globaldisplaydetails,
bundle-usersearch,
bundle-plugin-propertieseditor,bundle-plugin-accountinfo,
bundle-plugin-connectioninfo,
bundle-bundles"/>
<!-- Copying of all unmodified libraries that are already bundles -->
<target name="bundle-bundles">
<copy file="${lib.noinst}/libjitsi-1.0-24-g887fe21e.jar" tofile="${bundles.dest}/libjitsi.jar"/>
<copy file="${lib.noinst}/fmj-1.0-SNAPSHOT.jar" tofile="${bundles.dest}/fmj.jar"/>
<copy file="${lib.noinst}/jitsi-lgpl-dependencies-1.2-1-gfc49658.jar" tofile="${bundles.dest}/jitsi-lgpl-dependencies.jar"/>
<copy file="${lib.noinst}/guava-20.0.jar" tofile="${bundles.dest}/guava.jar"/>
<copy file="${lib.noinst}/hsqldb.jar" tofile="${bundles.dest}/hsqldb.jar"/>
<copy file="${lib.noinst}/irc-api-1.0.jar" tofile="${bundles.dest}/irc-api-1.0.jar"/>
<copy file="${lib.noinst}/slf4j-api-1.7.5.jar" tofile="${bundles.dest}/slf4j-api.jar"/>
<copy file="${lib.noinst}/slf4j-jdk14-1.7.5.jar" tofile="${bundles.dest}/slf4j-jdk14.jar"/>
<copy file="${lib.noinst}/commons-codec-1.6.jar" tofile="${bundles.dest}/commons-codec.jar"/>
<copy file="${lib.noinst}/commons-compress-1.15.jar" tofile="${bundles.dest}/commons-compress.jar"/>
<copy file="${lib.noinst}/commons-lang3-3.9.jar" tofile="${bundles.dest}/commons-lang.jar"/>
<copy file="${lib.noinst}/httpclient-osgi-4.2.3.jar" tofile="${bundles.dest}/httpclient.jar"/>
<copy file="${lib.noinst}/httpcore-osgi-4.2.3.jar" tofile="${bundles.dest}/httpcore.jar"/>
<copy file="${lib.noinst}/sdes4j-1.1.3.jar" tofile="${bundles.dest}/sdes4j.jar"/>
<copy file="${lib.noinst}/bcpkix-jdk15on-1.54.jar" tofile="${bundles.dest}/bcpkix.jar"/>
<copy file="${lib.noinst}/bcprov-jdk15on-1.54.jar" tofile="${bundles.dest}/bouncycastle.jar"/>
<copy file="${lib.noinst}/bccontrib-1.0.jar" tofile="${bundles.dest}/bccontrib.jar"/>
<copy file="${lib.noinst}/jmork-1.0.5.jar" tofile="${bundles.dest}/jmork.jar"/>
<copy file="${lib.noinst}/weupnp-0.1.4.jar" tofile="${bundles.dest}/weupnp.jar"/>
<copy file="${lib.noinst}/ice4j-2.0-20170330.222540-11.jar" tofile="${bundles.dest}/ice4j.jar"/>
<copy file="${lib.noinst}/jitsi-utils-1.0-39-gd481c98.jar" tofile="${bundles.dest}/jitsi-utils.jar"/>
<copy file="${lib.noinst}/sdp-api-1.0.jar" tofile="${bundles.dest}/sdp-api.jar"/>
<copy file="${lib.noinst}/sip-api-1.2-1.2.jar" tofile="${bundles.dest}/sip-api.jar"/>
<copy file="${lib.noinst}/java-sdp-nist-bridge-1.2.jar" tofile="${bundles.dest}/java-sdp-nist-bridge.jar"/>
<copy file="${lib.noinst}/jain-sip-ri-ossonly-1.2.279-jitsi-oss1.jar" tofile="${bundles.dest}/jain-sip-ri.jar"/>
<copy file="${lib.noinst}/dnsjava-2.1.7.jar" tofile="${bundles.dest}/dnsjava.jar"/>
<copy file="${lib.noinst}/dnssecjava-1.1.jar" tofile="${bundles.dest}/dnssecjava.jar"/>
<copy file="${lib.noinst}/jna.jar" tofile="${bundles.dest}/jna.jar"/>
<copy file="${lib.noinst}/jna-platform.jar" tofile="${bundles.dest}/jna-platform.jar"/>
<copy file="${lib.noinst}/zrtp4j-light-4.1.0-jitsi-1-SNAPSHOT.jar" tofile="${bundles.dest}/zrtp4j.jar"/>
<copy file="${lib.noinst}/jnsapi-0.0.3-jitsi-smack4.2-1-SNAPSHOT.jar" tofile="${bundles.dest}/jnsapi.jar"/>
<copy file="${lib.noinst}/org.apache.servicemix.bundles.xpp3-1.1.4c_7.jar" tofile="${bundles.dest}/org.apache.servicemix.bundles.xpp3.jar"/>
<copy file="${lib.noinst}/jitsi-xmpp-extensions-1.0-1-g9b2e85b.jar" tofile="${bundles.dest}/jitsi-xmpp-extensions.jar"/>
<copy file="${lib.noinst}/jbosh-0.9.1.jar" tofile="${bundles.dest}/jbosh.jar"/>
<copy file="${lib.noinst}/smack-bosh-4.2.4.jar" tofile="${bundles.dest}/smack-bosh.jar"/>
<copy file="${lib.noinst}/smack-core-4.2.4.jar" tofile="${bundles.dest}/smack-core.jar"/>
<copy file="${lib.noinst}/smack-debug-4.2.4.jar" tofile="${bundles.dest}/smack-debug.jar"/>
<copy file="${lib.noinst}/smack-extensions-4.2.4.jar" tofile="${bundles.dest}/smack-extensions.jar"/>
<copy file="${lib.noinst}/smack-experimental-4.2.4.jar" tofile="${bundles.dest}/smack-experimental.jar"/>
<copy file="${lib.noinst}/smack-im-4.2.4.jar" tofile="${bundles.dest}/smack-im.jar"/>
<copy file="${lib.noinst}/smack-java7-4.2.4.jar" tofile="${bundles.dest}/smack-java7.jar"/>
<copy file="${lib.noinst}/smack-legacy-4.2.4.jar" tofile="${bundles.dest}/smack-legacy.jar"/>
<copy file="${lib.noinst}/smack-resolver-javax-4.2.4.jar" tofile="${bundles.dest}/smack-resolver-javax.jar"/>
<copy file="${lib.noinst}/smack-sasl-javax-4.2.4.jar" tofile="${bundles.dest}/smack-sasl-javax.jar"/>
<copy file="${lib.noinst}/smack-tcp-4.2.4.jar" tofile="${bundles.dest}/smack-tcp.jar"/>
<copy file="${lib.noinst}/jxmpp-core-0.6.3.jar" tofile="${bundles.dest}/jxmpp-core.jar"/>
<copy file="${lib.noinst}/jxmpp-jid-0.6.3.jar" tofile="${bundles.dest}/jxmpp-jid.jar"/>
<copy file="${lib.noinst}/jxmpp-util-cache-0.6.3.jar" tofile="${bundles.dest}/jxmpp-util-cache.jar"/>
</target>
<!--BUNDLE-SC-LAUNCHER-->
<target name="bundle-sc-launcher">
<jar compress="false" destfile="${bundles.dest}/sc-launcher.jar">
<zipfileset dir="${dest}/net/java/sip/communicator/launcher"
prefix="net/java/sip/communicator/launcher"/>
</jar>
</target>
<!--BUNDLE-SPLASH-SCREEN-->
<target name="bundle-splash-screen">
<jar compress="false"
destfile="${bundles.dest}/splash-screen.jar"
manifest="${src}/net/java/sip/communicator/impl/splashscreen/splashscreen.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/splashscreen"
prefix="net/java/sip/communicator/impl/splashscreen"/>
</jar>
</target>
<!--BUNDLE-HISTORY-->
<target name="bundle-history">
<jar compress="false" destfile="${bundles.dest}/history.jar"
manifest="${src}/net/java/sip/communicator/impl/history/history.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/history"
prefix="net/java/sip/communicator/service/history"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/history"
prefix="net/java/sip/communicator/impl/history" />
</jar>
</target>
<!--BUNDLE-HISTORY-SLICK-->
<target name="bundle-history-slick">
<jar compress="false" destfile="${bundles.dest}/history-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/history/history.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/history"
prefix="net/java/sip/communicator/slick/history"/>
</jar>
</target>
<!--BUNDLE-MESSAGEHISTORY-->
<target name="bundle-messagehistory">
<jar compress="false" destfile="${bundles.dest}/msghistory.jar"
manifest="${src}/net/java/sip/communicator/impl/msghistory/msghistory.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/msghistory"
prefix="net/java/sip/communicator/service/msghistory"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/msghistory"
prefix="net/java/sip/communicator/impl/msghistory" />
</jar>
</target>
<!--BUNDLE-MESSAGEHISTORY-SLICK-->
<target name="bundle-msghistory-slick">
<jar compress="false" destfile="${bundles.dest}/msghistory-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/msghistory/msghistory.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/msghistory"
prefix="net/java/sip/communicator/slick/msghistory"/>
</jar>
</target>
<!--BUNDLE-CALLHISTORY-->
<target name="bundle-callhistory">
<jar compress="false" destfile="${bundles.dest}/callhistory.jar"
manifest="${src}/net/java/sip/communicator/impl/callhistory/callhistory.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/callhistory"
prefix="net/java/sip/communicator/service/callhistory"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/callhistory"
prefix="net/java/sip/communicator/impl/callhistory" />
</jar>
</target>
<!--BUNDLE-CALLEHISTORY-SLICK-->
<target name="bundle-callhistory-slick">
<jar compress="false" destfile="${bundles.dest}/callhistory-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/callhistory/callhistory.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/callhistory"
prefix="net/java/sip/communicator/slick/callhistory"/>
</jar>
</target>
<!--BUNDLE-FILEACCESS-->
<target name="bundle-fileaccess">
<jar compress="false" destfile="${bundles.dest}/fileaccess.jar"
manifest="${src}/net/java/sip/communicator/impl/fileaccess/fileaccess.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/fileaccess"
prefix="net/java/sip/communicator/impl/fileaccess" />
</jar>
</target>
<!--BUNDLE-FILEACCESS-SLICK-->
<target name="bundle-fileaccess-slick">
<jar compress="false" destfile="${bundles.dest}/fileaccess-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/fileaccess/fileaccess.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/fileaccess"
prefix="net/java/sip/communicator/slick/fileaccess"/>
</jar>
</target>
<!--BUNDLE-UTIL
load-properties target is from resources/install/build.xml
loads the application name from the install settings.
-->
<target name="bundle-util" depends="version,load-properties">
<!-- Create a properties file that the arg handler could use
to determine SC's version -->
<echo file="${dest}/net/java/sip/communicator/util/launchutils/version.properties"
message="APPLICATION_NAME=${application.name}${line.separator}" />
<echo file="${dest}/net/java/sip/communicator/util/launchutils/version.properties"
message="PACKAGE_NAME=${package.name}${line.separator}"
append="true"/>
<echo file="${dest}/net/java/sip/communicator/util/launchutils/version.properties"
message="APPLICATION_VERSION=${sip-communicator.version}${line.separator}"
append="true"/>
<!-- Create the util.jar-->
<jar compress="false" destfile="${bundles.dest}/util.jar"
manifest="${src}/net/java/sip/communicator/util/util.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/util"
prefix="net/java/sip/communicator/util">
</zipfileset>
<service
type="sun.net.spi.nameservice.NameServiceDescriptor"
provider="net.java.sip.communicator.util.JitsiDnsNameServiceDescriptor"/>
</jar>
</target>
<!--BUNDLE-UTIL-DNS-->
<target name="bundle-service-dns">
<!-- Create the dns.jar-->
<jar compress="true" destfile="${bundles.dest}/dnsservice.jar"
manifest="${src}/net/java/sip/communicator/service/dns/dns.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/dns"
prefix="net/java/sip/communicator/service/dns"/>
</jar>
</target>
<!--BUNDLE-UTIL-DNS-->
<target name="bundle-impl-dns">
<!-- Create the dns.jar-->
<jar compress="true" destfile="${bundles.dest}/dns.jar"
manifest="${src}/net/java/sip/communicator/impl/dns/dns.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/dns"
prefix="net/java/sip/communicator/impl/dns"/>
</jar>
</target>
<!--BUNDLE-DNS-CONFIG-->
<target name="bundle-dns-config">
<!-- Create the dnsconfig.jar-->
<jar compress="true" destfile="${bundles.dest}/dnsconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/dnsconfig/dnsconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/dnsconfig"
prefix="net/java/sip/communicator/plugin/dnsconfig"/>
</jar>
</target>
<!--BUNDLE-CONFIGURATION-->
<target name="bundle-configuration">
<jar
compress="false"
destfile="${bundles.dest}/configuration.jar"
manifest="${src}/net/java/sip/communicator/impl/configuration/configuration.manifest.mf" >
<zipfileset dir="${dest}/net/java/sip/communicator/impl/configuration"
prefix="net/java/sip/communicator/impl/configuration" />
</jar>
</target>
<!--BUNDLE-CONFIGURATION-SLICK-->
<target name="bundle-configuration-slick">
<jar compress="false" destfile="${bundles.dest}/configuration-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/configuration/configuration.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/configuration"
prefix="net/java/sip/communicator/slick/configuration"/>
</jar>
</target>
<!--BUNDLE-CREDENTIALSSTORAGE-->
<target name="bundle-credentialsstorage">
<jar
compress="false"
destfile="${bundles.dest}/credentialsstorage.jar"
manifest="${src}/net/java/sip/communicator/impl/credentialsstorage/credentialsstorage.manifest.mf" >
<zipfileset dir="${dest}/net/java/sip/communicator/service/credentialsstorage"
prefix="net/java/sip/communicator/service/credentialsstorage"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/credentialsstorage"
prefix="net/java/sip/communicator/impl/credentialsstorage" />
</jar>
</target>
<!--BUNDLE-CREDENTIALSSTORAGE-SLICK-->
<target name="bundle-credentialsstorage-slick">
<jar compress="false" destfile="${bundles.dest}/credentialsstorage-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/credentialsstorage/credentialsstorage.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/credentialsstorage"
prefix="net/java/sip/communicator/slick/credentialsstorage"/>
</jar>
</target>
<!--BUNDLE-JUNIT -->
<target name="bundle-junit">
<jar compress="true" destfile="lib/bundle/junit.jar"
manifest="${testsrc}/junit/junit.manifest.mf">
<zipfileset src="${lib.noinst}/junit.jar" prefix=""/>
</jar>
</target>
<!--BUNDLE-NEOMEDIA-->
<target name="bundle-neomedia">
<!-- Creates a bundle containing the impl of the neomedia package -->
<jar
compress="false"
destfile="${bundles.dest}/neomedia.jar"
manifest="${src}/net/java/sip/communicator/impl/neomedia/neomedia.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/neomedia"
prefix="net/java/sip/communicator/impl/neomedia"/>
<zipfileset dir="${resources}/images/impl/media"
prefix="resources/images/impl/media"/>
</jar>
</target>
<!--BUNDLE-HID -->
<target name="bundle-hid">
<jar compress="false" destfile="${bundles.dest}/hid.jar"
manifest="${src}/net/java/sip/communicator/impl/hid/hid.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/hid"
prefix="net/java/sip/communicator/impl/hid" />
</jar>
</target>
<!--BUNDLE-HID-SERVICE -->
<target name="bundle-hid-service">
<jar compress="false" destfile="${bundles.dest}/hid-service.jar"
manifest="${src}/net/java/sip/communicator/service/hid/hid.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/hid"
prefix="net/java/sip/communicator/service/hid"/>
</jar>
</target>
<!--BUNDLE-LDAP-->
<target name="bundle-ldap">
<jar compress="false" destfile="${bundles.dest}/ldap.jar"
manifest="${src}/net/java/sip/communicator/impl/ldap/ldap.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/ldap"
prefix="net/java/sip/communicator/service/ldap"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/ldap"
prefix="net/java/sip/communicator/impl/ldap" />
</jar>
</target>
<!-- Fills google client code id and secret if any -->
<target name="-pre-googlecontacts"
depends="-pre-googlecontacts-none"
if="google.api.client.id" >
<!-- create a class that would contain our id and secret if any -->
<copy file="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java.tmpl"
tofile="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java"
overwrite="true"/>
<!-- set the id and secret according to the property -->
<replace file="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java"
token="google.api.client.id" value="${google.api.client.id}"/>
<!-- set the secret according to the property -->
<replace file="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java"
token="google.api.client.secret" value="${google.api.client.secret}"/>
</target>
<!-- if nothing is set just replace it with null -->
<target name="-pre-googlecontacts-none" unless="google.api.client.id" >
<!-- create a class that would contain our id and secret if any -->
<copy file="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java.tmpl"
tofile="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java"
overwrite="true"/>
<!-- set the id and secret according to the property -->
<replace file="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java"
token="&#34;google.api.client.id&#34;" value="null"/>
<!-- set the secret according to the property -->
<replace file="${src}/net/java/sip/communicator/impl/googlecontacts/GoogleAPIClientToken.java"
token="&#34;google.api.client.secret&#34;" value="null"/>
</target>
<!--BUNDLE-GOOGLECONTACTS-->
<target name="bundle-googlecontacts" depends="bundle-httputil,bundle-browserlauncher">
<jar compress="false" destfile="${bundles.dest}/googlecontacts.jar"
manifest="${src}/net/java/sip/communicator/impl/googlecontacts/googlecontacts.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/googlecontacts"
prefix="net/java/sip/communicator/service/googlecontacts"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/googlecontacts"
prefix="net/java/sip/communicator/impl/googlecontacts" />
<zipfileset src="${lib.noinst}/gdata-core-1.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/gdata-contacts-3.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/gdata-contacts-meta-3.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/gdata-client-1.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/gdata-client-meta-1.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/google-oauth-client-1.20.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/google-http-client-1.20.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/google-http-client-jackson2-1.20.0.jar" prefix=""/>
<zipfileset src="${lib.noinst}/jackson-core-2.5.3.jar" prefix=""/>
<zipfileset src="${lib.noinst}/gson-2.8.0.jar" prefix="" />
</jar>
</target>
<!--BUNDLE-GOOGLECONTACTS-SERVICE-->
<target name="bundle-googlecontacts-service">
<jar compress="false" destfile="${bundles.dest}/googlecontacts-service.jar"
manifest="${src}/net/java/sip/communicator/service/googlecontacts/googlecontacts.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/googlecontacts"
prefix="net/java/sip/communicator/service/googlecontacts"/>
</jar>
</target>
<!--BUNDLE-SERVICEBINDER -->
<target name="bundle-servicebinder">
<jar compress="true" destfile="lib/bundle/servicebinder.jar"
filesetmanifest="merge">
<zipfileset src="${lib}/servicebinder.jar" prefix=""/>
<manifest>
<attribute name="Import-Package" value="org.osgi.framework"/>
</manifest>
</jar>
</target>
<!--BUNDLE-ARCHITECTUREVIEWER -->
<target name="bundle-architectureviewer">
<jar compress="true" destfile="lib/bundle/architectureviewer1.1.jar"
filesetmanifest="merge">
<zipfileset src="${lib.noinst}/architectureviewer1.1.jar" prefix=""/>
<manifest>
<attribute name="Import-Package"
value="javax.swing, javax.swing.text,
org.ungoverned.gravity.servicebinder, org.ungoverned.gravity.servicebinder.architecture,
javax.accessibility, javax.swing.plaf, javax.swing.tree, javax.swing.undo,
javax.swing.event, javax.swing.border"/>
</manifest>
</jar>
</target>
<!-- BUNDLE-NETADDR -->
<target name="bundle-netaddr">
<jar compress="false" destfile="${bundles.dest}/netaddr.jar"
manifest="${src}/net/java/sip/communicator/impl/netaddr/netaddr.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/netaddr"
prefix="net/java/sip/communicator/service/netaddr" />
<zipfileset dir="${dest}/net/java/sip/communicator/impl/netaddr"
prefix="net/java/sip/communicator/impl/netaddr" />
</jar>
</target>
<!--BUNDLE-NETADDR-SLICK -->
<target name="bundle-netaddr-slick">
<jar compress="false" destfile="${bundles.dest}/netaddr-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/netaddr/netaddr.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/netaddr"
prefix="net/java/sip/communicator/slick/netaddr"/>
</jar>
</target>
<!--BUNDLE-SLICKLESS-->
<target name="bundle-slickless">
<!--internal-target- Runs all tests which do not belong to a service implementation and don't therefore need a running OSGI framework -->
<jar compress="false" destfile="${bundles.dest}/slickless.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/slickless/slickless.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/slickless"
prefix="net/java/sip/communicator/slick/slickless"/>
</jar>
</target>
<!--BUNDLE-SLICK-RUNNER-->
<target name="bundle-slick-runner">
<!--internal-target- Creates a bundle that runs all SLICKs that currently exist in sip-com -->
<jar compress="false" destfile="${bundles.dest}/slick-runner.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/runner/slick-runner.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/runner"
prefix="net/java/sip/communicator/slick/runner"/>
</jar>
</target>
<!--BUNDLE-SIP-->
<target name="bundle-sip">
<!--internal-target- Creates a bundle containing the sip implementation of the protocol provider package -->
<jar compress="false" destfile="${bundles.dest}/protocol-sip.jar" duplicate="preserve"
manifest="${src}/net/java/sip/communicator/impl/protocol/sip/sip.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/sip"
prefix="net/java/sip/communicator/impl/protocol/sip"/>
</jar>
</target>
<target name="bundle-sip-slick">
<!--internal-target- Creates a bundle containing the all tests for the
sip implementation of the protocol provider package -->
<jar compress="false" destfile="${bundles.dest}/protocol-sip-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/protocol/sip/sip.provider.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/sip"
prefix="net/java/sip/communicator/slick/protocol/sip"/>
</jar>
</target>
<!-- BUNDLE-PROTOCOL -->
<target name="bundle-protocol">
<!-- Creates a bundle containing the protocol provider interfaces.-->
<jar compress="false" destfile="${bundles.dest}/protocol.jar"
manifest="${src}/net/java/sip/communicator/service/protocol/protocol.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/protocol"
prefix="net/java/sip/communicator/service/protocol">
<!-- the media package lives in the protocol-media bundle -->
<exclude name="media/**/*"/>
</zipfileset>
<zipfileset dir="${resources}/images"
prefix="resources/images">
<include name="protocol/icq/**/*"/>
<include name="protocol/googletalk/**/*"/>
<include name="protocol/jabber/**/*"/>
<!-- the media package lives in the protocol-media bundle -->
<exclude name="protocol/media/**/*"/>
</zipfileset>
</jar>
</target>
<!-- BUNDLE-PROTOCOL -->
<target name="bundle-protocol-media">
<!-- Creates a bundle containing the media dependent
protocol provider interfaces.-->
<jar compress="false" destfile="${bundles.dest}/protocol-media.jar"
manifest="${src}/net/java/sip/communicator/service/protocol/media/protocol.media.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/protocol/media"
prefix="net/java/sip/communicator/service/protocol/media"/>
</jar>
</target>
<!-- BUNDLE-PHONENUMBER-SERVICE -->
<target name="bundle-phonenumbers">
<!-- Creates a bundle containing the icq impl of the protocol provider.-->
<jar compress="false" destfile="${bundles.dest}/phonenumbers.jar"
manifest="${src}/net/java/sip/communicator/impl/phonenumbers/phonenumbers.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/phonenumbers"
prefix="net/java/sip/communicator/impl/phonenumbers"/>
<zipfileset src="${lib.noinst}/libphonenumber-5.9.jar" prefix=""/>
</jar>
</target>
<target name="bundle-jmdnslib">
<!-- Creates a bundle containing the jmdns lib.-->
<jar compress="false" destfile="${bundles.dest}/jmdnslib.jar"
manifest="${lib.noinst}/jmdns.manifest.mf">
<zipfileset src="${lib.noinst}/jmdns.jar" prefix=""/>
</jar>
</target>
<!-- BUNDLE-ICQ -->
<target name="bundle-icq">
<!-- Creates a bundle containing the icq impl of the protocol provider.-->
<jar compress="false" destfile="${bundles.dest}/protocol-icq.jar"
manifest="${src}/net/java/sip/communicator/impl/protocol/icq/icq.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/icq"
prefix="net/java/sip/communicator/impl/protocol/icq"/>
<zipfileset src="${lib.noinst}/joscar-client.jar" prefix=""/>
<zipfileset src="${lib.noinst}/joscar-common.jar" prefix=""/>
<zipfileset src="${lib.noinst}/joscar-protocol.jar" prefix=""/>
<zipfileset src="${lib.noinst}/jsocks-klea.jar" prefix=""/>
</jar>
</target>
<!-- BUNDLE-ICQ-SLICK -->
<target name="bundle-icq-slick">
<!-- Creates a bundle containing the slick for the ICQ protocol provider.-->
<jar compress="false" destfile="${bundles.dest}/protocol-icq-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/protocol/icq/icq.provider.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/icq"
prefix="net/java/sip/communicator/slick/protocol/icq"/>
<zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/generic"
prefix="net/java/sip/communicator/slick/protocol/generic"/>
<zipfileset src="${lib.noinst}/joscar-client.jar" prefix=""/>
<zipfileset src="${lib.noinst}/joscar-common.jar" prefix=""/>
<zipfileset src="${lib.noinst}/joscar-protocol.jar" prefix=""/>
<zipfileset src="${lib.noinst}/jsocks-klea.jar" prefix=""/>
</jar>
</target>
<!--BUNDLE-MOCK-PROVIDER-->
<target name="bundle-mock">
<!--internal-target- Creates a bundle containing the mock implementation of the protocol provider package -->
<jar compress="false" destfile="${bundles.dest}/protocol-mock.jar"
manifest="${src}/net/java/sip/communicator/impl/protocol/mock/mock.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/mock"
prefix="net/java/sip/communicator/impl/protocol/mock"/>
</jar>
</target>
<!-- BUNDLE-JABBER -->
<target name="bundle-jabber">
<!-- Creates a bundle containing the jabber impl of the protocol provider.-->
<jar compress="false" destfile="${bundles.dest}/protocol-jabber.jar"
manifest="${src}/net/java/sip/communicator/impl/protocol/jabber/jabber.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/jabber"
prefix="net/java/sip/communicator/impl/protocol/jabber"/>
</jar>
</target>
<!-- BUNDLE-JABBER-SLICK -->
<!-- Creates a bundle containing the slick for the Jabber protocol provider.-->
<target name="bundle-jabber-slick">
<jar compress="false" destfile="${bundles.dest}/protocol-jabber-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/protocol/jabber/jabber.provider.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/jabber"
prefix="net/java/sip/communicator/slick/protocol/jabber"/>
<zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/generic"
prefix="net/java/sip/communicator/slick/protocol/generic"/>
</jar>
</target>
<!-- BUNDLE-GIBBERISH -->
<target name="bundle-gibberish">
<!-- Creates a bundle containing the Gibberish impl of the protocol provider.-->
<jar compress="false" destfile="${bundles.dest}/protocol-gibberish.jar"
manifest="${src}/net/java/sip/communicator/impl/protocol/gibberish/gibberish.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/gibberish"
prefix="net/java/sip/communicator/impl/protocol/gibberish"/>
<!-- zipfileset src="${lib.noinst}/gibberish_stack.jar" prefix=""/-->
</jar>
</target>
<!-- BUNDLE-GIBBERISH-SLICK -->
<!-- Creates a bundle containing the slick for the Gibberish protocol
provider.-->
<target name="bundle-gibberish-slick">
<jar compress="false" destfile="${bundles.dest}/protocol-gibberish-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/protocol/gibberish/gibberish.provider.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/gibberish"
prefix="net/java/sip/communicator/slick/protocol/gibberish"/>
</jar>
</target>
<!-- BUNDLE-UI-SERVICE -->
<target name="bundle-ui-service">
<!-- Bundle Jitsi's UI.-->
<jar compress="false" destfile="${bundles.dest}/ui-service.jar"
manifest="${src}/net/java/sip/communicator/service/gui/gui.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/gui"
prefix="net/java/sip/communicator/service/gui"/>
<zipfileset dir="${dest}/net/java/sip/communicator/service/shutdown"
prefix="net/java/sip/communicator/service/shutdown"/>
</jar>
</target>
<!-- BUNDLE-SWING-UI -->
<target name="bundle-swing-ui">
<!-- Bundle Jitsi's UI.-->
<jar compress="false" destfile="${bundles.dest}/swing-ui.jar"
manifest="${src}/net/java/sip/communicator/impl/gui/swing.ui.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/gui"
prefix="net/java/sip/communicator/impl/gui"/>
<zipfileset src="${lib.noinst}/mac_widgets-0.9.5.jar" prefix=""/>
<zipfileset src="${lib.noinst}/forms-1.2.1.jar" prefix=""/>
</jar>
</target>
<!-- BUNDLE-CONTACTLIST -->
<target name="bundle-contactlist">
<!-- Creates a bundle containing the contactlist interfaces.-->
<jar compress="false" destfile="${bundles.dest}/contactlist.jar"
manifest="${src}/net/java/sip/communicator/service/contactlist/contactlist.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/contactlist"
prefix="net/java/sip/communicator/service/contactlist"/>
</jar>
</target>
<!-- BUNDLE-META-CONTACTLIST -->
<target name="meta-contactlist">
<!-- Creates the meta contact list bundle.-->
<jar compress="false" destfile="${bundles.dest}/meta-cl.jar"
manifest="${src}/net/java/sip/communicator/impl/contactlist/meta.cl.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/contactlist"
prefix="net/java/sip/communicator/impl/contactlist"/>
</jar>
</target>
<!-- BUNDLE-META-CONTACTLIST-SLICK -->
<target name="meta-contactlist-slick">
<!-- Creates a bundle for the meta contact list SLICK.-->
<jar compress="false" destfile="${bundles.dest}/meta-cl-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/contactlist/meta.cl.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/contactlist"
prefix="net/java/sip/communicator/slick/contactlist"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-ICQACCREGWIZZ -->
<target name="bundle-plugin-icqaccregwizz">
<!-- Creates a bundle for the plugin Icq Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/icqaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/icqaccregwizz/icqaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/icqaccregwizz"
prefix="net/java/sip/communicator/plugin/icqaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-AIMACCREGWIZZ -->
<target name="bundle-plugin-aimaccregwizz">
<!-- Creates a bundle for the plugin Aim Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/aimaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/aimaccregwizz/aimaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/aimaccregwizz"
prefix="net/java/sip/communicator/plugin/aimaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-JABBERACCREGWIZZ -->
<target name="bundle-plugin-jabberaccregwizz">
<!-- Creates a bundle for the plugin Jabber Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/jabberaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/jabberaccregwizz/jabberaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/jabberaccregwizz"
prefix="net/java/sip/communicator/plugin/jabberaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-GOOGLETALKACCREGWIZZ -->
<target name="bundle-plugin-googletalkaccregwizz">
<!-- Creates a bundle for the plugin Google Talk Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/googletalkaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/googletalkaccregwizz/googletalkaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/googletalkaccregwizz"
prefix="net/java/sip/communicator/plugin/googletalkaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-SIPACCREGWIZZ -->
<target name="bundle-plugin-sipaccregwizz">
<!-- Creates a bundle for the plugin SIP Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/sipaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/sipaccregwizz/sipaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/sipaccregwizz"
prefix="net/java/sip/communicator/plugin/sipaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-IPTELACCREGWIZZ -->
<target name="bundle-plugin-iptelaccregwizz">
<!-- Creates a bundle for the plugin IP Tel Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/iptelaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/iptelaccregwizz/iptelaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/iptelaccregwizz"
prefix="net/java/sip/communicator/plugin/iptelaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-IPPIACCREGWIZZ -->
<target name="bundle-plugin-ippiaccregwizz">
<!-- Creates a bundle for the plugin ippi Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/ippiaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/ippiaccregwizz/ippiaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/ippiaccregwizz"
prefix="net/java/sip/communicator/plugin/ippiaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-GIBBERISHACCREGWIZZ -->
<target name="bundle-plugin-gibberishaccregwizz">
<!-- Creates a bundle for the plugin Gibberish Account Registration
Wizard.-->
<jar compress="false" destfile="${bundles.dest}/gibberishaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/gibberishaccregwizz/gibberishaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/gibberishaccregwizz"
prefix="net/java/sip/communicator/plugin/gibberishaccregwizz"/>
</jar>
</target>
<!-- BUNDLE-SERVICEIMPL-VERSION -->
<target name="bundle-version-impl">
<!-- Creates a bundle for the version service impl.-->
<jar compress="false" destfile="${bundles.dest}/version-impl.jar"
manifest="${src}/net/java/sip/communicator/impl/version/version.impl.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/version"
prefix="net/java/sip/communicator/impl/version"/>
</jar>
</target>
<!-- BUNDLE-SERVICELICK-VERSION -->
<target name="bundle-version-slick">
<!-- Creates a bundle for the version service slick.-->
<jar compress="false" destfile="${bundles.dest}/version-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/version/version.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/version"
prefix="net/java/sip/communicator/slick/version"/>
</jar>
</target>
<!-- BUNDLE-SHUTDOWN-TIMEOUT -->
<target name="bundle-shutdown-timeout">
<!-- Creates a bundle for the shutdown-timeout plugin.-->
<jar compress="false" destfile="${bundles.dest}/shutdown-timeout.jar"
manifest="${src}/net/java/sip/communicator/impl/shutdowntimeout/shutdown.timeout.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/shutdowntimeout"
prefix="net/java/sip/communicator/impl/shutdowntimeout"/>
</jar>
</target>
<!-- BUNDLE-WINDOWS-CLEAN-SHUTDOWN -->
<target name="bundle-windows-clean-shutdown">
<!-- Creates a bundle for the windows-clean-shutdown plugin.-->
<jar compress="false" destfile="${bundles.dest.win}/windows-clean-shutdown.jar"
manifest="${src}/net/java/sip/communicator/plugin/windowscleanshutdown/cleanshutdown.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/windowscleanshutdown"
prefix="net/java/sip/communicator/plugin/windowscleanshutdown"/>
</jar>
</target>
<!--BUNDLE-GROWLNOTIFICATION-->
<target name="bundle-growlnotification" if="is.running.macos">
<!-- Creates a bundle for the growlnotification plugin.-->
<jar compress="false" destfile="${bundles.dest.mac}/growlnotification.jar"
manifest="${src}/net/java/sip/communicator/impl/growlnotification/growlnotification.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/growlnotification"
prefix="net/java/sip/communicator/impl/growlnotification" />
</jar>
</target>
<!--BUNDLE-SWINGNOTIFICATION-->
<target name="bundle-swingnotification">
<!-- Creates a bundle for the swingnotification plugin.-->
<jar compress="false" destfile="${bundles.dest}/swingnotification.jar"
manifest="${src}/net/java/sip/communicator/impl/swingnotification/swingnotification.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/swingnotification"
prefix="net/java/sip/communicator/impl/swingnotification" />
</jar>
</target>
<!--BUNDLE-GALAGONOTIFICATION-->
<target name="bundle-galagonotification">
<!-- Creates a bundle for the galagonotification plugin. -->
<jar compress="false" destfile="${bundles.dest.lin}/galagonotification.jar"
manifest="${src}/net/java/sip/communicator/impl/galagonotification/galagonotification.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/galagonotification"
prefix="net/java/sip/communicator/impl/galagonotification" />
</jar>
</target>
<!--BUNDLE-POPUPMESSAGEHANDLER-SLICK-->
<target name="bundle-popupmessagehandler-slick">
<jar compress="false" destfile="${bundles.dest}/popupmessagehandler-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/popupmessagehandler/popupmessagehandler.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/popupmessagehandler"
prefix="net/java/sip/communicator/slick/popupmessagehandler"/>
</jar>
</target>
<!--BUNDLE-SPARKLE-->
<target name="bundle-sparkle">
<!-- Creates a bundle for the sparkle activator plugin.-->
<jar compress="false" destfile="${bundles.dest.mac}/sparkle.jar"
manifest="${src}/net/java/sip/communicator/impl/sparkle/sparkle.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/sparkle"
prefix="net/java/sip/communicator/impl/sparkle" />
</jar>
</target>
<!-- BUNDLE-PLUGIN-EXAMPLE PLUGIN -->
<target name="bundle-plugin-exampleplugin">
<!-- Creates a bundle for the plugin SIP Account Registration Wizard.-->
<jar compress="false" destfile="${bundles.dest}/exampleplugin.jar"
manifest="${src}/net/java/sip/communicator/plugin/exampleplugin/exampleplugin.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/exampleplugin"
prefix="net/java/sip/communicator/plugin/exampleplugin"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-BRANDING -->
<target name="bundle-plugin-branding">
<!-- Creates a bundle for the Splash Screen plugin.-->
<jar compress="false" destfile="${bundles.dest}/branding.jar"
manifest="${src}/net/java/sip/communicator/plugin/branding/branding.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/branding"
prefix="net/java/sip/communicator/plugin/branding"/>
</jar>
</target>
<!--BUNDLE-OSDEPENDENT-->
<target name="bundle-osdependent">
<!-- Creates a bundle for the OS dependent packages like systray and desktop."-->
<jar
compress="false" destfile="${bundles.dest}/osdependent.jar"
manifest="${src}/net/java/sip/communicator/impl/osdependent/osdependent.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/systray"
prefix="net/java/sip/communicator/service/systray"/>
<zipfileset dir="${dest}/net/java/sip/communicator/service/desktop"
prefix="net/java/sip/communicator/service/desktop"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/osdependent"
prefix="net/java/sip/communicator/impl/osdependent"/>
</jar>
</target>
<!--BUNDLE-OSDEPENDENT-->
<target name="bundle-systray-service">
<!-- Creates a bundle for the systray service."-->
<jar
compress="false" destfile="${bundles.dest}/systray-service.jar"
manifest="${src}/net/java/sip/communicator/service/systray/systray.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/systray"
prefix="net/java/sip/communicator/service/systray"/>
</jar>
</target>
<!-- BUNDLE-BROWSER LAUNCHER -->
<target name="bundle-browserlauncher">
<!-- Creates a bundle for the browser launcher.-->
<jar compress="false" destfile="${bundles.dest}/browserlauncher.jar"
manifest="${src}/net/java/sip/communicator/impl/browserlauncher/browserlauncher.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/browserlauncher"
prefix="net/java/sip/communicator/service/browserlauncher"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/browserlauncher"
prefix="net/java/sip/communicator/impl/browserlauncher"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN MANAGER -->
<target name="bundle-pluginmanager">
<!-- Creates a bundle for the plugin manager plugin.-->
<jar compress="false" destfile="${bundles.dest}/pluginmanager.jar"
manifest="${src}/net/java/sip/communicator/plugin/pluginmanager/pluginmanager.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/pluginmanager"
prefix="net/java/sip/communicator/plugin/pluginmanager"/>
</jar>
</target>
<!-- BUNDLE-SKIN MANAGER -->
<target name="bundle-skinmanager">
<!-- Creates a bundle for the skin manager plugin.-->
<jar compress="false" destfile="${bundles.dest}/skinmanager.jar"
manifest="${src}/net/java/sip/communicator/plugin/skinmanager/skinmanager.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/skinmanager"
prefix="net/java/sip/communicator/plugin/skinmanager"/>
</jar>
</target>
<!-- BUNDLE-IRC -->
<target name="bundle-irc">
<!-- Creates a bundle containing the IRC impl of the protocol provider.-->
<jar compress="false" destfile="${bundles.dest}/protocol-irc.jar"
manifest="${src}/net/java/sip/communicator/impl/protocol/irc/irc.provider.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/irc"
prefix="net/java/sip/communicator/impl/protocol/irc"/>
</jar>
</target>
<!-- BUNDLE-IRC-COMMANDS -->
<target name="bundle-irc-commands" depends="bundle-irc">
<!-- Creates a bundle containing the IRC impl of the protocol provider.-->
<jar compress="false" destfile="${bundles.dest}/irc-commands.jar"
manifest="${src}/net/java/sip/communicator/plugin/irccommands/irccommands.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/irccommands"
prefix="net/java/sip/communicator/plugin/irccommands"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-IRCACCREGWIZZ -->
<target name="bundle-plugin-ircaccregwizz">
<!-- Creates a bundle for the plugin IRC Account Registration
Wizard.-->
<jar compress="false" destfile="${bundles.dest}/ircaccregwizz.jar"
manifest="${src}/net/java/sip/communicator/plugin/ircaccregwizz/ircaccregwizz.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/ircaccregwizz"
prefix="net/java/sip/communicator/plugin/ircaccregwizz"/>
</jar>
</target>
<!--BUNDLE-HTTPUTIL -->
<target name="bundle-httputil">
<!-- Create the httputil.jar-->
<jar compress="false" destfile="${bundles.dest}/httputil.jar"
manifest="${src}/net/java/sip/communicator/service/httputil/httputil.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/httputil"
prefix="net/java/sip/communicator/service/httputil"/>
</jar>
</target>
<!-- BUNDLE-NOTIFICATION -->
<target name="bundle-notification-service">
<!-- Creates a bundle for the notifications.-->
<jar compress="false" destfile="${bundles.dest}/notification-service.jar"
manifest="${src}/net/java/sip/communicator/service/notification/notification.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/notification"
prefix="net/java/sip/communicator/service/notification"/>
</jar>
</target>
<!-- BUNDLE-NOTIFICATION-HANDLERS -->
<target name="bundle-notification-handlers">
<!-- Creates a bundle for the notifications.-->
<jar compress="false" destfile="${bundles.dest}/notification-handlers.jar"
manifest="${src}/net/java/sip/communicator/impl/notification/notification.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/notification"
prefix="net/java/sip/communicator/impl/notification"/>
</jar>
</target>
<!-- BUNDLE-NOTIFICATION-WIRING -->
<target name="bundle-notification-wiring">
<!-- Creates a bundle for the notifications.-->
<jar compress="false" destfile="${bundles.dest}/notification-wiring.jar"
manifest="${src}/net/java/sip/communicator/plugin/notificationwiring/notificationwiring.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/notificationwiring"
prefix="net/java/sip/communicator/plugin/notificationwiring"/>
</jar>
</target>
<!-- BUNDLE-CONTACT-EVENT-HANDLER -->
<target name="bundle-contacteventhandler">
<!-- Creates a bundle for the ContactEventHandler service.-->
<jar compress="false" destfile="${bundles.dest}/contacteventhandler.jar"
manifest="${src}/net/java/sip/communicator/service/contacteventhandler/contact.event.handler.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/contacteventhandler"
prefix="net/java/sip/communicator/service/contacteventhandler"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-CONTACTINFO -->
<target name="bundle-plugin-contactinfo">
<!-- Creates a bundle for the plugin Contact Info.-->
<jar compress="false" destfile="${bundles.dest}/contactinfo.jar"
manifest="${src}/net/java/sip/communicator/plugin/contactinfo/contactinfo.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/contactinfo"
prefix="net/java/sip/communicator/plugin/contactinfo"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-CHATALERTER -->
<target name="bundle-plugin-chatalerter">
<!-- Creates a bundle for the plugin Chat Alerter.-->
<jar compress="false" destfile="${bundles.dest}/chatalerter.jar"
manifest="${src}/net/java/sip/communicator/plugin/chatalerter/chatalerter.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/chatalerter"
prefix="net/java/sip/communicator/plugin/chatalerter"/>
<zipfileset src="${lib.noinst}/jdic_misc.jar" prefix=""/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-ACCOUNTINFO -->
<target name="bundle-plugin-accountinfo">
<jar compress="false" destfile="${bundles.dest}/accountinfo.jar"
manifest="${src}/net/java/sip/communicator/plugin/accountinfo/accountinfo.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/accountinfo"
prefix="net/java/sip/communicator/plugin/accountinfo"/>
<zipfileset src="${lib.noinst}/jcalendar-1.4.jar"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-CONNECTIONINFO -->
<target name="bundle-plugin-connectioninfo">
<jar compress="false" destfile="${bundles.dest}/connectioninfo.jar"
manifest="${src}/net/java/sip/communicator/plugin/connectioninfo/connectioninfo.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/connectioninfo"
prefix="net/java/sip/communicator/plugin/connectioninfo"/>
</jar>
</target>
<!-- BUNDLE-UPDATE-->
<target name="bundle-update">
<!-- Creates a bundle containing the provisioning discovery service.-->
<jar compress="false" destfile="${bundles.dest}/updateservice.jar"
manifest="${src}/net/java/sip/communicator/service/update/update.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/update"
prefix="net/java/sip/communicator/service/update"/>
</jar>
</target>
<!--BUNDLE-PLUGIN-WIN-UPDATE-->
<target name="bundle-plugin-update">
<jar compress="false" destfile="${bundles.dest}/update.jar"
manifest="${src}/net/java/sip/communicator/plugin/update/update.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/update"
prefix="net/java/sip/communicator/plugin/update" />
</jar>
</target>
<!--BUNDLE-SimpleAccRegPlugin-->
<target name="bundle-plugin-simpleaccreg">
<jar compress="false" destfile="${bundles.dest}/simpleaccreg.jar"
manifest="${src}/net/java/sip/communicator/plugin/simpleaccreg/simpleaccreg.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/simpleaccreg"
prefix="net/java/sip/communicator/plugin/simpleaccreg" />
</jar>
</target>
<!--BUNDLE-General Config-->
<target name="bundle-plugin-generalconfig">
<jar compress="false" destfile="${bundles.dest}/generalconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/generalconfig/generalconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/generalconfig"
prefix="net/java/sip/communicator/plugin/generalconfig" />
</jar>
</target>
<!--BUNDLE-Keybindings-->
<target name="bundle-keybindings">
<jar compress="false" destfile="${bundles.dest}/keybindings.jar"
manifest="${src}/net/java/sip/communicator/impl/keybindings/keybindings.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/keybindings"
prefix="net/java/sip/communicator/service/keybindings"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/keybindings"
prefix="net/java/sip/communicator/impl/keybindings"/>
<zipfileset dir="${resources}/config/defaultkeybindings"
prefix="resources/config/defaultkeybindings"/>
</jar>
</target>
<!--BUNDLE-PLUGIN-KeybindingChooser-->
<target name="bundle-plugin-keybindingChooser">
<jar compress="false" destfile="${bundles.dest}/keybindingChooser.jar"
manifest="${src}/net/java/sip/communicator/plugin/keybindingchooser/keybindingChooser.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/keybindingchooser"
prefix="net/java/sip/communicator/plugin/keybindingchooser"/>
<zipfileset dir="${resources}/images/plugin/keybindingchooser"
prefix="resources/images/plugin/keybindingchooser"/>
</jar>
</target>
<!--BUNDLE-RESOURCES-SKINPACK-->
<target name="bundle-resources-skinpack">
<!-- Copy manifest for skinresourcepack. -->
<copy file="${src}/net/java/sip/communicator/plugin/skinresourcepack/skinresourcepack.manifest.mf"
tofile="${dest}/net/java/sip/communicator/plugin/skinresourcepack/skinresourcepack.manifest.mf"/>
<!-- Copy skinresourcepack folder. -->
<copy todir="${resources}/skinresourcepack">
<fileset dir="${dest}/net/java/sip/communicator/plugin/skinresourcepack">
</fileset>
</copy>
</target>
<!--BUNDLE-DEFAULT-RESOURCES-->
<target name="bundle-resources-defaultpack" depends="bundle-resources-skinpack">
<!-- Copy the default resources to english one, as our defualt
language is English and without the resource we cannot excplictly set it.-->
<copy file="${sc.basedir}/resources/languages/resources.properties"
tofile="${resources}/languages/resources_en.properties"/>
<!-- Creates a bundle for the default resource pack."-->
<jar
compress="false" destfile="${bundles.dest}/defaultresources.jar"
manifest="${src}/net/java/sip/communicator/plugin/defaultresourcepack/defaultresourcepack.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/defaultresourcepack"
prefix="net/java/sip/communicator/plugin/defaultresourcepack"/>
<zipfileset dir="${resources}/colors"
prefix="resources/colors"/>
<zipfileset dir="${resources}/config"
prefix="resources/config" excludes="**/spellcheck/**"/>
<zipfileset dir="${resources}/images"
prefix="resources/images" excludes="**/*.svg"/>
<zipfileset dir="${resources}/languages"
prefix="resources/languages"/>
<zipfileset dir="${resources}/sounds"
prefix="resources/sounds"/>
<zipfileset dir="${resources}/styles"
prefix="resources/styles"/>
<!-- Include skinresourcepack folder. -->
<zipfileset dir="${resources}/skinresourcepack"
prefix="resources/skinresourcepack"/>
</jar>
<!-- Creates a bundle for the default resource pack classes.
Used in android.-->
<jar
compress="false" destfile="${bundles.dest.android}/defaultresources.jar">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/defaultresourcepack"
prefix="net/java/sip/communicator/plugin/defaultresourcepack"/>
</jar>
</target>
<!--BUNDLE-RESOURCE-MANAGER-->
<target name="bundle-resource-manager">
<!-- Creates a bundle for the Resource Management Service Impl."-->
<jar
compress="false" destfile="${bundles.dest}/resourcemanager.jar"
manifest="${src}/net/java/sip/communicator/impl/resources/resourcemanagement.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/resources"
prefix="net/java/sip/communicator/service/resources"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/resources"
prefix="net/java/sip/communicator/impl/resources"/>
</jar>
</target>
<!-- BUNDLE-NOTIFICATION-CONFIG -->
<target name="bundle-notification-config">
<!-- Creates a bundle for the notifications.-->
<jar compress="false" destfile="${bundles.dest}/notificationconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/notificationconfiguration/notificationconfiguration.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/notificationconfiguration"
prefix="net/java/sip/communicator/plugin/notificationconfiguration"/>
</jar>
</target>
<!-- BUNDLE Arg Delegation Service -->
<target name="bundle-argdelegation-service">
<!-- Creates a bundle for the notifications.-->
<jar compress="false" destfile="${bundles.dest}/argdelegation-service.jar"
manifest="${src}/net/java/sip/communicator/service/argdelegation/argdelegation.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/argdelegation/"
prefix="net/java/sip/communicator/service/argdelegation"/>
</jar>
</target>
<!-- BUNDLE Arg Delegation Implementation-->
<target name="bundle-argdelegation">
<!-- Creates a bundle for the notifications.-->
<jar compress="false" destfile="${bundles.dest}/argdelegation.jar"
manifest="${src}/net/java/sip/communicator/impl/argdelegation/argdelegation.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/argdelegation/"
prefix="net/java/sip/communicator/impl/argdelegation/"/>
</jar>
</target>
<!--BUNDLE-JSON -->
<target name="bundle-json">
<jar compress="true" destfile="${bundles.dest}/json.jar"
filesetmanifest="merge">
<zipfileset src="${lib.noinst}/json-simple-1.1.1.jar" prefix=""/>
<manifest>
<attribute name="System-Bundle" value="yes"/>
</manifest>
</jar>
</target>
<!--BUNDLE-FILEHISTORY-->
<target name="bundle-filehistory">
<jar compress="false" destfile="${bundles.dest}/filehistory.jar"
manifest="${src}/net/java/sip/communicator/impl/filehistory/filehistory.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/filehistory"
prefix="net/java/sip/communicator/service/filehistory"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/filehistory"
prefix="net/java/sip/communicator/impl/filehistory" />
</jar>
</target>
<!--BUNDLE-METAHISTORY-->
<target name="bundle-metahistory">
<jar compress="false" destfile="${bundles.dest}/metahistory.jar"
manifest="${src}/net/java/sip/communicator/impl/metahistory/metahistory.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/metahistory"
prefix="net/java/sip/communicator/service/metahistory"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/metahistory"
prefix="net/java/sip/communicator/impl/metahistory" />
</jar>
</target>
<!--BUNDLE-PLUGIN-OTR -->
<target name="bundle-plugin-otr">
<jar compress="false" destfile="${bundles.dest}/otr.jar" manifest="${src}/net/java/sip/communicator/plugin/otr/otr.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/otr"
prefix="net/java/sip/communicator/plugin/otr"/>
<zipfileset src="${lib.noinst}/otr4j.jar"/>
</jar>
</target>
<!--BUNDLE-METAHISTORY-SLICK-->
<target name="bundle-metahistory-slick">
<jar compress="false" destfile="${bundles.dest}/metahistory-slick.jar"
manifest="${testsrc}/net/java/sip/communicator/slick/metahistory/metahistory.slick.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/slick/metahistory"
prefix="net/java/sip/communicator/slick/metahistory"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-GLOBALPROXYCONFIG -->
<target name="bundle-plugin-globalproxyconfig">
<!-- Creates a bundle for the global proxy configuration plugin.-->
<jar compress="false" destfile="${bundles.dest}/globalproxyconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/globalproxyconfig/globalproxyconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/globalproxyconfig"
prefix="net/java/sip/communicator/plugin/globalproxyconfig"/>
</jar>
</target>
<!-- BUNDLE-PROTOCOL -->
<target name="bundle-contactsource">
<!-- Creates a bundle containing the contact source interfaces.-->
<jar compress="false" destfile="${bundles.dest}/contactsource.jar"
manifest="${src}/net/java/sip/communicator/service/contactsource/contactsource.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/contactsource"
prefix="net/java/sip/communicator/service/contactsource"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-RECONNECT -->
<target name="bundle-plugin-reconnect">
<!-- Creates a bundle for the reconnect plugin.-->
<jar compress="false" destfile="${bundles.dest}/reconnectplugin.jar"
manifest="${src}/net/java/sip/communicator/plugin/reconnectplugin/reconnectplugin.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/reconnectplugin"
prefix="net/java/sip/communicator/plugin/reconnectplugin"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-SECURITYCONFIG -->
<target name="bundle-plugin-securityconfig">
<!-- Creates a bundle for the reconnect plugin.-->
<jar compress="false" destfile="${bundles.dest}/securityconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/securityconfig/securityconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/securityconfig"
prefix="net/java/sip/communicator/plugin/securityconfig"/>
</jar>
</target>
<!-- BUNDLE-PLUGIN-ADVANCEDCONFIG -->
<target name="bundle-plugin-advancedconfig">
<!-- Creates a bundle for the reconnect plugin.-->
<jar compress="false" destfile="${bundles.dest}/advancedconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/advancedconfig/advancedconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/advancedconfig"
prefix="net/java/sip/communicator/plugin/advancedconfig"/>
</jar>
</target>
<!-- BUNDLE-NIMBUZZAVATAR -->
<target name="bundle-plugin-nimbuzzavatar">
<jar compress="false" destfile="${bundles.dest}/plugin-nimbuzzavatars.jar"
manifest="${src}/net/java/sip/communicator/plugin/nimbuzzavatars/nimbuzzavatars.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/nimbuzzavatars"
prefix="net/java/sip/communicator/plugin/nimbuzzavatars" />
</jar>
</target>
<!-- BUNDLE-CUSTOM-AVATAR -->
<target name="bundle-custom-avatar">
<jar compress="false" destfile="${bundles.dest}/customavatar-service.jar"
manifest="${src}/net/java/sip/communicator/service/customavatar/customavatar.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/customavatar"
prefix="net/java/sip/communicator/service/customavatar" />
</jar>
</target>
<!-- BUNDLE-REPLACEMENT -->
<target name="bundle-replacement">
<!-- Creates a bundle containing the replacement service.-->
<jar compress="false" destfile="${bundles.dest}/replacement.jar"
manifest="${src}/net/java/sip/communicator/service/replacement/replacement.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/replacement"
prefix="net/java/sip/communicator/service/replacement"/>
</jar>
</target>
<!-- BUNDLE-YOUTUBE -->
<target name="bundle-youtube">
<jar compress="false" destfile="${bundles.dest}/replacement-youtube.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/youtube/youtube.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/youtube"
prefix="net/java/sip/communicator/impl/replacement/youtube"/>
</jar>
</target>
<!-- BUNDLE-DAILYMOTION -->
<target name="bundle-dailymotion">
<jar compress="false" destfile="${bundles.dest}/replacement-dailymotion.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/dailymotion/dailymotion.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/dailymotion"
prefix="net/java/sip/communicator/impl/replacement/dailymotion"/>
</jar>
</target>
<!-- BUNDLE-SMILEY -->
<target name="bundle-smiley">
<jar compress="false" destfile="${bundles.dest}/replacement-smiley.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/smiley/smiley.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/smiley"
prefix="net/java/sip/communicator/impl/replacement/smiley"/>
</jar>
</target>
<!-- BUNDLE-VIMEO -->
<target name="bundle-vimeo">
<jar compress="false" destfile="${bundles.dest}/replacement-vimeo.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/vimeo/vimeo.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/vimeo"
prefix="net/java/sip/communicator/impl/replacement/vimeo"/>
</jar>
</target>
<!-- BUNDLE-VBOX7 -->
<target name="bundle-vbox7">
<jar compress="false" destfile="${bundles.dest}/replacement-vbox7.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/vbox7/vbox7.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/vbox7"
prefix="net/java/sip/communicator/impl/replacement/vbox7"/>
</jar>
</target>
<!-- BUNDLE-METACAFE -->
<target name="bundle-metacafe">
<jar compress="false" destfile="${bundles.dest}/replacement-metacafe.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/metacafe/metacafe.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/metacafe"
prefix="net/java/sip/communicator/impl/replacement/metacafe"/>
</jar>
</target>
<!-- BUNDLE-FLICKR -->
<target name="bundle-flickr">
<jar compress="false" destfile="${bundles.dest}/replacement-flickr.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/flickr/flickr.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/flickr"
prefix="net/java/sip/communicator/impl/replacement/flickr"/>
</jar>
</target>
<!-- BUNDLE-HULU -->
<target name="bundle-hulu">
<jar compress="false" destfile="${bundles.dest}/replacement-hulu.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/hulu/hulu.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/hulu"
prefix="net/java/sip/communicator/impl/replacement/hulu"/>
</jar>
</target>
<!-- BUNDLE-TWITPIC -->
<target name="bundle-twitpic">
<jar compress="false" destfile="${bundles.dest}/replacement-twitpic.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/twitpic/twitpic.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/twitpic"
prefix="net/java/sip/communicator/impl/replacement/twitpic"/>
</jar>
</target>
<!-- BUNDLE-DIRECTIMAGE -->
<target name="bundle-directimage">
<jar compress="false" destfile="${bundles.dest}/replacement-directimage.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/directimage/directimage.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/directimage"
prefix="net/java/sip/communicator/impl/replacement/directimage"/>
</jar>
</target>
<!-- BUNDLE-BLIPTV -->
<target name="bundle-bliptv">
<jar compress="false" destfile="${bundles.dest}/replacement-bliptv.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/bliptv/bliptv.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/bliptv"
prefix="net/java/sip/communicator/impl/replacement/bliptv"/>
</jar>
</target>
<!-- BUNDLE-VIDDLER -->
<target name="bundle-viddler">
<jar compress="false" destfile="${bundles.dest}/replacement-viddler.jar"
manifest="${src}/net/java/sip/communicator/impl/replacement/viddler/viddler.source.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/replacement/viddler"
prefix="net/java/sip/communicator/impl/replacement/viddler"/>
</jar>
</target>
<!--BUNDLE-Chat Config-->
<target name="bundle-plugin-chatconfig">
<jar compress="false" destfile="${bundles.dest}/chatconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/chatconfig/chatconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/chatconfig"
prefix="net/java/sip/communicator/plugin/chatconfig" />
</jar>
</target>
<!--BUNDLE-PLUGIN-BLF-->
<target name="bundle-plugin-blf">
<jar compress="false" destfile="${bundles.dest}/plugin-blf.jar"
manifest="${src}/net/java/sip/communicator/plugin/busylampfield/busylampfield.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/busylampfield"
prefix="net/java/sip/communicator/plugin/busylampfield"/>
</jar>
</target>
<!--BUNDLE-PLUGIN-SpellChecker-->
<target name="bundle-plugin-spellcheck">
<jar compress="false" destfile="${bundles.dest}/spellChecker.jar"
manifest="${src}/net/java/sip/communicator/plugin/spellcheck/spellCheck.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/spellcheck"
prefix="net/java/sip/communicator/plugin/spellcheck"/>
<zipfileset dir="${resources}/config/spellcheck"
prefix="resources/config/spellcheck"/>
<zipfileset src="${lib.noinst}/jmyspell-core.jar" prefix=""/>
</jar>
</target>
<!-- BUNDLE-PROVDISC-->
<target name="bundle-provdisc">
<!-- Creates a bundle containing the provisioning discovery service.-->
<jar compress="false" destfile="${bundles.dest}/provdisc.jar"
manifest="${src}/net/java/sip/communicator/service/provdisc/provdisc.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/provdisc"
prefix="net/java/sip/communicator/service/provdisc"/>
</jar>
</target>
<!--BUNDLE-PROVDISC-DHCP -->
<target name="bundle-provdisc-dhcp">
<jar compress="false" destfile="${bundles.dest}/provdisc-dhcp.jar"
manifest="${src}/net/java/sip/communicator/impl/provdisc/dhcp/dhcp.provdisc.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/provdisc/dhcp"
prefix="net/java/sip/communicator/impl/provdisc/dhcp" />
<zipfileset src="${lib.noinst}/dhcp4java-1.00.jar"/>
</jar>
</target>
<!--BUNDLE-PROVDISC-MDNS -->
<target name="bundle-provdisc-mdns">
<jar compress="false" destfile="${bundles.dest}/provdisc-mdns.jar"
manifest="${src}/net/java/sip/communicator/impl/provdisc/mdns/mdns.provdisc.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/provdisc/mdns"
prefix="net/java/sip/communicator/impl/provdisc/mdns" />
</jar>
</target>
<!--BUNDLE-PROVISIONING -->
<target name="bundle-provisioning">
<jar compress="false" destfile="${bundles.dest}/provisioning.jar"
manifest="${src}/net/java/sip/communicator/plugin/provisioning/provisioning.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/provisioning"
prefix="net/java/sip/communicator/plugin/provisioning" />
<zipfileset dir="${dest}/net/java/sip/communicator/service/provisioning"
prefix="net/java/sip/communicator/service/provisioning" />
</jar>
</target>
<!-- BUNDLE-PLUGIN-ADDRBOOK -->
<target name="bundle-addrbook">
<!-- Creates a bundle which provides support for the OS-specific Address Book. -->
<jar compress="false" destfile="${bundles.dest}/addrbook.jar"
manifest="${src}/net/java/sip/communicator/plugin/addrbook/addrbook.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/addrbook"
prefix="net/java/sip/communicator/plugin/addrbook" />
<zipfileset dir="${dest}/net/java/sip/communicator/service/calendar"
prefix="net/java/sip/communicator/service/calendar" />
</jar>
</target>
<!-- BUNDLE-PLUGIN-THUNDERBIRD -->
<target name="bundle-thunderbird">
<!-- Creates a bundle which provides support for the thunderbird Address Book. -->
<jar compress="false" destfile="${bundles.dest}/thunderbook.jar"
manifest="${src}/net/java/sip/communicator/plugin/thunderbird/thunderbird.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/thunderbird"
prefix="net/java/sip/communicator/plugin/thunderbird" />
</jar>
</target>
<target name="bundle-certificate">
<jar compress="false" destfile="${bundles.dest}/certificate.jar"
manifest="${src}/net/java/sip/communicator/impl/certificate/certificate.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/certificate"
prefix="net/java/sip/communicator/service/certificate" />
<zipfileset dir="${dest}/net/java/sip/communicator/impl/certificate"
prefix="net/java/sip/communicator/impl/certificate" />
</jar>
</target>
<target name="bundle-packetlogging">
<jar compress="false" destfile="${bundles.dest}/packetlogging.jar"
manifest="${src}/net/java/sip/communicator/impl/packetlogging/packetlogging.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/packetlogging"
prefix="net/java/sip/communicator/impl/packetlogging" />
</jar>
</target>
<target name="bundle-plugin-loggingutils">
<jar compress="false" destfile="${bundles.dest}/plugin-loggingutils.jar"
manifest="${src}/net/java/sip/communicator/plugin/loggingutils/loggingutils.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/loggingutils"
prefix="net/java/sip/communicator/plugin/loggingutils" />
</jar>
</target>
<target name="bundle-plugin-ldap">
<jar compress="false" destfile="${bundles.dest}/plugin-ldap.jar"
manifest="${src}/net/java/sip/communicator/plugin/ldap/ldap.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/ldap"
prefix="net/java/sip/communicator/plugin/ldap"/>
</jar>
</target>
<!-- BUNDLE-SYSACTIVITYNOTIFICATIONS -->
<target name="bundle-sysactivitynotifications"
depends="bundle-sysactivitynotifications-dynamically,bundle-sysactivitynotifications-statically" />
<target name="bundle-sysactivitynotifications-dynamically" if="dynamic.linking">
<jar compress="false" destfile="${bundles.dest}/sysactivitynotifications.jar"
manifest="${src}/net/java/sip/communicator/impl/sysactivity/sysactivity.impl.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/sysactivity"
prefix="net/java/sip/communicator/impl/sysactivity" />
<zipfileset dir="${dest}/net/java/sip/communicator/service/sysactivity"
prefix="net/java/sip/communicator/service/sysactivity" />
</jar>
</target>
<target name="bundle-sysactivitynotifications-statically" unless="dynamic.linking">
<jar compress="false" destfile="${bundles.dest}/sysactivitynotifications.jar"
manifest="${src}/net/java/sip/communicator/impl/sysactivity/sysactivity.impl.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/sysactivity"
prefix="net/java/sip/communicator/impl/sysactivity" />
<zipfileset dir="${dest}/net/java/sip/communicator/service/sysactivity"
prefix="net/java/sip/communicator/service/sysactivity" />
<zipfileset src="${lib.noinst}/libdbus-java-2.7.jar" prefix="" />
<zipfileset src="${lib.noinst}/unix-0.5.jar" prefix="" />
<zipfileset src="${lib.noinst}/hexdump-0.2.jar" prefix="" />
</jar>
</target>
<target name="bundle-plugin-contactsourceconfig">
<jar compress="false" destfile="${bundles.dest}/plugin-contactsourceconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/contactsourceconfig/contactsourceconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/contactsourceconfig"
prefix="net/java/sip/communicator/plugin/contactsourceconfig"/>
</jar>
</target>
<target name="bundle-plugin-certconfig">
<jar compress="false" destfile="${bundles.dest}/plugin-certconfig.jar"
manifest="${src}/net/java/sip/communicator/plugin/certconfig/certconfig.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/certconfig"
prefix="net/java/sip/communicator/plugin/certconfig" />
</jar>
</target>
<target name="bundle-globalshortcut">
<jar compress="false" destfile="${bundles.dest}/globalshortcut.jar"
manifest="${src}/net/java/sip/communicator/impl/globalshortcut/globalshortcut.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/globalshortcut"
prefix="net/java/sip/communicator/impl/globalshortcut" />
<zipfileset dir="${dest}/net/java/sip/communicator/service/globalshortcut"
prefix="net/java/sip/communicator/service/globalshortcut"/>
</jar>
</target>
<target name="bundle-plugin-msofficecomm">
<jar compress="false" destfile="${bundles.dest}/plugin-msofficecomm.jar"
manifest="${src}/net/java/sip/communicator/plugin/msofficecomm/msofficecomm.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/msofficecomm"
prefix="net/java/sip/communicator/plugin/msofficecomm" />
</jar>
</target>
<!-- BUNDLE-CUSTOM-CONTACT-ACTIONS -->
<target name="bundle-customcontactactions">
<!-- Creates a bundle containing the contact source interfaces.-->
<jar compress="false" destfile="${bundles.dest}/customcontactactions.jar"
manifest="${src}/net/java/sip/communicator/service/customcontactactions/customcontactactions.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/customcontactactions"
prefix="net/java/sip/communicator/service/customcontactactions"/>
</jar>
</target>
<!-- BUNDLE-PHONE-NUMBER-CONTACT-SOURCE -->
<target name="bundle-phonenumbercontactsource">
<!-- Creates a bundle containing the contact source interfaces.-->
<jar compress="false" destfile="${bundles.dest}/phonenumbercontactsource.jar"
manifest="${src}/net/java/sip/communicator/plugin/phonenumbercontactsource/phonenumbercontactsource.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/phonenumbercontactsource"
prefix="net/java/sip/communicator/plugin/phonenumbercontactsource"/>
</jar>
</target>
<!-- BUNDLE-PHONE-NUMBER-CONTACT-SOURCE -->
<target name="bundle-usersearch">
<!-- Creates a bundle containing the contact source interfaces.-->
<jar compress="false" destfile="${bundles.dest}/usersearch.jar"
manifest="${src}/net/java/sip/communicator/plugin/usersearch/usersearch.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/usersearch"
prefix="net/java/sip/communicator/plugin/usersearch"/>
</jar>
</target>
<!-- BUNDLE-PHONE-NUMBER-CONTACT-SOURCE -->
<target name="bundle-demuxcontactsource">
<!-- Creates a bundle containing the contact source interfaces.-->
<jar compress="false" destfile="${bundles.dest}/demuxcontactsource.jar"
manifest="${src}/net/java/sip/communicator/plugin/demuxcontactsource/demuxcontactsource.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/demuxcontactsource"
prefix="net/java/sip/communicator/plugin/demuxcontactsource"/>
</jar>
</target>
<!-- BUNDLE-CHAT-ROOM-CONTACT-SOURCE -->
<target name="bundle-muc">
<!-- Creates a bundle containing the contact source interfaces.-->
<jar compress="false" destfile="${bundles.dest}/muc.jar"
manifest="${src}/net/java/sip/communicator/impl/muc/muc.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/impl/muc"
prefix="net/java/sip/communicator/impl/muc"/>
<zipfileset dir="${dest}/net/java/sip/communicator/service/muc"
prefix="net/java/sip/communicator/service/muc" />
</jar>
</target>
<!-- BUNDLE-SWING-UTIL -->
<target name="bundle-desktoputil">
<!-- Creates a bundle containing the swing utility packages.-->
<jar compress="false" destfile="${bundles.dest}/desktoputil.jar"
manifest="${src}/net/java/sip/communicator/plugin/desktoputil/desktoputil.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/desktoputil"
prefix="net/java/sip/communicator/plugin/desktoputil">
<exclude name="dns/**"/>
</zipfileset>
<zipfileset src="${lib.noinst}/laf-widget.jar" prefix=""/>
</jar>
</target>
<!--BUNDLE-GLOBALDISPLAYDETAILS-->
<target name="bundle-globaldisplaydetails">
<jar compress="false" destfile="${bundles.dest}/globaldisplaydetails.jar"
manifest="${src}/net/java/sip/communicator/impl/globaldisplaydetails/globaldisplaydetails.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/service/globaldisplaydetails"
prefix="net/java/sip/communicator/service/globaldisplaydetails"/>
<zipfileset dir="${dest}/net/java/sip/communicator/impl/globaldisplaydetails"
prefix="net/java/sip/communicator/impl/globaldisplaydetails" />
</jar>
</target>
<!--BUNDLE-PLUGIN-PROPERTIESEDITOR-->
<target name="bundle-plugin-propertieseditor">
<!-- Creates a bundle for the plugin Configuration Properties Editor.-->
<jar compress="false" destfile="${bundles.dest}/propertieseditor.jar"
manifest="${src}/net/java/sip/communicator/plugin/propertieseditor/propertieseditor.manifest.mf">
<zipfileset dir="${dest}/net/java/sip/communicator/plugin/propertieseditor"
prefix="net/java/sip/communicator/plugin/propertieseditor"/>
</jar>
</target>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化