Rolling back NightlyBuildID.
[sip-communicator.git] / build.xml
blob38b55090d6f6e0eb38115951b023090399a6b1fe
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- Created by Emil Ivov on Jul 6, 2005 8:30:22 PM-->
4 <project default="ant-usage" name="sip-communicator">
6     <dirname property="sc.basedir" file="${ant.file.sip-communicator}"/>
7     <property environment="system"/>
8     <property name="jdk.home" value="/usr/java/java"/>
9     <property name="dest" value="classes"/>
10     <property name="bundles.dest" value="sc-bundles"/>
11     <property name="bundles.dest.mac" value="${bundles.dest}/os-specific/macosx"/>
12     <property name="bundles.dest.win" value="${bundles.dest}/os-specific/windows"/>
13     <property name="bundles.dest.lin" value="${bundles.dest}/os-specific/linux"/>
14     <property name="bundles.dest.sol" value="${bundles.dest}/os-specific/solaris"/>
15     <property name="doc" value="doc"/>
16     <property name="java.doc" value="${doc}/api"/>
17     <property name="lib" value="${sc.basedir}/lib"/>
18     <property name="lib.win" value="${lib}/os-specific/windows"/>
19     <property name="lib.win.noinst" value="${lib}/os-specific/windows/installer-exclude"/>
20     <property name="lib.lin" value="${lib}/os-specific/linux"/>
21     <property name="lib.lin.noinst" value="${lib}/os-specific/linux/installer-exclude"/>
22     <property name="lib.mac" value="${lib}/os-specific/mac"/>
23     <property name="lib.mac.noinst" value="${lib}/os-specific/mac/installer-exclude"/>
24     <property name="lib.sol" value="${lib}/os-specific/solaris"/>
25     <property name="lib.sol.noinst" value="${lib}/os-specific/solaris/installer-exclude"/>
26     <property name="lib.noinst" value="${lib}/installer-exclude"/>
27     <property name="native.libs" value="${lib}/native"/>
28     <property name="src" value="${sc.basedir}/src"/>
29     <property name="src2" value="${sc.basedir}/test"/>
30     <property name="testsrc" value="${src2}"/>
31     <property name="home" value="${system.HOME}"/>
32     <property name="bin" value="sip-communicator.bin"/>
33     <property name="utest.bin" value="sip-communicator.utest.bin"/>
34     <property name="test.reports.dir" value="test-reports"/>
35     <property name="test.html.reports.dir" value="${test.reports.dir}/html"/>
36     <property name="release" value="release"/>
37     <property name="log" value="log"/>
38     <property name="release.src" value="${release}/install"/>
39     <property name="resources" value="${dest}/resources"/>
40     <property name="inst.resrc" value="${sc.basedir}/resources/install"/>
41     <property name="path" value="${lib}/native/windows;${system.PATH}"/>
43     <!-- set the build label property and make it take the cc bild into account -->
44     <condition property="build.label"
45                value="nightly.${label}"
46                else="0.build.by.${user.name}">
47         <isset property="label"/>
48     </condition>
50     <!-- load properties needed for running the automated tests (e.g. test.list)-->
51     <property file="${lib}/testing.properties"/>
53     <!-- The following file contains a list of protocol account initialization
54          properties, such as SIP server addresses and usernames, ICQ uin-s and
55          passwords, AIM screennames and etc. The file should not be committed
56          to CVS or shared among developers since that could lead to multiple
57          login problems and cause testing to fail. You could create the file
58          yourself using the lib/account.properties.template and setting all
59          fields as indicated. -->
60     <property file="${lib}/accounts.properties"/>
62     <!-- windows specific properties -->
63     <condition property="is.running.windows" value="${os.name}">
64         <os family="windows"/>
65     </condition>
67     <condition property="os.lib.home" value="${lib.win}">
68         <isset property="is.running.windows"/>
69     </condition>
71     <condition property="bundles.dest.os" value="${bundles.dest.win}">
72         <isset property="is.running.windows"/>
73     </condition>
75     <!-- linux specific properties -->
76     <condition property="is.running.linux" value="${os.name}">
77         <equals arg1="${os.name}" arg2="linux" casesensitive="false" trim="true"/>
78     </condition>
80     <condition property="os.lib.home" value="${lib.lin}">
81         <isset property="is.running.linux"/>
82     </condition>
84     <condition property="ld.library.path"
85               value="${lib}/native/linux:${system.LD_LIBRARY_PATH}">
86         <isset property="is.running.linux"/>
87     </condition>
89     <condition property="bundles.dest.os" value="${bundles.dest.lin}">
90         <isset property="is.running.linux"/>
91     </condition>
93     <!-- solaris specific properties -->
94     <condition property="is.running.solaris" value="${os.name}">
95         <equals arg1="${os.name}" arg2="solaris" casesensitive="false" trim="true"/>
96     </condition>
98     <condition property="is.running.solaris" value="${os.name}">
99         <equals arg1="${os.name}" arg2="SunOS" casesensitive="false" trim="true"/>
100     </condition>
102     <condition property="os.lib.home" value="${lib}/os-specific/solaris">
103         <isset property="is.running.solaris"/>
104     </condition>
106     <condition property="ld.library.path"
107               value="${lib}/native/solaris:${system.LD_LIBRARY_PATH}">
108         <isset property="is.running.solaris"/>
109     </condition>
111     <condition property="bundles.dest.os" value="${bundles.dest.sol}">
112         <isset property="is.running.solaris"/>
113     </condition>
115     <!-- mac specific properties -->
116     <condition property="is.running.macos" value="${os.name}">
117         <os family="mac"/>
118     </condition>
120     <condition property="os.lib.home" value="${lib}/os-specific/mac">
121         <isset property="is.running.macos"/>
122     </condition>
124     <condition property="dyld.library.path"
125         value="${lib}/native/mac:${system.DYLD_LIBRARY_PATH}">
126         <isset property="is.running.macos"/>
127     </condition>
129     <condition property="bundles.dest.os" value="${bundles.dest.mac}">
130         <isset property="is.running.macos"/>
131     </condition>
133     <!-- set the os.lib.home here in case it was not set before -->
134     <property name="os.lib.home" value="${lib}"/>
136     <!-- set the jmf.properties here in case they were not set before -->
137     <property name="jmf.jar" value="${os.lib.home}/installer-exclude/jmf.jar"/>
138     <property name="sound.jar" value="${os.lib.home}/installer-exclude/sound.jar"/>
139     <!-- end jmf.home-->
141     <property name="jdic_stub.jar" value="${os.lib.home}/jdic_stub.jar"/>
143     <tstamp>
144         <format property="build.date" pattern="dd-MM-yyyy"/>
145     </tstamp>
147     <path id="project.source.path">
148         <!-- refer to both main and test source files. -->
149         <pathelement location="${src}"/>
150         <pathelement location="${src2}"/>
151     </path>
153     <path id="project.class.path">
154         <pathelement location="${lib}"/>
156         <!-- Add this bundle to the global class path as we need
157              the ScLogFormatter there-->
158         <pathelement location="${bundles.dest}/util.jar"/>
159         <!-- for mac specific plugins -->
160         <pathelement location="/System/Library/Java"/>
162         <!-- Include all JAR files found in lib and any of its subdirectories. -->
163         <fileset dir="${lib}">
164             <include name="*.jar"/>
165             <include name="installer-exclude/*.jar"/>
166             <include name="bundle/*.jar"/>
167         </fileset>
169         <fileset dir="${os.lib.home}">
170             <include name="**/*.jar"/>
171         </fileset>
172     </path>
174     <path id="compile.class.path">
175         <path refid="project.class.path"/>
176         <pathelement location="${dest}"/>
177         <!-- Add all jmf's and jdic's to the compile class path to enable
178              cross compilation. -->
179         <fileset dir="${lib}">
180             <include name="os-specific/**/*.jar"/>
181         </fileset>
182     </path>
184     <!-- Import installation build xml -->
185     <import file="${inst.resrc}/build.xml"/>
187   <!-- default Ant target does nothing except print helpful options -->
188   <!-- Ant-external target will appear in -projecthelp output       -->
189     <target name="ant-usage"
190         description="simply execute 'ant' to discover the most useful targets.">
191        <echo message="Useful ant commands for the SIP Communicator Project..." />
192        <echo message="'ant rebuild' for a safe clean/build sequence" />
193        <echo message="'ant rebuild run' for a safe clean/build/run" />
194        <echo message="'ant make run' for incremental build/run" />
195        <echo message="'ant run' to run the last build (use with care!)" />
196        <echo message="'ant test' to run the tests over the last build" />
197        <echo message="'ant rebuild test' for safe clean/build/test sequence" />
198        <echo message="'ant make test' for incremental build/test sequence" />
199        <echo message="'ant -projecthelp' for other useful build targets" />
200        <echo message="'ant -help' for Ant help" />
201     </target>
203     <!-- java compile -->
204     <target name="compile" depends="init,version">
205         <!--internal-target- compiles the entire project source tree -->
206         <javac classpathref="compile.class.path" debug="true"
207             deprecation="true" destdir="${dest}" nowarn="false"
208             source="1.5" target="1.5" memoryMaximumSize="400M" fork="true">
209             <src path="${src}"/>
210             <src path="${src2}"/>
211             <include name="**/*.java" />
212         </javac>
213     </target>
215     <!-- clean -->
216     <target name="clean" depends="clean-bundle-repositories,clean-test-reports"
217         description="Remove all generated files and prepare for a clean build.">
218         <delete failonerror="false" includeemptydirs="true">
219             <fileset dir="${dest}"/>
220             <fileset dir="${bundles.dest}"/>
221             <fileset dir="${java.doc}"/>
222             <fileset dir="${release}"/>
223             <fileset dir="${log}"/>
224         </delete>
225     </target>
227     <!-- internal target - removes the current set of test reports, so
228          residual data is not left to confuse a cached browser -->
229     <target name="clean-test-reports">
230         <delete failonerror="false" includeemptydirs="true">
231             <fileset dir="${test.reports.dir}"/>
232         </delete>
233     </target>
235     <!-- internal target - removes the OSGI repositories, so that next run
236          recreates them -->
237     <target name="clean-bundle-repositories">
238         <delete failonerror="false" includeemptydirs="true">
239             <fileset dir="${bin}"/>
240             <fileset dir="${utest.bin}"/>
241         </delete>
242     </target>
244     <!-- resource -->
245     <target name="resource">
246         <!--internal-target- Copies all resource file to the ${dest} dir -->
247         <copy todir="${dest}">
248             <fileset dir="${src}">
249                 <include name="**/*.jpeg"/>
250                 <include name="**/*.wav"/>
251                 <include name="**/*.au"/>
252                 <include name="**/*.gif"/>
253                 <include name="**/*.png"/>
254                 <include name="**/*.PNG"/>
255                 <include name="**/*.jpg"/>
256                 <include name="**/*.xml"/>
257                 <include name="**/*.themerc"/>
258                 <include name="**/gtkrc"/>
259                 <include name="**/*.css"/>
260                 <include name="**/*.properties"/>
261             </fileset>
262             <fileset dir="${src2}">
263                 <include name="**/*.jpeg"/>
264                 <include name="**/*.wav"/>
265                 <include name="**/*.au"/>
266                 <include name="**/*.gif"/>
267                 <include name="**/*.png"/>
268                 <include name="**/*.jpg"/>
269                 <include name="**/*.xml"/>
270                 <include name="**/*.properties"/>
271             </fileset>
272         </copy>
273         <copy todir="${resources}">
274            <fileset dir="${sc.basedir}/resources">
275                 <include name="**/*"/>
276                 <exclude name="**/languages/**"/>
277            </fileset>
278         </copy>
279     </target>
281     <target name="native2ascii">
282         <!-- internal target -
283              convert language property files encoding from UTF-8 to ASCII,
284              save converted files in ${resources}/languages dir -->
285         <native2ascii
286             src="${sc.basedir}/resources/languages"
287             dest="${resources}/languages"
288             encoding="UTF-8"
289             includes="**/*.properties"/>
290     </target>
292     <!-- JAVADOC -->
293     <target name="javadoc"
294       description="Generates project javadoc.">
295         <javadoc author="true" destdir="${java.doc}" package="true"
296             version="true" use="true" windowtitle="SIP Communicator API"
297             classpathref="compile.class.path" source="1.5+" maxmemory="128m">
298             <packageset dir="${src}">
299                 <exclude name="net/java/sip/communicator/impl/version/**"/>
300                 <include name="**"/>
301             </packageset>
302             <tag name="todo" description="To do:"/>
303         </javadoc>
304     </target>
306     <!--PACKAGE-->
307     <!--Copy resource files and update bundles jars. -->
308     <target name="package" depends="resource,native2ascii,bundles"/>
310     <!--MAKE-->
311     <target name="make" depends="clean-bundle-repositories,compile,package"
312         description="Incremental compile and package the project."/>
314     <!--REBUILD-->
315     <target name="rebuild" depends="clean,make"
316         description="Clean and make the project (including bundles).">
317         <echo message="ver=${sip-communicator.version}"/>
318         </target>
320     <!-- SIP Communicator Version -->
321     <target name="version">
322         <!-- create a class that would contain our nightly build.id if any -->
323         <copy file="${src}/net/java/sip/communicator/impl/version/NightlyBuildID.java.tmpl"
324               tofile="${src}/net/java/sip/communicator/impl/version/NightlyBuildID.java"
325               overwrite="true"/>
327         <!-- set the build id according to the cruisecontrol property -->
328         <replace file="${src}/net/java/sip/communicator/impl/version/NightlyBuildID.java"
329             token="build.id" value="${build.label}"/>
331         <!-- Recompile ant task classes-->
332         <delete failonerror="false">
333             <fileset dir="${dest}" includes="net/java/sip/communicator/impl/version/*.class"/>
334         </delete>
335         <javac destdir="${dest}" source="1.5" target="1.5">
336             <src path="${src}"/>
337             <include name="net/java/sip/communicator/impl/version/NightlyBuildID.java" />
338             <include name="net/java/sip/communicator/impl/version/VersionImpl.java" />
339             <include name="net/java/sip/communicator/impl/version/SipCommunicatorVersionTask.java" />
340         </javac>
343         <taskdef name="sip-communicator-version" classpath="${dest}"
344                  classname="net.java.sip.communicator.impl.version.SipCommunicatorVersionTask"/>
346         <sip-communicator-version property="sip-communicator.version" />
348         <echo message="SIP Communicator version ${sip-communicator.version}" />        
349     </target>
351     <!--INIT-->
352     <target name="init" >
353         <mkdir dir="${dest}"/>
354         <mkdir dir="${doc}"/>
355         <mkdir dir="${java.doc}"/>
356         <mkdir dir="${bundles.dest}"/>
358         <!-- create dirs for os specific bundles -->
359         <mkdir dir="${bundles.dest}/os-specific"/>
360         <mkdir dir="${bundles.dest.mac}"/>
361         <mkdir dir="${bundles.dest.lin}"/>
362         <mkdir dir="${bundles.dest.win}"/>
364         <mkdir dir="${test.reports.dir}"/>
365         <mkdir dir="${test.reports.dir}/html"/>
366         <mkdir dir="${release}"/>
367         <mkdir dir="${log}"/>
368     </target>
371     <!-- - - - - - - - - - - - - - UNIT TESTING - - - - - - - - - - - - - - -->
373     <!--PREPARE-TESTS-->
374     <target name="identify-test">
375         <!--internal-target- identify Service Impl Compatibility Kits to run -->
376         <condition property="test.name.known">
377             <!-- has a single test class has been defined?    -->
378             <!-- e.g. ant test -Dtest.name=SlickName    -->
379             <isset property="test.name"/>
380         </condition>
381     </target>
383     <target name="prepare-single-test" depends="identify-test"
384             if="test.name.known">
385         <!--internal-target- prepare to run a single Service Impl Compatibility Kit -->
386         <!-- extract the simple Test class name. -->
387         <basename property="simple.test.names" file="${test.name}"/>
388         <echo message="single test prepared: ${simple.test.names}" />        
389     </target>
391     <!--internal-target- prepare to run all known Service Impl Compatibility Kit -->
392     <!-- assign all known Test classes. -->
393     <target name="prepare-all-tests" depends="identify-test"
394             unless="test.name.known"
395             description="prepares to run all known Service Impl Compatibility Kits">
396         <!-- load Test classes from a test conf file. -->
397         <!-- this would set the "simple.test.names" property -->
398         <property name="simple.test.names" value="${test.list}"/>
399     </target>
401     <!--RUN-TESTS-->
402     <target name="test"
403         depends="prepare-single-test,prepare-all-tests,clean-test-reports,
404                  -deploy-os-specific-bundles"
405         description="Starts felix and runs selected Service Impl Compatibility Kits.">
407         <!-- Do the testing itself. Note that we don't fail on error as we need
408              to generate an html report before leaving this target.-->
409         <java classname="org.apache.felix.main.Main"
410             fork="true"
411             failonerror="false"
412             resultproperty="test.result.code"
413             classpathref="project.class.path">
415             <!-- The following two configure felix telling it that it's running
416                  as a test environment-->
417             <sysproperty key="felix.config.properties"
418                 value="file:${lib}/felix.unit.test.properties"/>
420             <!-- Tell the slick runner where to store test results. -->
421             <sysproperty key="net.java.sip.communicator.slick.runner.OUTPUT_DIR"
422                 value="${test.reports.dir}"/>
424             <!-- Tell the slick runner about TestSutes we've preregistered. -->
425             <sysproperty key="net.java.sip.communicator.slick.runner.TEST_LIST"
426                 value="${simple.test.names}"/>
428             <!-- Tell java.util.logging about our logging preferences -->
429             <sysproperty key="java.util.logging.config.file"
430                 value="${lib}/logging.properties"/>
432             <!-- Tell all protocol testers their account details. -->
433             <syspropertyset id="accounts">
434               <propertyref prefix="accounts"/>
435               <propertyref prefix="net"/>
436             </syspropertyset>
437         </java>
439         <!-- Generate the html report.
440              Run it quietly (i.e. redirect the output) because we don't won't to
441              see its "Build Successful" output line as users might confuse it
442              for a general build success while this might not be the case.-->
443         <echo message="Generating HTML test reports ..."/>
444         <java fork="true"
445               classname="org.apache.tools.ant.launch.Launcher"
446               classpath="${java.class.path}:${lib.noinst}/xalan-2.6.0.jar.ant"
447               failonerror="true"
448               output="${test.html.reports.dir}/output.txt">
449            <arg value="htmlreport"/>
450         </java>
451         <echo message="Done."/>
452         <echo/><echo/>
453         <echo message="Test results available in ./test-reports/html/index.html "/>
454         <echo/>
456         <!-- Check whether testing went alright and fail if not.-->
457         <condition property="testing.failed">
458           <not>
459             <equals arg1="0"
460             arg2="${test.result.code}"
461             casesensitive="false" trim="true"/>
462           </not>
463         </condition>
464         <fail if="testing.failed"/>
465     </target>
467     <!-- We use this target from within the test target in order to generate
468          a human readable test report. We do not directly use the htmlreport
469          target because we  need to include xalan in the classpath before we
470          do.-->
471     <target name="htmlreport">
472       <junitreport todir="${test.reports.dir}">
473         <fileset dir="${test.reports.dir}">
474           <include name="SC-TEST-*.xml"/>
475         </fileset>
476         <report format="frames" todir="${test.html.reports.dir}"/>
477       </junitreport>
478     </target>
480     <!--RUN-SIP-COMMUNICATOR -->
481     <target name="run" depends="-deploy-os-specific-bundles"
482         description="Starts felix and runs sip-comunicator gui (use latest build).">
484          <!-- forking prevents from debugging -->
485         <java classname="net.java.sip.communicator.launcher.SIPCommunicator"
486             fork="true"
487             failonerror="true"
488             classpathref="project.class.path">
490             <!-- Sets the charset for the messages -->
491             <!--sysproperty key="icq.custom.message.charset" value="windows-1252"/-->
493             <!-- Tell felix to run sip-communicator-->
494             <sysproperty key="felix.config.properties"
495                 value="file:${lib}/felix.client.run.properties"/>
497             <!-- Tell java.util.logging about our logging preferences -->
498             <sysproperty key="java.util.logging.config.file"
499                 value="${lib}/logging.properties"/>
501             <sysproperty key="java.net.preferIPv6Addresses"
502                 value="false"/>
504             <!--sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION"
505                     value="${user.home}/schome"/-->
507             <!-- Setting properties necessary for dependencies on native libs.-->
508             <sysproperty key="java.library.path"
509                 path="${ld.library.path}:${path}:${dyld.library.path}"/>
511             <!-- pass l10n properties from ant call for
512                  easy translation debugging -->
513             <sysproperty key="user.language" value="${user.language}" />
514             <sysproperty key="user.country" value="${user.country}" />
515             <sysproperty key="user.variant" value="${user.variant}" />
517             <env key="LD_LIBRARY_PATH" path="${ld.library.path}"/>
518             <env key="PATH" path="${path}"/>
519             <env key="DYLD_LIBRARY_PATH" path="${dyld.library.path}"/>
520         </java>
522     </target>
524     <!-- we run this target before we run SC in order to copy os-specific
525              bundles from sc-bundles/osname to its parent sc-bundles-->
526     <target name="-deploy-os-specific-bundles" if="bundles.dest.os">
528         <copy todir="${bundles.dest}">
529             <fileset dir="${bundles.dest.os}">
530                 <include name="**/*.jar"/>
531             </fileset>
532         </copy>
533     </target>
535     <!--CRUISE CONTROL BUILD LOOP target-->
536     <target name="cc-buildloop" depends="rebuild,test"
537             description="Comprehensive (paranoid) rebuild and test (used by Cruise Control)."/>
540     <!-- - - NetBeans Targets for specific files selected via ide-actions - -->
542     <!--netbeans only - debug a single test file under felix and jUnit-->
543     <target name="debug-selected-file"
544             depends="init,version,prepare-single-test,prepare-all-tests">
545         <!--internal-target- starts felix and debugs the selected
546                              Service Impl Compatibility Kit -->
548       <fail unless="test.name"
549             message="debug impossible when 'test.name' property not defined!" />
551         <nbjpdastart name="${test.name}"
552                      addressproperty="jpda.address"
553                      transport="dt_socket" >
554             <classpath refid="project.class.path" />
555             <sourcepath refid="project.source.path" />
556         </nbjpdastart>
558         <java fork="true"
559               classname="org.apache.felix.main.Main"
560               classpathref="project.class.path"
561               failonerror="true" >
562            <jvmarg value="-Xdebug"/>
563            <jvmarg value="-Xnoagent"/>
564            <jvmarg value="-Djava.compiler=none"/>
565            <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address}"/>
566            <arg value="${test.name}"/>
568             <!-- The following two configure felix telling it that it's running
569                  as a test environment-->
570             <sysproperty key="felix.config.properties"
571                 value="file:${lib}/felix.unit.test.properties"/>
573             <!-- Tell the slick runner where to store test results. -->
574             <sysproperty key="net.java.sip.communicator.slick.runner.OUTPUT_DIR"
575                 value="${test.reports.dir}"/>
577             <!-- Tell the slick runner which Test class to run. -->
578             <sysproperty key="net.java.sip.communicator.slick.runner.TEST_LIST"
579                 value="${simple.test.names}"/>
581             <!-- Tell the slick runner which Test class to run.
582             <sysproperty key="net.java.sip.communicator.slick.runner.TEST_LIST"
583                 value="SlicklessTests"/> -->
585             <!-- Tell java.util.logging about our logging preferences -->
586             <sysproperty key="java.util.logging.config.file"
587                 value="${lib}/logging.properties"/>
589         </java>
590     </target>
593     <!-- - - - - - - - - - - - - - BUNDLE BUILDING TARGETS - - - - - - - -  - -->
594     <!--ALL BUNDLES-->
595     <target name="bundles"
596         depends="bundle-util,bundle-configuration,bundle-configuration-slick,
597         bundle-history,bundle-history-slick,bundle-messagehistory, bundle-msghistory-slick,
598         bundle-callhistory, bundle-callhistory-slick,
599         bundle-netaddr,bundle-netaddr-slick,bundle-slickless,
600         bundle-slick-runner,bundle-sip,bundle-sip-slick,bundle-fileaccess,
601         bundle-fileaccess-slick,bundle-media,bundle-media-slick,
602         bundle-protocol,bundle-icq,bundle-icq-slick,bundle-mock,bundle-smacklib,
603         bundle-jabber,bundle-jabber-slick,bundle-swing-ui,
604         bundle-msn,bundle-msn-slick,bundle-yahoo,bundle-yahoo-slick,
605         bundle-contactlist,meta-contactlist,meta-contactlist-slick,
606         bundle-plugin-icqaccregwizz,bundle-plugin-jabberaccregwizz,
607         bundle-plugin-msnaccregwizz,bundle-plugin-sipaccregwizz,
608         bundle-plugin-yahooaccregwizz,bundle-plugin-aimaccregwizz,
609         bundle-version,bundle-version-impl,bundle-shutdown,
610         bundle-growlnotification,bundle-sparkle,
611         bundle-audionotifier,bundle-plugin-branding,
612         bundle-systray,bundle-browserlauncher,bundle-gibberish,
613         bundle-gibberish-slick,bundle-plugin-gibberishaccregwizz,
614         bundle-plugin-extended-callhistory-search,
615         bundle-rss, bundle-rss-slick,bundle-plugin-rssaccregwizz,
616         bundle-zeroconf,bundle-plugin-zeroconfaccregwizz,bundle-plugin-whiteboard,
617         bundle-irc,bundle-plugin-ircaccregwizz,
618         bundle-pluginmanager,bundle-notification,
619         bundle-ssh,bundle-plugin-sshaccregwizz,
620         bundle-contacteventhandler,bundle-plugin-contactinfo,
621         bundle-plugin-accountinfo,bundle-plugin-chatalerter,
622         bundle-plugin-statusupdate,
623         bundle-updatecheckplugin,
624         bundle-dict,bundle-plugin-dictaccregwizz,
625         bundle-plugin-simpleaccreg"/>
627     <!--BUNDLE-HISTORY-->
628     <target name="bundle-history">
629         <jar compress="false" destfile="${bundles.dest}/history.jar"
630             manifest="${src}/net/java/sip/communicator/impl/history/history.manifest.mf">
632             <zipfileset dir="${dest}/net/java/sip/communicator/service/history"
633                 prefix="net/java/sip/communicator/service/history"/>
634             <zipfileset dir="${dest}/net/java/sip/communicator/impl/history"
635                 prefix="net/java/sip/communicator/impl/history" />
636         </jar>
637     </target>
639     <!--BUNDLE-HISTORY-SLICK-->
640     <target name="bundle-history-slick">
641         <jar compress="false" destfile="${bundles.dest}/history-slick.jar"
642             manifest="${testsrc}/net/java/sip/communicator/slick/history/history.slick.manifest.mf">
643             <zipfileset dir="${dest}/net/java/sip/communicator/slick/history"
644                 prefix="net/java/sip/communicator/slick/history"/>
645         </jar>
646     </target>
648     <!--BUNDLE-MESSAGEHISTORY-->
649     <target name="bundle-messagehistory">
650         <jar compress="false" destfile="${bundles.dest}/msghistory.jar"
651             manifest="${src}/net/java/sip/communicator/impl/msghistory/msghistory.manifest.mf">
653             <zipfileset dir="${dest}/net/java/sip/communicator/service/msghistory"
654                 prefix="net/java/sip/communicator/service/msghistory"/>
655             <zipfileset dir="${dest}/net/java/sip/communicator/impl/msghistory"
656                 prefix="net/java/sip/communicator/impl/msghistory" />
657         </jar>
658     </target>
660     <!--BUNDLE-MESSAGEHISTORY-SLICK-->
661     <target name="bundle-msghistory-slick">
662         <jar compress="false" destfile="${bundles.dest}/msghistory-slick.jar"
663             manifest="${testsrc}/net/java/sip/communicator/slick/msghistory/msghistory.slick.manifest.mf">
664             <zipfileset dir="${dest}/net/java/sip/communicator/slick/msghistory"
665                 prefix="net/java/sip/communicator/slick/msghistory"/>
666         </jar>
667     </target>
669     <!--BUNDLE-CALLHISTORY-->
670     <target name="bundle-callhistory">
671         <jar compress="false" destfile="${bundles.dest}/callhistory.jar"
672             manifest="${src}/net/java/sip/communicator/impl/callhistory/callhistory.manifest.mf">
674             <zipfileset dir="${dest}/net/java/sip/communicator/service/callhistory"
675                 prefix="net/java/sip/communicator/service/callhistory"/>
676             <zipfileset dir="${dest}/net/java/sip/communicator/impl/callhistory"
677                 prefix="net/java/sip/communicator/impl/callhistory" />
678         </jar>
679     </target>
681     <!--BUNDLE-CALLEHISTORY-SLICK-->
682     <target name="bundle-callhistory-slick">
683         <jar compress="false" destfile="${bundles.dest}/callhistory-slick.jar"
684             manifest="${testsrc}/net/java/sip/communicator/slick/callhistory/callhistory.slick.manifest.mf">
685             <zipfileset dir="${dest}/net/java/sip/communicator/slick/callhistory"
686                 prefix="net/java/sip/communicator/slick/callhistory"/>
687         </jar>
688     </target>
690     <!--BUNDLE-FILEACCESS-->
691     <target name="bundle-fileaccess">
692         <jar compress="false" destfile="${bundles.dest}/fileaccess.jar"
693             manifest="${src}/net/java/sip/communicator/impl/fileaccess/fileaccess.manifest.mf">
695             <zipfileset dir="${dest}/net/java/sip/communicator/service/fileaccess"
696                 prefix="net/java/sip/communicator/service/fileaccess"/>
697             <zipfileset dir="${dest}/net/java/sip/communicator/impl/fileaccess"
698                 prefix="net/java/sip/communicator/impl/fileaccess" />
699         </jar>
700     </target>
702     <!--BUNDLE-FILEACCESS-SLICK-->
703     <target name="bundle-fileaccess-slick">
704         <jar compress="false" destfile="${bundles.dest}/fileaccess-slick.jar"
705             manifest="${testsrc}/net/java/sip/communicator/slick/fileaccess/fileaccess.slick.manifest.mf">
706             <zipfileset dir="${dest}/net/java/sip/communicator/slick/fileaccess"
707                 prefix="net/java/sip/communicator/slick/fileaccess"/>
708         </jar>
709     </target>
711     <!--BUNDLE-UTIL-->
712     <target name="bundle-util">
713         <jar compress="false" destfile="${bundles.dest}/util.jar"
714             manifest="${src}/net/java/sip/communicator/util/util.manifest.mf">
715             <zipfileset dir="${dest}/net/java/sip/communicator/util"
716                 prefix="net/java/sip/communicator/util"/>
717             <zipfileset src="${lib.noinst}/dnsjava-2.0.3.jar" prefix=""/>
718         </jar>
719     </target>
721     <!--BUNDLE-CONFIGURATION-->
722     <target name="bundle-configuration">
723         <jar
724             compress="false"
725             destfile="${bundles.dest}/configuration.jar"
726             manifest="${src}/net/java/sip/communicator/impl/configuration/configuration.manifest.mf" >
728             <zipfileset dir="${dest}/net/java/sip/communicator/service/configuration"
729                 prefix="net/java/sip/communicator/service/configuration"/>
730             <zipfileset dir="${dest}/net/java/sip/communicator/impl/configuration"
731                 prefix="net/java/sip/communicator/impl/configuration" />
732         </jar>
733     </target>
735     <!--BUNDLE-CONFIGURATION-SLICK-->
736     <target name="bundle-configuration-slick">
737         <jar compress="false" destfile="${bundles.dest}/configuration-slick.jar"
738             manifest="${testsrc}/net/java/sip/communicator/slick/configuration/configuration.slick.manifest.mf">
739             <zipfileset dir="${dest}/net/java/sip/communicator/slick/configuration"
740                 prefix="net/java/sip/communicator/slick/configuration"/>
741         </jar>
742     </target>
744     <!--BUNDLE-JUNIT -->
745     <target name="bundle-junit">
746         <jar compress="true" destfile="lib/bundle/junit.jar"
747             manifest="${testsrc}/junit/junit.manifest.mf">
748             <zipfileset src="${lib.noinst}/junit.jar" prefix=""/>
749         </jar>
750     </target>
752     <!--BUNDLE-MEDIA-->
753     <target name="bundle-media">
754         <!-- Creates a bundle containing the impl of the media package and
755              the win jmf implementation.-->
756         <jar
757             compress="false" destfile="${bundles.dest.win}/media.jar"
758             manifest="${src}/net/java/sip/communicator/impl/media/media.manifest.mf">
760             <zipfileset dir="${dest}/net/java/sip/communicator/service/media"
761                 prefix="net/java/sip/communicator/service/media"/>
762             <zipfileset dir="${dest}/net/java/sip/communicator/impl/media"
763                 prefix="net/java/sip/communicator/impl/media"/>
764             <zipfileset src="${lib.win.noinst}/jmf.jar" prefix=""/>
765             <zipfileset src="${lib.win.noinst}/sound.jar" prefix=""/>
766             <zipfileset src="${lib.noinst}/nist-sdp-1.0.jar" prefix=""/>
767             <zipfileset src="${lib.noinst}/jspeex.jar" prefix=""/>
768         </jar>
770         <!-- Creates a bundle containing the impl of the media package and
771              the linux jmf implementation.-->
772         <jar
773             compress="false" destfile="${bundles.dest.lin}/media.jar"
774             manifest="${src}/net/java/sip/communicator/impl/media/media.manifest.mf">
776             <zipfileset dir="${dest}/net/java/sip/communicator/service/media"
777                 prefix="net/java/sip/communicator/service/media"/>
778             <zipfileset dir="${dest}/net/java/sip/communicator/impl/media"
779                 prefix="net/java/sip/communicator/impl/media"/>
780             <zipfileset src="${lib.lin.noinst}/jmf.jar" prefix=""/>
781             <zipfileset src="${lib.noinst}/nist-sdp-1.0.jar" prefix=""/>
782             <zipfileset src="${lib.noinst}/jspeex.jar" prefix=""/>
783         </jar>
785         <!-- Creates a bundle containing the impl of the media package and
786              the mac jmf implementation.-->
787         <jar
788             compress="false" destfile="${bundles.dest.mac}/media.jar"
789             manifest="${src}/net/java/sip/communicator/impl/media/media.manifest.mf">
791             <zipfileset dir="${dest}/net/java/sip/communicator/service/media"
792                 prefix="net/java/sip/communicator/service/media"/>
793             <zipfileset dir="${dest}/net/java/sip/communicator/impl/media"
794                 prefix="net/java/sip/communicator/impl/media"/>
795             <zipfileset src="${lib.mac.noinst}/jmf.jar" prefix=""/>
796             <zipfileset src="${lib.noinst}/nist-sdp-1.0.jar" prefix=""/>
797             <zipfileset src="${lib.noinst}/jspeex.jar" prefix=""/>
798         </jar>
800     </target>
802     <!--BUNDLE-MEDIA-SLICK-->
803     <target name="bundle-media-slick">
804         <!-- Creates a bundle containing the slick for the media package."-->
805         <jar compress="false" destfile="${bundles.dest}/media-slick.jar"
806             manifest="${testsrc}/net/java/sip/communicator/slick/media/media.slick.manifest.mf">
807             <zipfileset dir="${dest}/net/java/sip/communicator/slick/media"
808                 prefix="net/java/sip/communicator/slick/media"/>
809         </jar>
810     </target>
812     <!--BUNDLE-SERVICEBINDER -->
813     <target name="bundle-servicebinder">
814         <jar compress="true" destfile="lib/bundle/servicebinder.jar"
815             filesetmanifest="merge">
817             <zipfileset src="${lib}/servicebinder.jar" prefix=""/>
818             <manifest>
819                 <attribute name="Import-Package" value="org.osgi.framework"/>
820             </manifest>
821         </jar>
822     </target>
824     <!--BUNDLE-ARCHITECTUREVIEWER -->
825     <target name="bundle-architectureviewer">
826         <jar compress="true" destfile="lib/bundle/architectureviewer1.1.jar"
827             filesetmanifest="merge">
829             <zipfileset src="${lib.noinst}/architectureviewer1.1.jar" prefix=""/>
830             <manifest>
831                 <attribute name="Import-Package"
832                     value="javax.swing, javax.swing.text,
833 org.ungoverned.gravity.servicebinder, org.ungoverned.gravity.servicebinder.architecture,
834 javax.accessibility, javax.swing.plaf, javax.swing.tree, javax.swing.undo,
835 javax.swing.event, javax.swing.border"/>
836             </manifest>
837         </jar>
838     </target>
840     <!--BUNDLE-NETADDR -->
841     <target name="bundle-netaddr">
842         <jar compress="false" destfile="${bundles.dest}/netaddr.jar"
843             manifest="${src}/net/java/sip/communicator/impl/netaddr/netaddr.manifest.mf">
844             <zipfileset dir="${dest}/net/java/sip/communicator/service/netaddr"
845                 prefix="net/java/sip/communicator/service/netaddr"/>
846             <zipfileset dir="${dest}/net/java/sip/communicator/impl/netaddr"
847                 prefix="net/java/sip/communicator/impl/netaddr"/>
848             <zipfileset src="${lib.noinst}/Stun4J.jar" prefix=""/>
849         </jar>
850     </target>
852     <!--BUNDLE-NETADDR-SLICK -->
853     <target name="bundle-netaddr-slick">
854         <jar compress="false" destfile="${bundles.dest}/netaddr-slick.jar"
855             manifest="${testsrc}/net/java/sip/communicator/slick/netaddr/netaddr.slick.manifest.mf">
856             <zipfileset dir="${dest}/net/java/sip/communicator/slick/netaddr"
857                 prefix="net/java/sip/communicator/slick/netaddr"/>
858         </jar>
859     </target>
861     <!--BUNDLE-SLICKLESS-->
862     <target name="bundle-slickless">
863         <!--internal-target- Runs all tests which do not belong to a service implementation and don't therefore need a running OSGI framework -->
864         <jar compress="false" destfile="${bundles.dest}/slickless.jar"
865             manifest="${testsrc}/net/java/sip/communicator/slick/slickless/slickless.manifest.mf">
866             <zipfileset dir="${dest}/net/java/sip/communicator/slick/slickless"
867                 prefix="net/java/sip/communicator/slick/slickless"/>
868         </jar>
869     </target>
871     <!--BUNDLE-SLICK-RUNNER-->
872     <target name="bundle-slick-runner">
873         <!--internal-target- Creates a bundle that runs all SLICKs that currently exist in sip-com -->
874         <jar compress="false" destfile="${bundles.dest}/slick-runner.jar"
875             manifest="${testsrc}/net/java/sip/communicator/slick/runner/slick-runner.manifest.mf">
876             <zipfileset dir="${dest}/net/java/sip/communicator/slick/runner"
877                 prefix="net/java/sip/communicator/slick/runner"/>
878         </jar>
879     </target>
881     <!--BUNDLE-SIP-->
882     <target name="bundle-sip">
883         <!--internal-target- Creates a bundle containing the sip implementation of the protocol provider package -->
884         <jar compress="false" destfile="${bundles.dest}/protocol-sip.jar"
885             manifest="${src}/net/java/sip/communicator/impl/protocol/sip/sip.provider.manifest.mf">
886             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/sip"
887                 prefix="net/java/sip/communicator/impl/protocol/sip"/>
888             <zipfileset src="${lib.noinst}/JainSipRi1.2.jar" prefix=""/>
889             <zipfileset src="${lib.noinst}/JainSipApi1.2.jar" prefix=""/>
890             <zipfileset src="${lib.noinst}/concurrent.jar" prefix=""/>
891             <zipfileset src="${lib.noinst}/log4j-1.2.8.jar" prefix=""/>
892             <zipfileset dir="${resources}/images/protocol/sip"
893                             prefix="resources/images/protocol/sip"/>
894         </jar>
895     </target>
896     <target name="bundle-sip-slick">
897         <!--internal-target- Creates a bundle containing the all tests for the
898             sip implementation of the protocol provider package -->
899         <jar compress="false" destfile="${bundles.dest}/protocol-sip-slick.jar"
900             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/sip/sip.provider.slick.manifest.mf">
901             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/sip"
902                 prefix="net/java/sip/communicator/slick/protocol/sip"/>
903         </jar>
904     </target>
906     <!-- BUNDLE-PROTOCOL -->
907     <target name="bundle-protocol">
908         <!-- Creates a bundle containing the protocol provider interfaces.-->
909         <jar compress="false" destfile="${bundles.dest}/protocol.jar"
910             manifest="${src}/net/java/sip/communicator/service/protocol/protocol.provider.manifest.mf">
911             <zipfileset dir="${dest}/net/java/sip/communicator/service/protocol"
912                 prefix="net/java/sip/communicator/service/protocol"/>
913             <zipfileset dir="${resources}/images"
914                 prefix="resources/images"/>
915         </jar>
916     </target>
918     <target name="bundle-smacklib">
919         <!-- Creates a bundle containing the smack lib.-->
920         <jar compress="false" destfile="${bundles.dest}/smacklib.jar"
921             manifest="${lib.noinst}/smack.manifest.mf">
922             <zipfileset src="${lib.noinst}/smack.jar" prefix=""/>
923             <zipfileset src="${lib.noinst}/smackx.jar" prefix=""/>
924             <zipfileset src="${lib.noinst}/smackx-jingle.jar" prefix=""/>
925         </jar>
926     </target>
928     <!-- BUNDLE-ICQ -->
929     <target name="bundle-icq">
930         <!-- Creates a bundle containing the icq impl of the protocol provider.-->
931         <jar compress="false" destfile="${bundles.dest}/protocol-icq.jar"
932             manifest="${src}/net/java/sip/communicator/impl/protocol/icq/icq.provider.manifest.mf">
933             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/icq"
934                 prefix="net/java/sip/communicator/impl/protocol/icq"/>
935             <zipfileset src="${lib.noinst}/joscar-client.jar" prefix=""/>
936             <zipfileset src="${lib.noinst}/joscar-common.jar" prefix=""/>
937             <zipfileset src="${lib.noinst}/joscar-protocol.jar" prefix=""/>
938             <zipfileset src="${lib.noinst}/jsocks-klea.jar" prefix=""/>
939             <zipfileset dir="${resources}/images/protocol/icq"
940                             prefix="resources/images/protocol/icq"/>
941             <zipfileset dir="${resources}/images/protocol/aim"
942                             prefix="resources/images/protocol/aim"/>
943         </jar>
944     </target>
946     <!-- BUNDLE-ICQ-SLICK -->
947     <target name="bundle-icq-slick">
948         <!-- Creates a bundle containing the slick for the ICQ protocol provider.-->
949         <jar compress="false" destfile="${bundles.dest}/protocol-icq-slick.jar"
950             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/icq/icq.provider.slick.manifest.mf">
951             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/icq"
952                 prefix="net/java/sip/communicator/slick/protocol/icq"/>
953             <zipfileset src="${lib.noinst}/joscar-client.jar" prefix=""/>
954             <zipfileset src="${lib.noinst}/joscar-common.jar" prefix=""/>
955             <zipfileset src="${lib.noinst}/joscar-protocol.jar" prefix=""/>
956             <zipfileset src="${lib.noinst}/jsocks-klea.jar" prefix=""/>
957         </jar>
958     </target>
960      <!--BUNDLE-MOCK-PROVIDER-->
961     <target name="bundle-mock">
962         <!--internal-target- Creates a bundle containing the mock implementation of the protocol provider package -->
963         <jar compress="false" destfile="${bundles.dest}/protocol-mock.jar"
964             manifest="${src}/net/java/sip/communicator/impl/protocol/mock/mock.provider.manifest.mf">
965             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/mock"
966                 prefix="net/java/sip/communicator/impl/protocol/mock"/>
967         </jar>
968     </target>
970     <!-- BUNDLE-JABBER -->
971     <target name="bundle-jabber">
972         <!-- Creates a bundle containing the jabber impl of the protocol provider.-->
973         <jar compress="false" destfile="${bundles.dest}/protocol-jabber.jar"
974             manifest="${src}/net/java/sip/communicator/impl/protocol/jabber/jabber.provider.manifest.mf">
975             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/jabber"
976                 prefix="net/java/sip/communicator/impl/protocol/jabber"/>
977             <zipfileset dir="${resources}/images/protocol/jabber"
978                             prefix="resources/images/protocol/jabber"/>
979         </jar>
980     </target>
982     <!-- BUNDLE-JABBER-SLICK -->
983     <!-- Creates a bundle containing the slick for the Jabber protocol provider.-->
984     <target name="bundle-jabber-slick">
986         <jar compress="false" destfile="${bundles.dest}/protocol-jabber-slick.jar"
987             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/jabber/jabber.provider.slick.manifest.mf">
988             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/jabber"
989                 prefix="net/java/sip/communicator/slick/protocol/jabber"/>
990         </jar>
991     </target>
993     <!-- BUNDLE-MSN -->
994     <target name="bundle-msn">
995         <!-- Creates a bundle containing the msn impl of the protocol provider.-->
996         <jar compress="false" destfile="${bundles.dest}/protocol-msn.jar"
997             manifest="${src}/net/java/sip/communicator/impl/protocol/msn/msn.provider.manifest.mf">
998             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/msn"
999                 prefix="net/java/sip/communicator/impl/protocol/msn"/>
1000             <zipfileset src="${lib.noinst}/jml-1.0b2.jar" prefix=""/>
1001             <zipfileset src="${lib.noinst}/commons-logging.jar" prefix=""/>
1002             <zipfileset dir="${resources}/images/protocol/msn"
1003                             prefix="resources/images/protocol/msn"/>
1004         </jar>
1005     </target>
1007     <!-- BUNDLE-MSN-SLICK -->
1008     <!-- Creates a bundle containing the slick for the Msn protocol provider.-->
1009     <target name="bundle-msn-slick">
1011         <jar compress="false" destfile="${bundles.dest}/protocol-msn-slick.jar"
1012             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/msn/msn.provider.slick.manifest.mf">
1013             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/msn"
1014                 prefix="net/java/sip/communicator/slick/protocol/msn"/>
1015             <zipfileset src="${lib.noinst}/jml-1.0b2.jar" prefix=""/>
1016             <zipfileset src="${lib.noinst}/commons-logging.jar" prefix=""/>
1017         </jar>
1018     </target>
1019     
1020     <!-- BUNDLE-SSH -->
1021     <target name="bundle-ssh">
1022         <!-- Creates a bundle containing the SSH impl of the protocol provider.-->
1023         <jar compress="false" destfile="${bundles.dest}/protocol-ssh.jar"
1024             manifest="${src}/net/java/sip/communicator/impl/protocol/ssh/ssh.provider.manifest.mf">
1025             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/ssh"
1026                 prefix="net/java/sip/communicator/impl/protocol/ssh"/>
1027             <zipfileset src="${lib.noinst}/jsch-0.1.36.jar" prefix=""/>
1028             <zipfileset dir="${resources}/images/protocol/ssh"
1029                             prefix="resources/images/protocol/ssh"/>
1030         </jar>
1031     </target>
1033     <!-- BUNDLE-PLUGIN-SSHACCREGWIZZ -->
1034     <target name="bundle-plugin-sshaccregwizz">
1035         <!-- Creates a bundle for the plugin SSH Account Registration Wizard.-->
1036         <jar compress="false" destfile="${bundles.dest}/sshaccregwizz.jar"
1037             manifest="${src}/net/java/sip/communicator/plugin/sshaccregwizz/sshaccregwizz.manifest.mf">
1038             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/sshaccregwizz"
1039                 prefix="net/java/sip/communicator/plugin/sshaccregwizz"/>
1040             <zipfileset dir="${resources}/images/protocol/ssh"
1041                 prefix="resources/images/protocol/ssh"/>
1042             <zipfileset dir="${resources}/languages/plugin/sshaccregwizz"
1043                 prefix="resources/languages/plugin/sshaccregwizz"/>
1044         </jar>
1045     </target>
1047     <!-- BUNDLE-YAHOO -->
1048     <target name="bundle-yahoo">
1049         <!-- Creates a bundle containing the yahoo impl of the protocol provider.-->
1050         <jar compress="false" destfile="${bundles.dest}/protocol-yahoo.jar"
1051             manifest="${src}/net/java/sip/communicator/impl/protocol/yahoo/yahoo.provider.manifest.mf">
1052             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/yahoo"
1053                 prefix="net/java/sip/communicator/impl/protocol/yahoo"/>
1054             <zipfileset src="${lib.noinst}/ymsg_network_v0_63.jar" prefix=""/>
1055             <zipfileset dir="${resources}/images/protocol/yahoo"
1056                             prefix="resources/images/protocol/yahoo"/>
1057         </jar>
1058     </target>
1060     <!-- BUNDLE-YAHOO-SLICK -->
1061     <!-- Creates a bundle containing the slick for the Yahoo protocol provider.-->
1062     <target name="bundle-yahoo-slick">
1063         <jar compress="false" destfile="${bundles.dest}/protocol-yahoo-slick.jar"
1064             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/yahoo/yahoo.provider.slick.manifest.mf">
1065             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/yahoo"
1066                 prefix="net/java/sip/communicator/slick/protocol/yahoo"/>
1067             <zipfileset src="${lib.noinst}/ymsg_network_v0_63.jar" prefix=""/>
1068         </jar>
1069     </target>
1071     <!-- BUNDLE-GIBBERISH -->
1072     <target name="bundle-gibberish">
1073         <!-- Creates a bundle containing the Gibberish impl of the protocol provider.-->
1074         <jar compress="false" destfile="${bundles.dest}/protocol-gibberish.jar"
1075              manifest="${src}/net/java/sip/communicator/impl/protocol/gibberish/gibberish.provider.manifest.mf">
1076         <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/gibberish"
1077                     prefix="net/java/sip/communicator/impl/protocol/gibberish"/>
1078         <!-- zipfileset src="${lib.noinst}/gibberish_stack.jar" prefix=""/-->
1079         <zipfileset dir="${resources}/images/protocol/gibberish"
1080                 prefix="resources/images/protocol/gibberish"/>
1081         </jar>
1082     </target>
1084     <!-- BUNDLE-GIBBERISH-SLICK -->
1085     <!-- Creates a bundle containing the slick for the Gibberish protocol
1086          provider.-->
1087     <target name="bundle-gibberish-slick">
1088         <jar compress="false" destfile="${bundles.dest}/protocol-gibberish-slick.jar"
1089             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/gibberish/gibberish.provider.slick.manifest.mf">
1090             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/gibberish"
1091                 prefix="net/java/sip/communicator/slick/protocol/gibberish"/>
1092         </jar>
1093     </target>
1095      <!-- BUNDLE-SWING-UI -->
1096     <target name="bundle-swing-ui">
1097         <!-- Bundle sip-communicator's UI.-->
1098         <jar compress="false" destfile="${bundles.dest}/swing-ui.jar"
1099             manifest="${src}/net/java/sip/communicator/impl/gui/swing.ui.manifest.mf">
1100             <zipfileset dir="${dest}/net/java/sip/communicator/service/gui"
1101                 prefix="net/java/sip/communicator/service/gui"/>
1102             <zipfileset dir="${dest}/net/java/sip/communicator/impl/gui"
1103                 prefix="net/java/sip/communicator/impl/gui"/>
1104             <zipfileset dir="${resources}/images/logo"
1105                 prefix="resources/images/logo"/>
1106             <zipfileset dir="${resources}/images/impl/gui"
1107                 prefix="resources/images/impl/gui"/>
1108             <zipfileset dir="${resources}/styles"
1109                 prefix="resources/styles"/>
1110             <zipfileset dir="${resources}/colors"
1111                 prefix="resources/colors"/>
1112             <zipfileset dir="${resources}" includes="application.properties"
1113                 prefix="resources"/>
1114             <zipfileset dir="${resources}" includes="login.properties"
1115                 prefix="resources"/>
1116             <zipfileset dir="${resources}" includes="lookandfeel.properties"
1117                 prefix="resources"/>
1118             <zipfileset dir="${resources}/size" includes="size.properties"
1119                 prefix="resources/size"/>
1120             <zipfileset dir="${resources}/languages/impl/gui"
1121                 prefix="resources/languages/impl/gui"/>
1122         </jar>
1123     </target>
1125     <!-- BUNDLE-CONTACTLIST -->
1126     <target name="bundle-contactlist">
1127         <!-- Creates a bundle containing the contactlist interfaces.-->
1128         <jar compress="false" destfile="${bundles.dest}/contactlist.jar"
1129             manifest="${src}/net/java/sip/communicator/service/contactlist/contactlist.manifest.mf">
1130             <zipfileset dir="${dest}/net/java/sip/communicator/service/contactlist"
1131                 prefix="net/java/sip/communicator/service/contactlist"/>
1132         </jar>
1133     </target>
1135     <!-- BUNDLE-META-CONTACTLIST -->
1136     <target name="meta-contactlist">
1137         <!-- Creates the meta contact list bundle.-->
1138         <jar compress="false" destfile="${bundles.dest}/meta-cl.jar"
1139             manifest="${src}/net/java/sip/communicator/impl/contactlist/meta.cl.manifest.mf">
1140             <zipfileset dir="${dest}/net/java/sip/communicator/impl/contactlist"
1141                 prefix="net/java/sip/communicator/impl/contactlist"/>
1142         </jar>
1143     </target>
1145     <!-- BUNDLE-META-CONTACTLIST-SLICK -->
1146     <target name="meta-contactlist-slick">
1147         <!-- Creates a bundle for the meta contact list SLICK.-->
1148         <jar compress="false" destfile="${bundles.dest}/meta-cl-slick.jar"
1149             manifest="${testsrc}/net/java/sip/communicator/slick/contactlist/meta.cl.slick.manifest.mf">
1150             <zipfileset dir="${dest}/net/java/sip/communicator/slick/contactlist"
1151                 prefix="net/java/sip/communicator/slick/contactlist"/>
1152         </jar>
1153     </target>
1155     <!-- BUNDLE-PLUGIN-ICQACCREGWIZZ -->
1156     <target name="bundle-plugin-icqaccregwizz">
1157         <!-- Creates a bundle for the plugin Icq Account Registration Wizard.-->
1158         <jar compress="false" destfile="${bundles.dest}/icqaccregwizz.jar"
1159             manifest="${src}/net/java/sip/communicator/plugin/icqaccregwizz/icqaccregwizz.manifest.mf">
1160             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/icqaccregwizz"
1161                 prefix="net/java/sip/communicator/plugin/icqaccregwizz"/>
1162             <zipfileset dir="${resources}/images/protocol/icq"
1163                 prefix="resources/images/protocol/icq"/>
1164             <zipfileset dir="${resources}/languages/plugin/icqaccregwizz"
1165                 prefix="resources/languages/plugin/icqaccregwizz"/>
1166         </jar>
1167     </target>
1169     <!-- BUNDLE-PLUGIN-AIMACCREGWIZZ -->
1170     <target name="bundle-plugin-aimaccregwizz">
1171         <!-- Creates a bundle for the plugin Aim Account Registration Wizard.-->
1172         <jar compress="false" destfile="${bundles.dest}/aimaccregwizz.jar"
1173             manifest="${src}/net/java/sip/communicator/plugin/aimaccregwizz/aimaccregwizz.manifest.mf">
1174             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/aimaccregwizz"
1175                 prefix="net/java/sip/communicator/plugin/aimaccregwizz"/>
1176             <zipfileset dir="${resources}/images/protocol/aim"
1177                 prefix="resources/images/protocol/aim"/>
1178             <zipfileset dir="${resources}/languages/plugin/aimaccregwizz"
1179                 prefix="resources/languages/plugin/aimaccregwizz"/>
1180         </jar>
1181     </target>
1183     <!-- BUNDLE-PLUGIN-JABBERACCREGWIZZ -->
1184     <target name="bundle-plugin-jabberaccregwizz">
1185         <!-- Creates a bundle for the plugin Jabber Account Registration Wizard.-->
1186         <jar compress="false" destfile="${bundles.dest}/jabberaccregwizz.jar"
1187             manifest="${src}/net/java/sip/communicator/plugin/jabberaccregwizz/jabberaccregwizz.manifest.mf">
1188             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/jabberaccregwizz"
1189                 prefix="net/java/sip/communicator/plugin/jabberaccregwizz"/>
1190             <zipfileset dir="${resources}/images/protocol/jabber"
1191                 prefix="resources/images/protocol/jabber"/>
1192             <zipfileset dir="${resources}/languages/plugin/jabberaccregwizz"
1193                 prefix="resources/languages/plugin/jabberaccregwizz"/>
1194         </jar>
1195     </target>
1197     <!-- BUNDLE-PLUGIN-MSNACCREGWIZZ -->
1198     <target name="bundle-plugin-msnaccregwizz">
1199         <!-- Creates a bundle for the plugin Msn Account Registration Wizard.-->
1200         <jar compress="false" destfile="${bundles.dest}/msnaccregwizz.jar"
1201             manifest="${src}/net/java/sip/communicator/plugin/msnaccregwizz/msnaccregwizz.manifest.mf">
1202             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/msnaccregwizz"
1203                 prefix="net/java/sip/communicator/plugin/msnaccregwizz"/>
1204             <zipfileset dir="${resources}/images/protocol/msn"
1205                 prefix="resources/images/protocol/msn"/>
1206             <zipfileset dir="${resources}/languages/plugin/msnaccregwizz"
1207                 prefix="resources/languages/plugin/msnaccregwizz"/>
1208         </jar>
1209     </target>
1211     <!-- BUNDLE-PLUGIN-YAHOOACCREGWIZZ -->
1212     <target name="bundle-plugin-yahooaccregwizz">
1213         <!-- Creates a bundle for the plugin Yahoo Account Registration Wizard.-->
1214         <jar compress="false" destfile="${bundles.dest}/yahooaccregwizz.jar"
1215             manifest="${src}/net/java/sip/communicator/plugin/yahooaccregwizz/yahooaccregwizz.manifest.mf">
1216             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/yahooaccregwizz"
1217                 prefix="net/java/sip/communicator/plugin/yahooaccregwizz"/>
1218             <zipfileset dir="${resources}/images/protocol/yahoo"
1219                 prefix="resources/images/protocol/yahoo"/>
1220             <zipfileset dir="${resources}/languages/plugin/yahooaccregwizz"
1221                 prefix="resources/languages/plugin/yahooaccregwizz"/>
1222         </jar>
1223     </target>
1225     <!-- BUNDLE-PLUGIN-SIPACCREGWIZZ -->
1226     <target name="bundle-plugin-sipaccregwizz">
1227         <!-- Creates a bundle for the plugin SIP Account Registration Wizard.-->
1228         <jar compress="false" destfile="${bundles.dest}/sipaccregwizz.jar"
1229             manifest="${src}/net/java/sip/communicator/plugin/sipaccregwizz/sipaccregwizz.manifest.mf">
1230             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/sipaccregwizz"
1231                 prefix="net/java/sip/communicator/plugin/sipaccregwizz"/>
1232             <zipfileset dir="${resources}/images/protocol/sip"
1233                 prefix="resources/images/protocol/sip"/>
1234             <zipfileset dir="${resources}/languages/plugin/sipaccregwizz"
1235                 prefix="resources/languages/plugin/sipaccregwizz"/>
1236         </jar>
1237     </target>
1239     <!-- BUNDLE-PLUGIN-GIBBERISHACCREGWIZZ -->
1240     <target name="bundle-plugin-gibberishaccregwizz">
1241         <!-- Creates a bundle for the plugin Gibberish Account Registration
1242              Wizard.-->
1243         <jar compress="false" destfile="${bundles.dest}/gibberishaccregwizz.jar"
1244             manifest="${src}/net/java/sip/communicator/plugin/gibberishaccregwizz/gibberishaccregwizz.manifest.mf">
1245             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/gibberishaccregwizz"
1246                 prefix="net/java/sip/communicator/plugin/gibberishaccregwizz"/>
1247             <zipfileset dir="${resources}/images/protocol/gibberish"
1248                 prefix="resources/images/protocol/gibberish"/>
1249             <zipfileset dir="${resources}/languages/plugin/gibberishaccregwizz"
1250                 prefix="resources/languages/plugin/gibberishaccregwizz"/>
1251         </jar>
1252     </target>
1254     <!-- BUNDLE-SERVICE-VERSION -->
1255     <target name="bundle-version">
1256         <!-- Creates a bundle for the version service.-->
1257         <jar compress="false" destfile="${bundles.dest}/version.jar"
1258             manifest="${src}/net/java/sip/communicator/service/version/version.manifest.mf">
1259             <zipfileset dir="${dest}/net/java/sip/communicator/service/version"
1260                 prefix="net/java/sip/communicator/service/version"/>
1261         </jar>
1262     </target>
1264     <!-- BUNDLE-SERVICEIMPL-VERSION -->
1265     <target name="bundle-version-impl">
1266         <!-- Creates a bundle for the version service impl.-->
1267         <jar compress="false" destfile="${bundles.dest}/version-impl.jar"
1268             manifest="${src}/net/java/sip/communicator/impl/version/version.impl.manifest.mf">
1269             <zipfileset dir="${dest}/net/java/sip/communicator/impl/version"
1270                 prefix="net/java/sip/communicator/impl/version"/>
1271         </jar>
1272     </target>
1274     <!-- BUNDLE-SERVICELICK-VERSION -->
1275     <target name="bundle-version-slick">
1276         <!-- Creates a bundle for the version service slick.-->
1277         <jar compress="false" destfile="${bundles.dest}/version-slick.jar"
1278             manifest="${testsrc}/net/java/sip/communicator/slick/version/version.slick.manifest.mf">
1279             <zipfileset dir="${dest}/net/java/sip/communicator/slick/version"
1280                 prefix="net/java/sip/communicator/slick/version"/>
1281         </jar>
1282     </target>
1284     <!-- BUNDLE-SHUTDOWN -->
1285     <target name="bundle-shutdown">
1286         <!-- Creates a bundle for the shutdown plugin.-->
1287         <jar compress="false" destfile="${bundles.dest}/shutdown.jar"
1288             manifest="${src}/net/java/sip/communicator/impl/shutdown/shutdown.manifest.mf">
1289             <zipfileset dir="${dest}/net/java/sip/communicator/impl/shutdown"
1290                 prefix="net/java/sip/communicator/impl/shutdown"/>
1291         </jar>
1292     </target>
1294     <!--BUNDLE-GROWLNOTIFICATION-->
1295     <target name="bundle-growlnotification">
1296         <!-- Creates a bundle for the growlnotification plugin.-->
1297         <jar compress="false" destfile="${bundles.dest.mac}/growlnotification.jar"
1298             manifest="${src}/net/java/sip/communicator/impl/growlnotification/growlnotification.manifest.mf">
1299             <zipfileset dir="${dest}/net/java/sip/communicator/impl/growlnotification"
1300                 prefix="net/java/sip/communicator/impl/growlnotification" />
1301         </jar>
1302     </target>
1304     <!--BUNDLE-SPARKLE-->
1305     <target name="bundle-sparkle">
1306         <!-- Creates a bundle for the sparkle activator plugin.-->
1307         <jar compress="false" destfile="${bundles.dest.mac}/sparkle.jar"
1308             manifest="${src}/net/java/sip/communicator/impl/sparkle/sparkle.manifest.mf">
1309             <zipfileset dir="${dest}/net/java/sip/communicator/impl/sparkle"
1310                 prefix="net/java/sip/communicator/impl/sparkle" />
1311         </jar>
1312     </target>
1314     <!--BUNDLE-AUDIO NOTIFIER-->
1315     <target name="bundle-audionotifier">
1316         <!-- Creates a bundle for the audio notifier service.-->
1317         <jar compress="false" destfile="${bundles.dest}/audionotifier.jar"
1318             manifest="${src}/net/java/sip/communicator/impl/audionotifier/audionotifier.manifest.mf">
1319             <zipfileset dir="${dest}/net/java/sip/communicator/service/audionotifier"
1320                             prefix="net/java/sip/communicator/service/audionotifier"/>
1321             <zipfileset dir="${dest}/net/java/sip/communicator/impl/audionotifier"
1322                 prefix="net/java/sip/communicator/impl/audionotifier" />
1323             <zipfileset dir="${resources}/sounds"
1324                             prefix="resources/sounds"/>
1325         </jar>
1326     </target>
1328     <!-- BUNDLE-PLUGIN-EXAMPLE PLUGIN -->
1329         <target name="bundle-plugin-exampleplugin">
1330             <!-- Creates a bundle for the plugin SIP Account Registration Wizard.-->
1331             <jar compress="false" destfile="${bundles.dest}/exampleplugin.jar"
1332                 manifest="${src}/net/java/sip/communicator/plugin/exampleplugin/exampleplugin.manifest.mf">
1333                 <zipfileset dir="${dest}/net/java/sip/communicator/plugin/exampleplugin"
1334                     prefix="net/java/sip/communicator/plugin/exampleplugin"/>
1335             </jar>
1336         </target>
1338     <!-- BUNDLE-PLUGIN-BRANDING -->
1339         <target name="bundle-plugin-branding">
1340             <!-- Creates a bundle for the Splash Screen plugin.-->
1341         <jar compress="false" destfile="${bundles.dest}/branding.jar"
1342             manifest="${src}/net/java/sip/communicator/plugin/branding/branding.manifest.mf">
1343             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/branding"
1344                 prefix="net/java/sip/communicator/plugin/branding"/>
1345             <zipfileset dir="${resources}/images/plugin/branding"
1346                 prefix="resources/images/plugin/branding"/>
1347             <zipfileset dir="${resources}/styles"
1348                 prefix="resources/styles"/>
1349             <zipfileset dir="${resources}/colors"
1350                 prefix="resources/colors"/>
1351             <zipfileset dir="${resources}" includes="application.properties"
1352                 prefix="resources"/>
1353             <zipfileset dir="${resources}/languages/plugin/branding"
1354                 prefix="resources/languages/plugin/branding"/>
1355             </jar>
1356         </target>
1358     <!--BUNDLE-SYSTRAY-->
1359     <target name="bundle-systray">
1360         <!-- Creates a bundle for the Systray plugin."-->
1361         <jar
1362             compress="false" destfile="${bundles.dest}/systray.jar"
1363             manifest="${src}/net/java/sip/communicator/impl/systray/systray.manifest.mf">
1364             <zipfileset dir="${dest}/net/java/sip/communicator/service/systray"
1365                 prefix="net/java/sip/communicator/service/systray"/>
1366             <zipfileset dir="${dest}/net/java/sip/communicator/impl/systray"
1367                 prefix="net/java/sip/communicator/impl/systray"/>
1368             <zipfileset dir="${resources}/images/impl/gui/common"
1369                 includes="renameDialogIcon.png"
1370                 prefix="resources/images/impl/gui/common"/>
1371             <zipfileset dir="${resources}/images/impl/gui/buttons"
1372                 prefix="resources/images/impl/gui/buttons"/>
1373             <zipfileset dir="${resources}/images/impl/systray"
1374                 prefix="resources/images/impl/systray"/>
1375             <zipfileset dir="${resources}" includes="application.properties"
1376                 prefix="resources"/>
1377             <zipfileset dir="${resources}/languages/impl/systray"
1378                 prefix="resources/languages/impl/systray"/>
1379         </jar>
1380     </target>
1382     <!-- BUNDLE-BROWSER LAUNCHER -->
1383     <target name="bundle-browserlauncher">
1384         <!-- Creates a bundle for the browser launcher.-->
1385         <jar compress="false" destfile="${bundles.dest}/browserlauncher.jar"
1386             manifest="${src}/net/java/sip/communicator/impl/browserlauncher/browserlauncher.manifest.mf">
1387             <zipfileset dir="${dest}/net/java/sip/communicator/service/browserlauncher"
1388                 prefix="net/java/sip/communicator/service/browserlauncher"/>
1389             <zipfileset dir="${dest}/net/java/sip/communicator/impl/browserlauncher"
1390                 prefix="net/java/sip/communicator/impl/browserlauncher"/>
1391         </jar>
1392     </target>
1394     <!-- BUNDLE-PLUGIN MANAGER -->
1395     <target name="bundle-pluginmanager">
1396         <!-- Creates a bundle for the plugin manager plugin.-->
1397         <jar compress="false" destfile="${bundles.dest}/pluginmanager.jar"
1398             manifest="${src}/net/java/sip/communicator/plugin/pluginmanager/pluginmanager.manifest.mf">
1399             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/pluginmanager"
1400                 prefix="net/java/sip/communicator/plugin/pluginmanager"/>
1401             <zipfileset dir="${resources}/colors"
1402                 prefix="resources/colors"/>
1403             <zipfileset dir="${resources}/images/plugin/pluginmanager"
1404                 prefix="resources/images/plugin/pluginmanager"/>
1405             <zipfileset dir="${resources}/languages/plugin/pluginmanager"
1406                 prefix="resources/languages/plugin/pluginmanager"/>
1407         </jar>
1408     </target>
1410     <!-- BUNDLE-PLUGIN-EXTENDED CALL HISTORY SEARCH -->
1411     <target name="bundle-plugin-extended-callhistory-search">
1412         <!-- Creates a bundle for a extended callhistory search-->
1413         <jar compress="false" destfile="${bundles.dest}/extendedcallhistorysearch.jar"
1414             manifest="${src}/net/java/sip/communicator/plugin/extendedcallhistorysearch/extendedcallhistorysearch.manifest.mf">
1415             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/extendedcallhistorysearch"
1416                 prefix="net/java/sip/communicator/plugin/extendedcallhistorysearch"/>
1417             <zipfileset src="${lib.noinst}/jcalendar-1.3.2.jar" prefix=""/>
1418             <zipfileset dir="${resources}/images/plugin/extendedcallhistorysearch"
1419                 prefix="resources/images/plugin/extendedcallhistorysearch"/>
1420             <zipfileset dir="${resources}/colors"
1421                 prefix="resources/colors"/>
1422             <zipfileset dir="${resources}/languages/plugin/extendedcallhistorysearch"
1423                 prefix="resources/languages/plugin/extendedcallhistorysearch"/>
1424         </jar>
1425     </target>
1427     <!-- BUNDLE-RSS -->
1428     <target name="bundle-rss">
1429         <!-- Creates a bundle containing the Rss impl of the protocol provider.-->
1430         <jar compress="false" destfile="${bundles.dest}/protocol-rss.jar"
1431              manifest="${src}/net/java/sip/communicator/impl/protocol/rss/rss.provider.manifest.mf">
1432         <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/rss"
1433                     prefix="net/java/sip/communicator/impl/protocol/rss"/>
1435         <!-- LIBRARIES FOR RSS PROTOCOL, INCLUDING JDOM-1.0 AND ROME-0.9/-->
1436         <zipfileset src="${lib.noinst}/jdom.jar" prefix=""/>
1437         <zipfileset src="${lib.noinst}/rome-0.9.jar" prefix=""/>
1438         <zipfileset src="${lib.noinst}/log4j-1.2.8.jar" prefix=""/>
1440         <!-- LIBRARY FOR FAVICON SUPPORT -->
1441         <zipfileset src="${lib.noinst}/aclibico-2.1.jar" prefix=""/>
1442         <zipfileset dir="${resources}/images/protocol/rss"
1443                 prefix="resources/images/protocol/rss"/>
1444         </jar>
1445     </target>
1446     
1447     <!-- BUNDLE-RSS-SLICK -->
1448     <!-- Creates a bundle containing the slick for the Gibberish protocol
1449          provider.-->
1450     <target name="bundle-rss-slick">
1451         <jar compress="false" destfile="${bundles.dest}/protocol-rss-slick.jar"
1452             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/rss/rss.provider.slick.manifest.mf">
1453             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/rss"
1454                 prefix="net/java/sip/communicator/slick/protocol/rss"/>
1455         </jar>
1456     </target>
1458     <!-- BUNDLE-PLUGIN-RSSACCREGWIZZ -->
1459     <target name="bundle-plugin-rssaccregwizz">
1460         <!-- Creates a bundle for the plugin Rss Account Registration
1461              Wizard.-->
1462         <jar compress="false" destfile="${bundles.dest}/rssaccregwizz.jar"
1463             manifest="${src}/net/java/sip/communicator/plugin/rssaccregwizz/rssaccregwizz.manifest.mf">
1464             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/rssaccregwizz"
1465                 prefix="net/java/sip/communicator/plugin/rssaccregwizz"/>
1466             <zipfileset dir="${resources}/images/protocol/rss"
1467                 prefix="resources/images/protocol/rss"/>
1468             <zipfileset dir="${resources}/languages/plugin/rssaccregwizz"
1469                 prefix="resources/languages/plugin/rssaccregwizz"/>
1470         </jar>
1471     </target>
1473     <!-- BUNDLE-ZEROCONF -->
1474     <target name="bundle-zeroconf">
1475         <!-- Creates a bundle containing the Zeroconf impl of the protocol provider.-->
1476         <jar compress="false" destfile="${bundles.dest}/protocol-zeroconf.jar"
1477             manifest="${src}/net/java/sip/communicator/impl/protocol/zeroconf/zeroconf.provider.manifest.mf">
1478             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/zeroconf"
1479                 prefix="net/java/sip/communicator/impl/protocol/zeroconf"/>
1480             <zipfileset dir="${resources}/images/protocol/zeroconf"
1481                 prefix="resources/images/protocol/zeroconf"/>
1482         </jar>
1483     </target>
1485     <!-- BUNDLE-PLUGIN-ZEROCONFACCREGWIZZ -->
1486     <target name="bundle-plugin-zeroconfaccregwizz">
1487         <!-- Creates a bundle for the plugin Zeroconf Account Registration Wizard.-->
1488         <jar compress="false" destfile="${bundles.dest}/zeroconfaccregwizz.jar"
1489             manifest="${src}/net/java/sip/communicator/plugin/zeroconfaccregwizz/zeroconfaccregwizz.manifest.mf">
1490             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/zeroconfaccregwizz"
1491                 prefix="net/java/sip/communicator/plugin/zeroconfaccregwizz"/>
1492             <zipfileset dir="${resources}/images/protocol/zeroconf"
1493                 prefix="resources/images/protocol/zeroconf"/>
1494             <zipfileset dir="${resources}/languages/plugin/zeroconfaccregwizz"
1495                 prefix="resources/languages/plugin/zeroconfaccregwizz"/>
1496         </jar>
1497     </target>
1499     <!-- BUNDLE-IRC -->
1500     <target name="bundle-irc">
1501         <!-- Creates a bundle containing the IRC impl of the protocol provider.-->
1502         <jar compress="false" destfile="${bundles.dest}/protocol-irc.jar"
1503          manifest="${src}/net/java/sip/communicator/impl/protocol/irc/irc.provider.manifest.mf">
1504             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/irc"
1505                         prefix="net/java/sip/communicator/impl/protocol/irc"/>
1506             <zipfileset src="${lib.noinst}/pircbot.jar" prefix=""/>
1507             <zipfileset dir="${resources}/images/protocol/irc"
1508                     prefix="resources/images/protocol/irc"/>
1509         </jar>
1510     </target>
1512     <!-- BUNDLE-PLUGIN-IRCACCREGWIZZ -->
1513     <target name="bundle-plugin-ircaccregwizz">
1514             <!-- Creates a bundle for the plugin IRC Account Registration
1515                  Wizard.-->
1516             <jar compress="false" destfile="${bundles.dest}/ircaccregwizz.jar"
1517                 manifest="${src}/net/java/sip/communicator/plugin/ircaccregwizz/ircaccregwizz.manifest.mf">
1518                 <zipfileset dir="${dest}/net/java/sip/communicator/plugin/ircaccregwizz"
1519                     prefix="net/java/sip/communicator/plugin/ircaccregwizz"/>
1520                 <zipfileset dir="${resources}/images/protocol/irc"
1521                     prefix="resources/images/protocol/irc"/>
1522                 <zipfileset dir="${resources}/languages/plugin/ircaccregwizz"
1523                     prefix="resources/languages/plugin/ircaccregwizz"/>
1524             </jar>
1525     </target>
1527     <!--BUNDLE-LOG4J -->
1528     <target name="bundle-log4j">
1529         <jar compress="true" destfile="lib/bundle/log4j.jar"
1530             filesetmanifest="merge">
1532             <zipfileset src="${lib.noinst}/log4j-1.2.8.jar" prefix=""/>
1533             <manifest>
1534                 <attribute name="Export-Package" value="org.apache.log4j"/>
1535             </manifest>
1536         </jar>
1537     </target>
1539     <!--BUNDLE-MAILBOX-->
1540     <target name="bundle-mailbox">
1541         <jar compress="false" destfile="${bundles.dest}/mailbox.jar"
1542             manifest="${src}/net/java/sip/communicator/plugin/mailbox/mailbox.manifest.mf">
1543             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/mailbox"
1544                     prefix="net/java/sip/communicator/plugin/mailbox" />
1545             <zipfileset dir="${resources}/sounds/mailbox"
1546                     prefix="resources/sounds"/>
1547             <zipfileset dir="${resources}/images/plugin/mailbox"
1548                     prefix="resources/images/plugin/mailbox"/>
1549             <zipfileset dir="${resources}/languages/plugin/mailbox"
1550                 prefix="resources/languages/plugin/mailbox"/>
1551         </jar>
1552     </target>
1554     <!-- BUNDLE-NOTIFICATION -->
1555     <target name="bundle-notification">
1556         <!-- Creates a bundle for the notifications.-->
1557         <jar compress="false" destfile="${bundles.dest}/notification.jar"
1558             manifest="${src}/net/java/sip/communicator/impl/notification/notification.manifest.mf">
1559             <zipfileset dir="${dest}/net/java/sip/communicator/service/notification"
1560                 prefix="net/java/sip/communicator/service/notification"/>
1561             <zipfileset dir="${dest}/net/java/sip/communicator/impl/notification"
1562                 prefix="net/java/sip/communicator/impl/notification"/>
1563         </jar>
1564     </target>
1566     <!-- BUNDLE-PLUGIN-WHITEBOARD -->
1567     <target name="bundle-plugin-whiteboard">
1568     <!-- Creates a bundle for the Whiteboard plugin.-->
1569         <jar compress="false" destfile="${bundles.dest}/whiteboard.jar"
1570             manifest="${src}/net/java/sip/communicator/plugin/whiteboard/whiteboard.manifest.mf">
1571                    <zipfileset dir="${dest}/net/java/sip/communicator/plugin/whiteboard"
1572                        prefix="net/java/sip/communicator/plugin/whiteboard"/>
1573             <zipfileset dir="${resources}/images/plugin/whiteboard"
1574                 prefix="resources/images/plugin/whiteboard"/>
1575             <zipfileset dir="${resources}/languages/plugin/whiteboard"
1576                 prefix="resources/languages/plugin/whiteboard"/>
1577        </jar>
1578    </target>
1580     <!-- BUNDLE-CONTACT-EVENT-HANDLER -->
1581     <target name="bundle-contacteventhandler">
1582     <!-- Creates a bundle for the ContactEventHandler service.-->
1583         <jar compress="false" destfile="${bundles.dest}/contacteventhandler.jar"
1584            manifest="${src}/net/java/sip/communicator/service/contacteventhandler/contact.event.handler.manifest.mf">
1585            <zipfileset dir="${dest}/net/java/sip/communicator/service/contacteventhandler"
1586                prefix="net/java/sip/communicator/service/contacteventhandler"/>
1587         </jar>
1588     </target>
1590     <!-- BUNDLE-PLUGIN-CONTACTINFO -->
1591     <target name="bundle-plugin-contactinfo">
1592         <!-- Creates a bundle for the plugin Contact Info.-->
1593         <jar compress="false" destfile="${bundles.dest}/contactinfo.jar"
1594             manifest="${src}/net/java/sip/communicator/plugin/contactinfo/contactinfo.manifest.mf">
1595             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/contactinfo"
1596                 prefix="net/java/sip/communicator/plugin/contactinfo"/>
1597             <zipfileset dir="${resources}/languages/plugin/contactinfo"
1598                 prefix="resources/languages/plugin/contactinfo"/>
1599             <zipfileset dir="${resources}/images/plugin/contactinfo"
1600                 prefix="resources/images/plugin/contactinfo"/>
1601         </jar>
1602     </target>
1604     <!-- BUNDLE-PLUGIN-CHATALERTER -->
1605     <target name="bundle-plugin-chatalerter">
1606         <!-- Creates a bundle for the plugin Chat Alerter.-->
1607         <jar compress="false" destfile="${bundles.dest}/chatalerter.jar"
1608             manifest="${src}/net/java/sip/communicator/plugin/chatalerter/chatalerter.manifest.mf">
1609             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/chatalerter"
1610                 prefix="net/java/sip/communicator/plugin/chatalerter"/>
1611             <zipfileset src="${lib.noinst}/jdic_misc.jar" prefix=""/>
1612         </jar>
1613     </target>
1615     <!-- BUNDLE-PLUGIN-ACCOUNTINFO -->
1616     <target name="bundle-plugin-accountinfo">
1617         <jar compress="false" destfile="${bundles.dest}/accountinfo.jar"
1618             manifest="${src}/net/java/sip/communicator/plugin/accountinfo/accountinfo.manifest.mf">
1619             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/accountinfo"
1620                 prefix="net/java/sip/communicator/plugin/accountinfo"/>
1621             <zipfileset dir="${resources}/images/plugin/accountinfo"
1622                 prefix="resources/images/plugin/accountinfo"/>
1623             <zipfileset dir="${resources}/languages/plugin/accountinfo"
1624                 prefix="resources/languages/plugin/accountinfo"/>
1625         </jar>
1626     </target>
1628     <!-- BUNDLE-DICT -->
1629     <target name="bundle-dict">
1630         <jar compress="false" destfile="${bundles.dest}/protocol-dict.jar"
1631              manifest="${src}/net/java/sip/communicator/impl/protocol/dict/dict.provider.manifest.mf">
1632             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/dict"
1633                     prefix="net/java/sip/communicator/impl/protocol/dict"/>
1634             <zipfileset dir="${resources}/images/protocol/dict"
1635                 prefix="resources/images/protocol/dict"/>
1636             <zipfileset dir="${resources}/languages/plugin/dictaccregwizz"
1637                 prefix="resources/languages/plugin/dictaccregwizz"/>
1638         </jar>
1639     </target>
1640    
1641     <!-- BUNDLE-PLUGIN-DICTACCREGWIZZ -->
1642     <target name="bundle-plugin-dictaccregwizz">
1643         <!-- Creates a bundle for the plugin Dict Account Registration
1644              Wizard.-->
1645        <jar compress="false" destfile="${bundles.dest}/dictaccregwizz.jar"
1646             manifest="${src}/net/java/sip/communicator/plugin/dictaccregwizz/dictaccregwizz.manifest.mf">
1647             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/dictaccregwizz"
1648                 prefix="net/java/sip/communicator/plugin/dictaccregwizz"/>
1649             <zipfileset dir="${resources}/images/protocol/dict"
1650                 prefix="resources/images/protocol/dict"/>
1651             <zipfileset dir="${resources}/languages/plugin/dictaccregwizz"
1652                 prefix="resources/languages/plugin/dictaccregwizz"/>
1653         </jar>
1654     </target>
1655     
1656     <!--BUNDLE-UpdateCheckPlugin-->
1657     <target name="bundle-updatecheckplugin">
1658         <jar compress="false" destfile="${bundles.dest}/updatechecker.jar"
1659             manifest="${src}/net/java/sip/communicator/plugin/updatechecker/updatecheck.manifest.mf">
1660             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/updatechecker"
1661                 prefix="net/java/sip/communicator/plugin/updatechecker" />
1662             <zipfileset dir="${resources}/languages/plugin/updatechecker"
1663                 prefix="resources/languages/plugin/updatechecker"/>
1664             <zipfileset dir="${resources}" includes="application.properties"
1665                 prefix="resources"/>
1666         </jar>
1667     </target>
1668     
1669     <!--BUNDLE-StatusUpdatePlugin-->
1670     <target name="bundle-plugin-statusupdate">
1671         <jar compress="false" destfile="${bundles.dest}/statusupdate.jar"
1672             manifest="${src}/net/java/sip/communicator/plugin/statusupdate/statusupdate.manifest.mf">
1673             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/statusupdate"
1674                 prefix="net/java/sip/communicator/plugin/statusupdate" />
1675             <zipfileset dir="${resources}/languages/plugin/statusupdate"
1676                 prefix="resources/languages/plugin/statusupdate"/>
1677         </jar>
1678     </target>
1680     <!--BUNDLE-SimpleAccRegPlugin-->
1681     <target name="bundle-plugin-simpleaccreg">
1682         <jar compress="false" destfile="${bundles.dest}/simpleaccreg.jar"
1683             manifest="${src}/net/java/sip/communicator/plugin/simpleaccreg/simpleaccreg.manifest.mf">
1684             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/simpleaccreg"
1685                 prefix="net/java/sip/communicator/plugin/simpleaccreg" />
1686             <zipfileset dir="${resources}/languages/plugin/simpleaccreg"
1687                 prefix="resources/languages/plugin/simpleaccreg"/>
1688             <zipfileset dir="${resources}" includes="login.properties"
1689                 prefix="resources"/>
1690             <zipfileset dir="${resources}/colors"
1691                 prefix="resources/colors"/>
1692             <zipfileset dir="${resources}" includes="application.properties"
1693                 prefix="resources"/>
1694         </jar>
1695     </target>
1696 </project>