aboutsummaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorEmil Ivov <emcho@jitsi.org>2006-12-13 22:46:21 +0000
committerEmil Ivov <emcho@jitsi.org>2006-12-13 22:46:21 +0000
commit30a05992c758b94e35c2e987b45190c00e26998c (patch)
tree8b686340025719ddd798244e9ab81bb80700810e /build.xml
parent79e06d7d5b1e7dda39775ac707c4652f5400842b (diff)
downloadjitsi-30a05992c758b94e35c2e987b45190c00e26998c.zip
jitsi-30a05992c758b94e35c2e987b45190c00e26998c.tar.gz
jitsi-30a05992c758b94e35c2e987b45190c00e26998c.tar.bz2
Committing Romain's contribution - an implementation of a Growl notifier for Mac OS X
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml35
1 files changed, 32 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index d93b26e..8a6e998 100644
--- a/build.xml
+++ b/build.xml
@@ -8,6 +8,9 @@
<property name="jdk.home" value="/usr/java/java"/>
<property name="dest" value="classes"/>
<property name="bundles.dest" value="sc-bundles"/>
+ <property name="bundles.dest.macosx" value="${bundles.dest}/os/macosx"/>
+ <property name="bundles.dest.windows" value="${bundles.dest}/os/windows"/>
+ <property name="bundles.dest.linux" value="${bundles.dest}/os/linux"/>
<property name="doc" value="doc"/>
<property name="java.doc" value="${doc}/api"/>
<property name="lib" value="lib"/>
@@ -120,6 +123,9 @@
<pathelement location="${dest}"/>
<pathelement location="${lib}"/>
+ <!-- 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"/>
@@ -293,6 +299,13 @@
<mkdir dir="${doc}"/>
<mkdir dir="${java.doc}"/>
<mkdir dir="${bundles.dest}"/>
+
+ <!-- create dirs for os specific bundles -->
+ <mkdir dir="${bundles.dest}/os"/>
+ <mkdir dir="${bundles.dest.macosx}"/>
+ <mkdir dir="${bundles.dest.linux}"/>
+ <mkdir dir="${bundles.dest.windows}"/>
+
<mkdir dir="${test.reports.dir}"/>
<mkdir dir="${test.reports.dir}/html"/>
<mkdir dir="${release}"/>
@@ -335,6 +348,7 @@
infostring="SIP Communicator"
bundleid="org.sip-communicator"
stubfile="${macosx.stubfile}"
+ extraclasspath="/System/Library/Java"
workingdirectory="$APP_PACKAGE/Contents/Resources/Java">
<javaproperty name="apple.laf.useScreenMenuBar" value="true"/>
@@ -353,14 +367,18 @@
<include name="${lib}/felix.jar" />
<include name="${lib}/BrowserLauncher2.jar" />
<include name="${lib}/servicebinder.jar" />
+ <include name="${lib}/growl.jar" />
<include name="${lib}/bundle/*.jar" />
<exclude name="${lib}/bundle/junit.jar" />
<include name="${jmf.home}/*.jar" />
<include name="${bundles.dest}/*.jar" />
+ <include name="${bundles.dest.macosx}/*.jar" />
<exclude name="${bundles.dest}/*-slick.jar" />
</jarfileset>
- <javafilelist dir="${lib}"
- files="logging.properties, felix.client.run.properties"/>
+ <javafilelist dir="${lib}" files="logging.properties"/>
+ <javafilelist dir="resources/install/macosx"
+ files="felix.client.run.properties"/>
+
</jarbundler>
</target>
@@ -650,7 +668,8 @@
bundle-contactlist,meta-contactlist,meta-contactlist-slick,
bundle-plugin-icqaccregwizz,bundle-plugin-jabberaccregwizz,
bundle-plugin-msnaccregwizz,bundle-plugin-sipaccregwizz,
- bundle-version,bundle-version-impl,bundle-shutdown"/>
+ bundle-version,bundle-version-impl,bundle-shutdown,
+ bundle-growlnotification"/>
<!--BUNDLE-HISTORY-->
<target name="bundle-history">
@@ -1116,4 +1135,14 @@ javax.swing.event, javax.swing.border"/>
prefix="net/java/sip/communicator/impl/shutdown"/>
</jar>
</target>
+
+ <!--BUNDLE-GROWLNOTIFICATION-->
+ <target name="bundle-growlnotification">
+ <!-- Creates a bundle for the growlnotification plugin.-->
+ <jar compress="false" destfile="${bundles.dest.macosx}/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>
</project>