mirror of https://github.com/sipwise/jitsi.git
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							2988 lines
						
					
					
						
							141 KiB
						
					
					
				
			
		
		
	
	
							2988 lines
						
					
					
						
							141 KiB
						
					
					
				| <?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.sol" value="${bundles.dest}/os-specific/solaris"/>
 | |
|     <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.sol" value="${lib}/os-specific/solaris"/>
 | |
|     <property name="lib.sol.noinst" value="${lib}/os-specific/solaris/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>
 | |
| 
 | |
|     <!-- solaris specific properties -->
 | |
|     <condition property="is.running.solaris" value="${os.name}">
 | |
|         <equals arg1="${os.name}" arg2="solaris" casesensitive="false" trim="true"/>
 | |
|     </condition>
 | |
| 
 | |
|     <condition property="is.running.solaris" value="${os.name}">
 | |
|         <equals arg1="${os.name}" arg2="SunOS" casesensitive="false" trim="true"/>
 | |
|     </condition>
 | |
| 
 | |
|     <condition property="os.lib.home" value="${lib}/os-specific/solaris">
 | |
|         <and>
 | |
|             <isset property="is.running.solaris"/>
 | |
|             <available file="${lib}/os-specific/solaris" type="dir"/>
 | |
|         </and>
 | |
|     </condition>
 | |
| 
 | |
|     <condition property="ld.library.path"
 | |
|               value="${lib}/native/solaris:${system.LD_LIBRARY_PATH}">
 | |
|         <isset property="is.running.solaris"/>
 | |
|     </condition>
 | |
| 
 | |
|     <condition property="bundles.dest.os" value="${bundles.dest.sol}">
 | |
|         <isset property="is.running.solaris"/>
 | |
|     </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}"/>
 | |
| 
 | |
|     <property name="profiler.args" value="" />
 | |
|     <property name="profiler.bootdelegation" value="" />
 | |
|     <property name="profiler.autostart" value="" />
 | |
| 
 | |
|     <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">
 | |
|         <!--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.6" target="1.6" memoryMaximumSize="400M" fork="true">
 | |
|                 <src path="${src}"/>
 | |
|                 <src path="${src2}"/>
 | |
|                 <include name="**/*.java" />
 | |
|                 <exclude name="net/java/sip/communicator/launcher/*.java" />
 | |
|                 <compilerarg line="-Xlint -Xlint:-serial -Xmaxwarns ${maxwarns}"/>
 | |
|         </javac>
 | |
|         <!--
 | |
|             sc-launcher.jar needs to be compatible with 1.4 in order to enable
 | |
|             notifying the user that a higher version of the jre is necessary.
 | |
|         -->
 | |
|         <javac classpathref="compile.class.path" debug="true"
 | |
|             includeantruntime="false"
 | |
|             deprecation="true" destdir="${dest}" nowarn="false"
 | |
|             source="1.4" target="1.4" memoryMaximumSize="400M" fork="true">
 | |
|                 <src path="${src}"/>
 | |
|                 <src path="${src2}"/>
 | |
|                 <include name="net/java/sip/communicator/launcher/*.java" />
 | |
|                 <compilerarg line="-Xlint -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://gnu.org"> Distributable under LGPL 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="-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.6" target="1.6">
 | |
|             <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="${lib.noinst}/libjitsi.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.sol}"/>
 | |
|         <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">
 | |
| 
 | |
|             <!-- 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="true"/>
 | |
| 
 | |
|         </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 ..."/>
 | |
|         <java fork="true"
 | |
|               classname="org.apache.tools.ant.launch.Launcher"
 | |
|               classpath="${java.class.path}:${lib.noinst}/xalan-2.6.0.jar.ant"
 | |
|               failonerror="true"
 | |
|               output="${test.html.reports.dir}/output.txt">
 | |
|             <arg value="htmlreport"/>
 | |
|         </java>
 | |
|         <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>
 | |
| 
 | |
|     <!-- We use this target from within the test target in order to generate
 | |
|          a human readable test report. We do not directly use the htmlreport
 | |
|          target because we  need to include xalan in the classpath before we
 | |
|          do.-->
 | |
|     <target name="htmlreport">
 | |
|       <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>
 | |
|     </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}"/>
 | |
| 
 | |
|             <sysproperty key="org.osgi.framework.bootdelegation"
 | |
|                          value="${profiler.bootdelegation}" />
 | |
|             <sysproperty key="felix.auto.start.68"
 | |
|                          value="${profiler.autostart}" />
 | |
| 
 | |
|             <jvmarg value="-Xdebug" />
 | |
|             <jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5432" />
 | |
| 
 | |
| 
 | |
|             <!-- add some eventual profiler args, prevent server-class
 | |
|                  detection because -server uses much more memory for 32-bit OS
 | |
|                  (64-bit always used -server) -->
 | |
|             <jvmarg line="${profiler.args} ${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}"/>
 | |
| 
 | |
|             <sysproperty key="org.osgi.framework.bootdelegation"
 | |
|                 value="${profiler.bootdelegation}" />
 | |
|             <sysproperty key="felix.auto.start.68"
 | |
|                 value="${profiler.autostart}" />
 | |
| 
 | |
|             <!-- add some eventual profiler args, prevent server-class
 | |
|                  detection because -server uses much more memory for 32-bit OS
 | |
|                  (64-bit always used -server) -->
 | |
|             <jvmarg line="${profiler.args} ${jvmarg.line}
 | |
|               -client ${jvm.maxheapsize} ${jvmarg.splash} ${jvmarg.aegeturl}"/>
 | |
| 
 | |
|             <sysproperty key="apple.laf.useScreenMenuBar" value="true" />
 | |
|         </java>
 | |
|     </target>
 | |
| 
 | |
|     <!--RUN-JITSI-WITH-INTEGRATED-PROFILER -->
 | |
|     <target name="run-with-profiler"
 | |
|         description="Starts felix and runs sip-comunicator gui (use latest build) with the hooked classloader."
 | |
|         depends="bundle-plugin-profiler4j">
 | |
| 
 | |
|         <antcall target="run">
 | |
|             <param name="profiler.args"
 | |
|                 value="-Xmx128m -javaagent:${lib.noinst}/profiler4j-1.0-beta3-SC.jar" />
 | |
|             <param name="profiler.bootdelegation"
 | |
|                 value="net.sf.profiler4j.agent.*" />
 | |
|             <param name="profiler.autostart"
 | |
|                 value="reference:file:sc-bundles/profiler4j.jar" />
 | |
|         </antcall>
 | |
|     </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>
 | |
| 
 | |
|     <!--PROFILE-JITSI-IN-NETBEANS-IDE -->
 | |
|     <target name="profile" depends="bundle-plugin-profiler4j,deploy-os-specific-bundles"
 | |
|         description="Profile Project">
 | |
|         <fail unless="netbeans.home">
 | |
|             This target can only run inside the NetBeans IDE.
 | |
|         </fail>
 | |
| 
 | |
|         <nbprofiledirect>
 | |
|             <classpath> <pathelement location="${dest}"/> </classpath>
 | |
|         </nbprofiledirect>
 | |
| 
 | |
|         <java classname="net.java.sip.communicator.launcher.SIPCommunicator"
 | |
|             fork="true"
 | |
|             failonerror="true"
 | |
|             classpathref="project.class.path">
 | |
| 
 | |
|             <jvmarg value="${profiler.info.jvmargs.agent}"/>
 | |
| 
 | |
|             <!-- 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="false"/>
 | |
| 
 | |
|             <sysproperty key="net.java.sip.communicator.SC_HOME_DIR_LOCATION"
 | |
|                     value="${user.home}/schome"/>
 | |
| 
 | |
|             <!-- Setting properties necessary for dependencies on native libs-->
 | |
|             <sysproperty key="java.library.path"
 | |
|                 path="${ld.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}" />
 | |
| 
 | |
|             <env key="LD_LIBRARY_PATH" path="${ld.library.path}"/>
 | |
|             <env key="PATH" path="${path}"/>
 | |
|             <env key="DYLD_LIBRARY_PATH" path="${dyld.library.path}"/>
 | |
| 
 | |
|         </java>
 | |
| 
 | |
|         <delete file="${bundles.dest}/profiler4j.jar"/>
 | |
|     </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-smacklib,bundle-jmdnslib,
 | |
|         bundle-jabber,bundle-jabber-slick,bundle-swing-ui,bundle-ui-service,
 | |
|         bundle-jnalib,bundle-phonenumbers,
 | |
|         bundle-irc-api,bundle-irc,bundle-plugin-ircaccregwizz,
 | |
|         bundle-msn,bundle-msn-slick,bundle-yahoo,bundle-yahoo-slick,
 | |
|         bundle-contactlist,meta-contactlist,meta-contactlist-slick,
 | |
|         bundle-plugin-icqaccregwizz,bundle-plugin-jabberaccregwizz,
 | |
|         bundle-plugin-msnaccregwizz,bundle-plugin-sipaccregwizz,
 | |
|         bundle-plugin-yahooaccregwizz,bundle-plugin-aimaccregwizz,
 | |
|         bundle-commons-codec,bundle-commons-lang,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-systemactivitynotifications,
 | |
|         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-contactinfo,bundle-plugin-chatalerter, bundle-keybindings,
 | |
|         bundle-plugin-keybindingChooser,bundle-plugin-globalproxyconfig,
 | |
|         bundle-jfontchooserlib,bundle-update,bundle-plugin-update,
 | |
|         bundle-plugin-simpleaccreg,bundle-plugin-generalconfig,
 | |
|         bundle-plugin-googletalkaccregwizz,bundle-argdelegation-service,
 | |
|         bundle-argdelegation,bundle-zrtp4j,bundle-sdes4j,bundle-json,
 | |
|         bundle-filehistory,bundle-metahistory,bundle-metahistory-slick,
 | |
|         bundle-plugin-facebookaccregwizz,bundle-plugin-ippiaccregwizz,
 | |
|         bundle-bouncycastle,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-libjitsi,
 | |
|         bundle-customcontactactions, bundle-phonenumbercontactsource,
 | |
|         bundle-demuxcontactsource, bundle-muc,
 | |
|         bundle-desktoputil,bundle-globaldisplaydetails, 
 | |
|     	bundle-usersearch,
 | |
|         bundle-plugin-propertieseditor,bundle-plugin-accountinfo,
 | |
|         bundle-plugin-connectioninfo,
 | |
|         bundle-guava,bundle-hsql,bundle-slf4j"/>
 | |
| 
 | |
|     <!--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>
 | |
|             <zipfileset src="${lib.noinst}/dnsjava.jar" prefix=""/>
 | |
|         </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-LIBJITSI -->
 | |
|     <target name="bundle-libjitsi">
 | |
|         <jar
 | |
|             compress="false"
 | |
|             destfile="${bundles.dest}/libjitsi.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/impl/libjitsi/libjitsi.manifest.mf">
 | |
| 
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/impl/libjitsi"
 | |
|                 prefix="net/java/sip/communicator/impl/libjitsi"/>
 | |
|             <zipfileset src="${lib.noinst}/bcpkix-jdk15on-151.jar" prefix=""
 | |
|                 excludes="META-INF/BCKEY.*"/>
 | |
|             <zipfileset src="${lib.noinst}/fmj.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/libjitsi.jar" prefix=""/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!--BUNDLE-NEOMEDIA-->
 | |
|     <target name="bundle-neomedia">
 | |
|         <!-- Creates a bundle containing the impl of the neomedia package and
 | |
|             FMJ. -->
 | |
|         <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>
 | |
| 
 | |
|     <!--BUNDLE-GOOGLECONTACTS-->
 | |
|     <target name="bundle-googlecontacts">
 | |
|         <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=""/>
 | |
|         </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>
 | |
| 
 | |
|     <target name="bundle-guava">
 | |
|         <copy file="${lib.noinst}/guava-15.0.jar" tofile="${bundles.dest}/guava.jar"/>
 | |
|     </target>
 | |
| 
 | |
|     <target name="bundle-hsql">
 | |
|         <copy file="${lib.noinst}/hsqldb.jar" tofile="${bundles.dest}/hsqldb.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"/>
 | |
|             <zipfileset src="${lib.noinst}/ice4j.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/weupnp-0.1.2-SNAPSHOT.jar" prefix=""/>
 | |
|         </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"/>
 | |
|             <zipfileset src="${lib.noinst}/jain-sip-ri.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/jain-sip-api.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/jain-sdp.jar" prefix=""/>
 | |
|         </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/facebook/**/*"/>
 | |
|                 <include name="protocol/jabber/**/*"/>
 | |
|                 <include name="protocol/msn/**/*"/>
 | |
|                 <include name="protocol/yahoo/**/*"/>
 | |
|                 <!-- 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>
 | |
| 
 | |
|     <target name="bundle-smacklib">
 | |
|         <!-- Creates a bundle containing the smack lib.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/smacklib.jar"
 | |
|             manifest="${lib.noinst}/smack.manifest.mf">
 | |
|             <zipfileset src="${lib.noinst}/smackx-debug.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/smack.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/smackx.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/jnsapi.jar" prefix=""/>
 | |
|         </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>
 | |
| 
 | |
|     <target name="bundle-jnalib">
 | |
|         <!-- Creates a bundle containing the win jna implementation.-->
 | |
|         <jar
 | |
|             compress="false" destfile="${bundles.dest}/jnalib.jar"
 | |
|             manifest="${lib.noinst}/jna.manifest.mf">
 | |
| 
 | |
|             <zipfileset src="${lib.noinst}/jna.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/jna-platform.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-MSN -->
 | |
|     <target name="bundle-msn">
 | |
|         <!-- Creates a bundle containing the msn impl of the protocol provider.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/protocol-msn.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/impl/protocol/msn/msn.provider.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/msn"
 | |
|                 prefix="net/java/sip/communicator/impl/protocol/msn"/>
 | |
|             <zipfileset src="${lib.noinst}/jml-1.0b5.jar" prefix=""/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-MSN-SLICK -->
 | |
|     <!-- Creates a bundle containing the slick for the Msn protocol provider.-->
 | |
|     <target name="bundle-msn-slick">
 | |
|         <jar compress="false" destfile="${bundles.dest}/protocol-msn-slick.jar"
 | |
|             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/msn/msn.provider.slick.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/msn"
 | |
|                 prefix="net/java/sip/communicator/slick/protocol/msn"/>
 | |
|             <zipfileset src="${lib.noinst}/jml-1.0b5.jar" prefix=""/>
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/generic"
 | |
|                 prefix="net/java/sip/communicator/slick/protocol/generic"/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-SSH -->
 | |
|     <target name="bundle-ssh">
 | |
|         <!-- Creates a bundle containing the SSH impl of the protocol provider.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/protocol-ssh.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/impl/protocol/ssh/ssh.provider.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/ssh"
 | |
|                 prefix="net/java/sip/communicator/impl/protocol/ssh"/>
 | |
|             <zipfileset src="${lib.noinst}/jsch-0.1.36.jar" prefix=""/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-PLUGIN-SSHACCREGWIZZ -->
 | |
|     <target name="bundle-plugin-sshaccregwizz">
 | |
|         <!-- Creates a bundle for the plugin SSH Account Registration Wizard.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/sshaccregwizz.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/sshaccregwizz/sshaccregwizz.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/sshaccregwizz"
 | |
|                 prefix="net/java/sip/communicator/plugin/sshaccregwizz"/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-YAHOO -->
 | |
|     <target name="bundle-yahoo">
 | |
|         <!-- Creates a bundle containing the yahoo impl of the protocol provider.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/protocol-yahoo.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/impl/protocol/yahoo/yahoo.provider.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/yahoo"
 | |
|                 prefix="net/java/sip/communicator/impl/protocol/yahoo"/>
 | |
|             <zipfileset src="${lib.noinst}/ymsg_network_v0_67.jar" prefix=""/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-YAHOO-SLICK -->
 | |
|     <!-- Creates a bundle containing the slick for the Yahoo protocol provider.-->
 | |
|     <target name="bundle-yahoo-slick">
 | |
|         <jar compress="false" destfile="${bundles.dest}/protocol-yahoo-slick.jar"
 | |
|             manifest="${testsrc}/net/java/sip/communicator/slick/protocol/yahoo/yahoo.provider.slick.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/slick/protocol/yahoo"
 | |
|                 prefix="net/java/sip/communicator/slick/protocol/yahoo"/>
 | |
|             <zipfileset src="${lib.noinst}/ymsg_network_v0_67.jar" prefix=""/>
 | |
|             <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" depends="bundle-commons-lang">
 | |
|         <!-- 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}/swing-worker-1.2.jar" prefix=""/>
 | |
|             <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-MSNACCREGWIZZ -->
 | |
|     <target name="bundle-plugin-msnaccregwizz">
 | |
|         <!-- Creates a bundle for the plugin Msn Account Registration Wizard.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/msnaccregwizz.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/msnaccregwizz/msnaccregwizz.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/msnaccregwizz"
 | |
|                 prefix="net/java/sip/communicator/plugin/msnaccregwizz"/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-PLUGIN-YAHOOACCREGWIZZ -->
 | |
|     <target name="bundle-plugin-yahooaccregwizz">
 | |
|         <!-- Creates a bundle for the plugin Yahoo Account Registration Wizard.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/yahooaccregwizz.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/yahooaccregwizz/yahooaccregwizz.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/yahooaccregwizz"
 | |
|                 prefix="net/java/sip/communicator/plugin/yahooaccregwizz"/>
 | |
|         </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-SIP2SIPACCREGWIZZ -->
 | |
|     <target name="bundle-plugin-sip2sipaccregwizz">
 | |
|         <!-- Creates a bundle for the plugin Sip2Sip Account Registration Wizard.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/sip2sipaccregwizz.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/sip2sipaccregwizz/sip2sipaccregwizz.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/sip2sipaccregwizz"
 | |
|                 prefix="net/java/sip/communicator/plugin/sip2sipaccregwizz"/>
 | |
|         </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-PLUGIN-FACEBOOKACCREGWIZZ -->
 | |
|     <target name="bundle-plugin-facebookaccregwizz">
 | |
|         <!-- Creates a bundle for the plugin Facebook Account Registration
 | |
|              Wizard.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/facebookaccregwizz.jar"
 | |
|                 manifest="${src}/net/java/sip/communicator/plugin/facebookaccregwizz/facebookaccregwizz.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/facebookaccregwizz"
 | |
|                     prefix="net/java/sip/communicator/plugin/facebookaccregwizz" />
 | |
|         </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-ZEROCONF -->
 | |
|     <target name="bundle-zeroconf">
 | |
|         <!-- Creates a bundle containing the Zeroconf impl of the protocol provider.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/protocol-zeroconf.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/impl/protocol/zeroconf/zeroconf.provider.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/zeroconf"
 | |
|                 prefix="net/java/sip/communicator/impl/protocol/zeroconf"/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-PLUGIN-ZEROCONFACCREGWIZZ -->
 | |
|     <target name="bundle-plugin-zeroconfaccregwizz">
 | |
|         <!-- Creates a bundle for the plugin Zeroconf Account Registration Wizard.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/zeroconfaccregwizz.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/zeroconfaccregwizz/zeroconfaccregwizz.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/zeroconfaccregwizz"
 | |
|                 prefix="net/java/sip/communicator/plugin/zeroconfaccregwizz"/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-IRC -->
 | |
|     <target name="bundle-irc" depends="bundle-irc-api">
 | |
|         <!-- 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-API -->
 | |
|     <target name="bundle-irc-api" depends="bundle-slf4j">
 | |
|         <copy file="${lib.noinst}/irc-api-1.0.jar" tofile="${bundles.dest}/irc-api-1.0.jar"/>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE SLF4J -->
 | |
|     <target name="bundle-slf4j">
 | |
|         <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"/>
 | |
|     </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-COMMONS-CODEC -->
 | |
|     <target name="bundle-commons-codec">
 | |
|         <copy file="${lib.noinst}/commons-codec-1.4.jar"
 | |
|             tofile="${bundles.dest}/commons-codec.jar"/>
 | |
|     </target>
 | |
| 
 | |
|     <!--BUNDLE-COMMONS-LANG -->
 | |
|     <target name="bundle-commons-lang">
 | |
|         <copy file="${lib.noinst}/commons-lang3-3.1.jar"
 | |
|             tofile="${bundles.dest}/commons-lang.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>
 | |
| 
 | |
|         <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"/>
 | |
|     </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-PLUGIN-WHITEBOARD -->
 | |
|     <target name="bundle-plugin-whiteboard">
 | |
|     <!-- Creates a bundle for the Whiteboard plugin.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/whiteboard.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/whiteboard/whiteboard.manifest.mf">
 | |
|                    <zipfileset dir="${dest}/net/java/sip/communicator/plugin/whiteboard"
 | |
|                        prefix="net/java/sip/communicator/plugin/whiteboard"/>
 | |
|        </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-DICT -->
 | |
|     <target name="bundle-dict">
 | |
|         <jar compress="false" destfile="${bundles.dest}/protocol-dict.jar"
 | |
|              manifest="${src}/net/java/sip/communicator/impl/protocol/dict/dict.provider.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/impl/protocol/dict"
 | |
|                     prefix="net/java/sip/communicator/impl/protocol/dict"/>
 | |
|             <zipfileset src="${lib.noinst}/dict4j.jar" prefix=""/>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!-- BUNDLE-PLUGIN-DICTACCREGWIZZ -->
 | |
|     <target name="bundle-plugin-dictaccregwizz">
 | |
|         <!-- Creates a bundle for the plugin Dict Account Registration
 | |
|              Wizard.-->
 | |
|        <jar compress="false" destfile="${bundles.dest}/dictaccregwizz.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/dictaccregwizz/dictaccregwizz.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/dictaccregwizz"
 | |
|                 prefix="net/java/sip/communicator/plugin/dictaccregwizz"/>
 | |
|         </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-PLUGIN-PROFILER-->
 | |
|    <target name="bundle-plugin-profiler4j">
 | |
|         <jar compress="false" destfile="${bundles.dest}/profiler4j.jar"
 | |
|             manifest="${src}/net/java/sip/communicator/plugin/profiler4j/profiler4j.manifest.mf">
 | |
|             <zipfileset dir="${dest}/net/java/sip/communicator/plugin/profiler4j"
 | |
|                 prefix="net/java/sip/communicator/plugin/profiler4j" />
 | |
|             <zipfileset src="${lib.noinst}/profiler4j-1.0-beta3-SC.jar"
 | |
|                 prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/jdom.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/jcommon-1.0.0.jar" prefix=""/>
 | |
|             <zipfileset src="${lib.noinst}/jfreechart-1.0.1.jar" prefix=""/>
 | |
|             <fileset file="${lib.noinst}/p4j-exclusions.txt"/>
 | |
|         </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-JFontChooser -->
 | |
|     <target name="bundle-jfontchooserlib">
 | |
|         <!-- Creates a bundle containing the jfontchooser lib.-->
 | |
|         <jar compress="false" destfile="${bundles.dest}/jfontchooserlib.jar"
 | |
|             manifest="${lib.noinst}/jfontchooser.manifest.mf">
 | |
|             <zipfileset src="${lib.noinst}/jfontchooser-1.0.5.jar" prefix=""/>
 | |
|         </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-ZRTP4J -->
 | |
|     <target name="bundle-zrtp4j">
 | |
|         <jar compress="true" destfile="${bundles.dest}/zrtp4j.jar"
 | |
|             filesetmanifest="merge">
 | |
| 
 | |
|             <zipfileset src="${lib.noinst}/zrtp4j-light.jar" prefix=""/>
 | |
|             <manifest>
 | |
|                 <attribute name="Export-Package" value="gnu.java.zrtp,
 | |
| gnu.java.zrtp.packets,
 | |
| gnu.java.zrtp.utils,
 | |
| gnu.java.zrtp.zidfile"/>
 | |
|                 <attribute name="Import-Package" value="org.bouncycastle.asn1,
 | |
| org.bouncycastle.asn1.nist,
 | |
| org.bouncycastle.asn1.sec,
 | |
| org.bouncycastle.asn1.x9,
 | |
| org.bouncycastle.crypto,
 | |
| org.bouncycastle.crypto.agreement,
 | |
| org.bouncycastle.crypto.digests,
 | |
| org.bouncycastle.crypto.engines,
 | |
| org.bouncycastle.crypto.generators,
 | |
| org.bouncycastle.crypto.macs,
 | |
| org.bouncycastle.crypto.modes,
 | |
| org.bouncycastle.crypto.params,
 | |
| org.bouncycastle.crypto.prng,
 | |
| org.jitsi.bccontrib.digests,
 | |
| org.jitsi.bccontrib.engines,
 | |
| org.jitsi.bccontrib.macs,
 | |
| org.jitsi.bccontrib.params,
 | |
| org.jitsi.bccontrib.prng,
 | |
| org.bouncycastle.math.ec,
 | |
| org.bouncycastle.util.encoders,
 | |
| org.bouncycastle.util"/>
 | |
|                 <attribute name="Bundle-Name" value="ZRTP4J"/>
 | |
|                 <attribute name="Bundle-Description" value="ZRTP for Java library."/>
 | |
|                 <attribute name="Bundle-Version" value="1.4.5"/>
 | |
|                 <attribute name="Bundle-SymbolicName" value="gnu.java.zrtp4j"/>
 | |
|             </manifest>
 | |
|         </jar>
 | |
|     </target>
 | |
| 
 | |
|     <!--BUNDLE-SDES4J -->
 | |
|     <target name="bundle-sdes4j">
 | |
|         <jar compress="true" destfile="${bundles.dest}/sdes4j.jar"
 | |
|             filesetmanifest="merge">
 | |
| 
 | |
|             <zipfileset src="${lib.noinst}/sdes4j.jar" prefix=""/>
 | |
|             <manifest>
 | |
|                 <attribute name="System-Bundle" value="yes"/>
 | |
|             </manifest>
 | |
|         </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-BOUNCYCASTLE -->
 | |
|     <target name="bundle-bouncycastle">
 | |
|         <copy file="${lib.noinst}/bcprov-jdk15on-151.jar" tofile="${bundles.dest}/bouncycastle.jar"/>
 | |
|         <copy file="${lib.noinst}/bccontrib-1.0-SNAPSHOT.jar" tofile="${bundles.dest}/bccontrib.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-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>
 | |
|         <copy file="${lib.noinst}/jmork-1.0.5-SNAPSHOT.jar" tofile="${bundles.dest}/jmork.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>
 | |
| 
 | |
|     <target name="bundle-systemactivitynotifications">
 | |
|         <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>
 |